2025-10-13 13:02:37,685 - INFO - Domain Default found not creating 2025-10-13 13:02:37,869 - INFO - Project ctest-TestBasicPolicy-16442004 not found, creating it 2025-10-13 13:02:38,336 - INFO - Created Project:ctest-TestBasicPolicy-16442004, ID : 2823169b-3dac-4473-90a2-ef07a4dfb6e2 2025-10-13 13:02:40,045 - INFO - ================================================================================ 2025-10-13 13:02:40,045 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 13:02:40,045 - 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-13 13:02:40,321 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.192': '0'}} with 2025-10-13 13:02:40,321 - INFO - Initial checks done. Running the testcase now 2025-10-13 13:02:40,321 - INFO - 2025-10-13 13:02:40,952 - DEBUG - Response for create_network : {'network': {'id': 'ab7ca442-5f11-46cf-b57e-4030472eca23', 'name': 'ctest-vn-40252317', 'tenant_id': '2823169b3dac447390a2ef07a4dfb6e2', 'project_id': '2823169b3dac447390a2ef07a4dfb6e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16442004', 'ctest-vn-40252317'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 13:02:41,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '21004ed6-7fd3-4d0c-8934-b6fe55932808', 'name': '', 'tenant_id': '2823169b3dac447390a2ef07a4dfb6e2', 'network_id': 'ab7ca442-5f11-46cf-b57e-4030472eca23', 'ip_version': 4, 'cidr': '51.197.134.0/26', 'allocation_pools': [{'start': '51.197.134.2', 'end': '51.197.134.62'}], 'gateway_ip': '51.197.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.197.134.2', 'tags': [], 'project_id': '2823169b3dac447390a2ef07a4dfb6e2'}} 2025-10-13 13:02:41,174 - INFO - Created VN ctest-vn-40252317 2025-10-13 13:02:41,232 - DEBUG - VN ctest-vn-40252317 UUID is ab7ca442-5f11-46cf-b57e-4030472eca23 2025-10-13 13:02:41,560 - DEBUG - Response for create_network : {'network': {'id': '2b7b6e46-81a8-4661-8a39-26823e9446f1', 'name': 'ctest-vn-12704557', 'tenant_id': '2823169b3dac447390a2ef07a4dfb6e2', 'project_id': '2823169b3dac447390a2ef07a4dfb6e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16442004', 'ctest-vn-12704557'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 13:02:41,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f04a859-319e-4624-9922-beb1ac6a0a48', 'name': '', 'tenant_id': '2823169b3dac447390a2ef07a4dfb6e2', 'network_id': '2b7b6e46-81a8-4661-8a39-26823e9446f1', 'ip_version': 4, 'cidr': '92.244.78.128/26', 'allocation_pools': [{'start': '92.244.78.130', 'end': '92.244.78.190'}], 'gateway_ip': '92.244.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.244.78.130', 'tags': [], 'project_id': '2823169b3dac447390a2ef07a4dfb6e2'}} 2025-10-13 13:02:41,792 - INFO - Created VN ctest-vn-12704557 2025-10-13 13:02:41,848 - DEBUG - VN ctest-vn-12704557 UUID is 2b7b6e46-81a8-4661-8a39-26823e9446f1 2025-10-13 13:02:41,971 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-40252317, 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-16442004:ctest-vn-12704557, 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-13 13:02:42,286 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab7ca442-5f11-46cf-b57e-4030472eca23', 'name': 'ctest-vn-40252317', 'tenant_id': '2823169b3dac447390a2ef07a4dfb6e2', 'project_id': '2823169b3dac447390a2ef07a4dfb6e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['21004ed6-7fd3-4d0c-8934-b6fe55932808'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16442004', 'ctest-vn-40252317'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16442004', 'ctest-policy-allow-all-71325803']], 'subnet_ipam': [{'subnet_cidr': '51.197.134.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 13:02:42,536 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b7b6e46-81a8-4661-8a39-26823e9446f1', 'name': 'ctest-vn-12704557', 'tenant_id': '2823169b3dac447390a2ef07a4dfb6e2', 'project_id': '2823169b3dac447390a2ef07a4dfb6e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f04a859-319e-4624-9922-beb1ac6a0a48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16442004', 'ctest-vn-12704557'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16442004', 'ctest-policy-allow-all-71325803']], 'subnet_ipam': [{'subnet_cidr': '92.244.78.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 13:02:42,684 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-13 13:02:43,034 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-13 13:02:43,068 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c8632d8b-e5be-4178-a615-2469af6995f4 2025-10-13 13:02:43,081 - DEBUG - Requesting: http://10.0.0.241:8082/project/2823169b-3dac-4473-90a2-ef07a4dfb6e2 2025-10-13 13:02:43,158 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ab7ca442-5f11-46cf-b57e-4030472eca23 2025-10-13 13:02:43,171 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ab7ca442-5f11-46cf-b57e-4030472eca23 2025-10-13 13:02:43,182 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/8cce4be2-964a-4da7-a483-6faed3f9df1a 2025-10-13 13:02:43,190 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/8cce4be2-964a-4da7-a483-6faed3f9df1a 2025-10-13 13:02:43,197 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/11b954e4-e7a2-4fb3-9986-1a15eed9c27e 2025-10-13 13:02:43,204 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 13:02:43,204 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ab7ca442-5f11-46cf-b57e-4030472eca23 2025-10-13 13:02:43,214 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/8cce4be2-964a-4da7-a483-6faed3f9df1a 2025-10-13 13:02:43,230 - INFO - Verified VN network id 10 for VN ab7ca442-5f11-46cf-b57e-4030472eca23 2025-10-13 13:02:43,230 - INFO - Verifications in API Server for VN ctest-vn-40252317 passed 2025-10-13 13:02:43,230 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ab7ca442-5f11-46cf-b57e-4030472eca23 2025-10-13 13:02:43,241 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/8cce4be2-964a-4da7-a483-6faed3f9df1a 2025-10-13 13:02:43,248 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/8cce4be2-964a-4da7-a483-6faed3f9df1a 2025-10-13 13:02:43,256 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/11b954e4-e7a2-4fb3-9986-1a15eed9c27e 2025-10-13 13:02:43,267 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-40252317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16442004', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12356932082567562959', 'uuid-lslong': '13077960944027355683'}, 'enable': 'true', 'created': '2025-10-13T13:02:40', 'last-modified': '2025-10-13T13:02:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017972'} 2025-10-13 13:02:43,274 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 13:02:43,274 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40252317 passed 2025-10-13 13:02:43,274 - DEBUG - ====Verifying policy data for ctest-vn-40252317 in API_Server ====== 2025-10-13 13:02:43,274 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-13 13:02:43,279 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c8632d8b-e5be-4178-a615-2469af6995f4 2025-10-13 13:02:43,291 - DEBUG - Requesting: http://10.0.0.241:8082/project/2823169b-3dac-4473-90a2-ef07a4dfb6e2 2025-10-13 13:02:43,371 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ab7ca442-5f11-46cf-b57e-4030472eca23 2025-10-13 13:02:43,382 - DEBUG - ==>Verifying data for policy with id: 51845a9a-4fc8-43db-a9f1-7311d110eef9, fqn: ['default-domain', 'ctest-TestBasicPolicy-16442004', 'ctest-policy-allow-all-71325803'] 2025-10-13 13:02:43,382 - INFO - VN ctest-vn-40252317 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 13:02:43,382 - DEBUG - Verifying the vn in opserver 2025-10-13 13:02:43,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-40252317 virtual network link through opserver 10.0.0.241 2025-10-13 13:02:43,382 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-13 13:02:43,717 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-13 13:02:43,779 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-40252317', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-40252317?flat'} 2025-10-13 13:02:43,780 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-40252317 is found in opserver 2025-10-13 13:02:43,791 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 13:02:43,798 - DEBUG - VRF ids for VN ctest-vn-40252317: {} 2025-10-13 13:02:43,798 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-13 13:02:43,804 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c8632d8b-e5be-4178-a615-2469af6995f4 2025-10-13 13:02:43,816 - DEBUG - Requesting: http://10.0.0.241:8082/project/2823169b-3dac-4473-90a2-ef07a4dfb6e2 2025-10-13 13:02:43,887 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2b7b6e46-81a8-4661-8a39-26823e9446f1 2025-10-13 13:02:43,899 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2b7b6e46-81a8-4661-8a39-26823e9446f1 2025-10-13 13:02:43,908 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/bf995fff-e83b-4606-bf48-109d3b67d36b 2025-10-13 13:02:43,916 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/bf995fff-e83b-4606-bf48-109d3b67d36b 2025-10-13 13:02:43,923 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/65c4b7ab-9e1a-439f-92e5-49a5e3b90c98 2025-10-13 13:02:43,930 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 13:02:43,930 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2b7b6e46-81a8-4661-8a39-26823e9446f1 2025-10-13 13:02:43,939 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/bf995fff-e83b-4606-bf48-109d3b67d36b 2025-10-13 13:02:43,954 - INFO - Verified VN network id 11 for VN 2b7b6e46-81a8-4661-8a39-26823e9446f1 2025-10-13 13:02:43,954 - INFO - Verifications in API Server for VN ctest-vn-12704557 passed 2025-10-13 13:02:43,954 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2b7b6e46-81a8-4661-8a39-26823e9446f1 2025-10-13 13:02:43,964 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/bf995fff-e83b-4606-bf48-109d3b67d36b 2025-10-13 13:02:43,971 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/bf995fff-e83b-4606-bf48-109d3b67d36b 2025-10-13 13:02:43,978 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/65c4b7ab-9e1a-439f-92e5-49a5e3b90c98 2025-10-13 13:02:43,989 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-12704557', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16442004', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3133219214868366945', 'uuid-lslong': '9960034391744071409'}, 'enable': 'true', 'created': '2025-10-13T13:02:41', 'last-modified': '2025-10-13T13:02:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.486407'} 2025-10-13 13:02:43,996 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 13:02:43,996 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12704557 passed 2025-10-13 13:02:43,996 - DEBUG - ====Verifying policy data for ctest-vn-12704557 in API_Server ====== 2025-10-13 13:02:43,996 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-13 13:02:44,002 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c8632d8b-e5be-4178-a615-2469af6995f4 2025-10-13 13:02:44,013 - DEBUG - Requesting: http://10.0.0.241:8082/project/2823169b-3dac-4473-90a2-ef07a4dfb6e2 2025-10-13 13:02:44,083 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2b7b6e46-81a8-4661-8a39-26823e9446f1 2025-10-13 13:02:44,093 - DEBUG - ==>Verifying data for policy with id: 51845a9a-4fc8-43db-a9f1-7311d110eef9, fqn: ['default-domain', 'ctest-TestBasicPolicy-16442004', 'ctest-policy-allow-all-71325803'] 2025-10-13 13:02:44,093 - INFO - VN ctest-vn-12704557 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 13:02:44,093 - DEBUG - Verifying the vn in opserver 2025-10-13 13:02:44,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-12704557 virtual network link through opserver 10.0.0.241 2025-10-13 13:02:44,093 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-13 13:02:44,104 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-12704557', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-12704557?flat'} 2025-10-13 13:02:44,104 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-12704557 is found in opserver 2025-10-13 13:02:44,114 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 13:02:44,119 - DEBUG - VRF ids for VN ctest-vn-12704557: {} 2025-10-13 13:02:44,191 - DEBUG - Services list from nova: [, , ] 2025-10-13 13:02:45,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4303-1) 2025-10-13 13:02:46,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4303-1) 2025-10-13 13:02:46,662 - INFO - Waiting for VM ctest-TestBasicPolicy-16442004-40092110 to be up.. 2025-10-13 13:02:46,758 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 13:02:51,859 - DEBUG - VM is in ACTIVE state now 2025-10-13 13:02:51,859 - INFO - VM name : ctest-TestBasicPolicy-16442004-40092110 2025-10-13 13:02:51,958 - DEBUG - VM ctest-TestBasicPolicy-16442004-40092110 ID is 6fb2e923-68f6-4de3-9030-cdd9462c5c80 2025-10-13 13:02:51,981 - DEBUG - VM ctest-TestBasicPolicy-16442004-40092110 launched on Node cn-jenkins-deploy-platform-ansible-os-4303-1 2025-10-13 13:02:52,069 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6fb2e923-68f6-4de3-9030-cdd9462c5c80 2025-10-13 13:02:52,079 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/18561940-fc4c-4d3d-a9a0-72fdc18c2a7d 2025-10-13 13:02:55,358 - 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 1029ms') 2025-10-13 13:02:55,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16442004-40092110 failed! 2025-10-13 13:02:55,415 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16442004:ctest-vn-40252317 is 51.197.134.1 and allocation pool is NOT set 2025-10-13 13:02:57,481 - 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=12.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 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 = 2.573/7.576/12.580/5.003 ms') 2025-10-13 13:02:57,482 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16442004-40092110 passed 2025-10-13 13:02:57,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:02:57,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16442004-40092110, IP 51.197.134.3, Port 22 2025-10-13 13:02:57,702 - 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-13 13:02:57,793 - DEBUG - VM ctest-TestBasicPolicy-16442004-40092110 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 13:03:02,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:03:02,794 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16442004-40092110, IP 51.197.134.3, Port 22 2025-10-13 13:03:02,964 - DEBUG - VM ctest-TestBasicPolicy-16442004-40092110 is ready for SSH connections 2025-10-13 13:03:02,964 - INFO - Waiting for VM ctest-TestBasicPolicy-16442004-96841535 to be up.. 2025-10-13 13:03:03,051 - DEBUG - VM is in ACTIVE state now 2025-10-13 13:03:03,051 - INFO - VM name : ctest-TestBasicPolicy-16442004-96841535 2025-10-13 13:03:03,133 - DEBUG - VM ctest-TestBasicPolicy-16442004-96841535 ID is a16ee733-4064-43f1-b54f-a16442eae7f9 2025-10-13 13:03:03,133 - DEBUG - VM ctest-TestBasicPolicy-16442004-96841535 launched on Node cn-jenkins-deploy-platform-ansible-os-4303-1 2025-10-13 13:03:03,217 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a16ee733-4064-43f1-b54f-a16442eae7f9 2025-10-13 13:03:03,226 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/6a038073-cc1e-478e-ba70-f93895678d06 2025-10-13 13:03:04,472 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.896/3.367/1.470 ms') 2025-10-13 13:03:04,472 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16442004-96841535 passed 2025-10-13 13:03:04,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:03:04,628 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16442004-96841535, IP 92.244.78.131, Port 22 2025-10-13 13:03:04,794 - DEBUG - VM ctest-TestBasicPolicy-16442004-96841535 is ready for SSH connections 2025-10-13 13:03:04,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:03:04,795 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.244.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-13 13:03:04,795 - DEBUG - ping -s 56 -c 3 -W 1 92.244.78.131 2025-10-13 13:03:08,972 - DEBUG - PING 92.244.78.131 (92.244.78.131): 56 data bytes 64 bytes from 92.244.78.131: seq=0 ttl=63 time=4.146 ms 64 bytes from 92.244.78.131: seq=1 ttl=63 time=0.999 ms 64 bytes from 92.244.78.131: seq=2 ttl=63 time=1.617 ms --- 92.244.78.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.999/2.254/4.146 ms 2025-10-13 13:03:08,972 - INFO - Ping to IP 92.244.78.131 from VM ctest-TestBasicPolicy-16442004-40092110 passed 2025-10-13 13:03:09,151 - DEBUG - Policy Update Response {"network-policy": {"uuid": "51845a9a-4fc8-43db-a9f1-7311d110eef9", "href": "http://10.0.0.241:8082/network-policy/51845a9a-4fc8-43db-a9f1-7311d110eef9"}} 2025-10-13 13:03:09,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:03:09,152 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.244.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-13 13:03:09,152 - DEBUG - ping -s 56 -c 3 -W 1 92.244.78.131 2025-10-13 13:03:12,396 - DEBUG - PING 92.244.78.131 (92.244.78.131): 56 data bytes --- 92.244.78.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 13:03:12,396 - WARNING - Ping to IP 92.244.78.131 from VM ctest-TestBasicPolicy-16442004-40092110 failed 2025-10-13 13:03:12,396 - INFO - Deleting VM ctest-TestBasicPolicy-16442004-96841535 2025-10-13 13:03:12,478 - INFO - Deleting VM ctest-TestBasicPolicy-16442004-40092110 2025-10-13 13:03:12,933 - INFO - Deleted policy ctest-policy-allow-all-71325803 2025-10-13 13:03:12,934 - INFO - Deleting VN ctest-vn-12704557 2025-10-13 13:03:12,982 - DEBUG - VN 2b7b6e46-81a8-4661-8a39-26823e9446f1 still in use: Unable to complete operation on network 2b7b6e46-81a8-4661-8a39-26823e9446f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e707bc2-0394-48d2-ab9f-47707e77957a'] 2025-10-13 13:03:12,983 - WARNING - Deleting VN ctest-vn-12704557 failed..Will retry 2025-10-13 13:03:15,119 - DEBUG - Response for deleting network () 2025-10-13 13:03:15,119 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/bf995fff-e83b-4606-bf48-109d3b67d36b 2025-10-13 13:03:15,130 - DEBUG - Response Code: 404 2025-10-13 13:03:15,130 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-13 13:03:15,136 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c8632d8b-e5be-4178-a615-2469af6995f4 2025-10-13 13:03:15,189 - DEBUG - Requesting: http://10.0.0.241:8082/project/2823169b-3dac-4473-90a2-ef07a4dfb6e2 2025-10-13 13:03:15,266 - INFO - Validated that VN ctest-vn-12704557 is not found in API Server 2025-10-13 13:03:15,277 - DEBUG - VN ctest-vn-12704557 is not present in Agent 10.0.0.241 2025-10-13 13:03:15,277 - INFO - Validated that VN ctest-vn-12704557 is not in any agent 2025-10-13 13:03:15,294 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12704557 info 2025-10-13 13:03:15,295 - INFO - Deleting VN ctest-vn-40252317 2025-10-13 13:03:15,415 - DEBUG - Response for deleting network () 2025-10-13 13:03:15,415 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/8cce4be2-964a-4da7-a483-6faed3f9df1a 2025-10-13 13:03:15,421 - DEBUG - Response Code: 404 2025-10-13 13:03:15,421 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-13 13:03:15,432 - DEBUG - Requesting: http://10.0.0.241:8082/domain/c8632d8b-e5be-4178-a615-2469af6995f4 2025-10-13 13:03:15,485 - DEBUG - Requesting: http://10.0.0.241:8082/project/2823169b-3dac-4473-90a2-ef07a4dfb6e2 2025-10-13 13:03:15,565 - INFO - Validated that VN ctest-vn-40252317 is not found in API Server 2025-10-13 13:03:15,575 - DEBUG - VN ctest-vn-40252317 is not present in Agent 10.0.0.241 2025-10-13 13:03:15,575 - INFO - Validated that VN ctest-vn-40252317 is not in any agent 2025-10-13 13:03:15,596 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40252317 info 2025-10-13 13:03:15,882 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 13:03:15,882 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-13 13:03:15,882 - INFO - -------------------------------------------------------------------------------- 2025-10-13 13:03:16,797 - INFO - Deleted project: ctest-TestBasicPolicy-16442004, ID : 2823169b-3dac-4473-90a2-ef07a4dfb6e2