2025-12-19 17:26:51,406 - INFO - Domain Default found not creating 2025-12-19 17:26:51,633 - INFO - Project ctest-TestBasicPolicy-14498835 not found, creating it 2025-12-19 17:26:52,113 - INFO - Created Project:ctest-TestBasicPolicy-14498835, ID : 09fc8a73-ee85-496b-9f52-c48550e30e74 2025-12-19 17:26:54,293 - INFO - ================================================================================ 2025-12-19 17:26:54,293 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-19 17:26:54,293 - 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-12-19 17:26:54,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-19 17:26:54,566 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:26:54,566 - INFO - 2025-12-19 17:26:55,187 - DEBUG - Response for create_network : {'network': {'id': '13542187-91e5-4d4b-8f0a-876c88b03bf6', 'name': 'ctest-vn-09881156', 'tenant_id': '09fc8a73ee85496b9f52c48550e30e74', 'project_id': '09fc8a73ee85496b9f52c48550e30e74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14498835', 'ctest-vn-09881156'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:26:55,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c1cb55f-e201-4afa-b2b7-2010ac72018b', 'name': '', 'tenant_id': '09fc8a73ee85496b9f52c48550e30e74', 'network_id': '13542187-91e5-4d4b-8f0a-876c88b03bf6', 'ip_version': 4, 'cidr': '92.211.56.192/26', 'allocation_pools': [{'start': '92.211.56.194', 'end': '92.211.56.254'}], 'gateway_ip': '92.211.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.211.56.194', 'tags': [], 'project_id': '09fc8a73ee85496b9f52c48550e30e74'}} 2025-12-19 17:26:55,371 - INFO - Created VN ctest-vn-09881156 2025-12-19 17:26:55,425 - DEBUG - VN ctest-vn-09881156 UUID is 13542187-91e5-4d4b-8f0a-876c88b03bf6 2025-12-19 17:26:55,749 - DEBUG - Response for create_network : {'network': {'id': '9726cb6f-7b3c-4f92-8f44-a41e33032418', 'name': 'ctest-vn-94041164', 'tenant_id': '09fc8a73ee85496b9f52c48550e30e74', 'project_id': '09fc8a73ee85496b9f52c48550e30e74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14498835', 'ctest-vn-94041164'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:26:55,950 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f229297b-4dd7-4297-a1fa-e67b3083aa2f', 'name': '', 'tenant_id': '09fc8a73ee85496b9f52c48550e30e74', 'network_id': '9726cb6f-7b3c-4f92-8f44-a41e33032418', 'ip_version': 4, 'cidr': '28.222.182.0/26', 'allocation_pools': [{'start': '28.222.182.2', 'end': '28.222.182.62'}], 'gateway_ip': '28.222.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.222.182.2', 'tags': [], 'project_id': '09fc8a73ee85496b9f52c48550e30e74'}} 2025-12-19 17:26:55,970 - INFO - Created VN ctest-vn-94041164 2025-12-19 17:26:56,024 - DEBUG - VN ctest-vn-94041164 UUID is 9726cb6f-7b3c-4f92-8f44-a41e33032418 2025-12-19 17:26:56,152 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-09881156, 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-14498835:ctest-vn-94041164, 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-12-19 17:26:56,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13542187-91e5-4d4b-8f0a-876c88b03bf6', 'name': 'ctest-vn-09881156', 'tenant_id': '09fc8a73ee85496b9f52c48550e30e74', 'project_id': '09fc8a73ee85496b9f52c48550e30e74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c1cb55f-e201-4afa-b2b7-2010ac72018b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14498835', 'ctest-vn-09881156'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14498835', 'ctest-policy-allow-all-56861254']], 'subnet_ipam': [{'subnet_cidr': '92.211.56.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:26:56,754 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9726cb6f-7b3c-4f92-8f44-a41e33032418', 'name': 'ctest-vn-94041164', 'tenant_id': '09fc8a73ee85496b9f52c48550e30e74', 'project_id': '09fc8a73ee85496b9f52c48550e30e74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f229297b-4dd7-4297-a1fa-e67b3083aa2f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14498835', 'ctest-vn-94041164'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14498835', 'ctest-policy-allow-all-56861254']], 'subnet_ipam': [{'subnet_cidr': '28.222.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:26:56,929 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-19 17:26:57,228 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-19 17:26:57,264 - DEBUG - Requesting: http://10.0.0.22:8082/domain/913f5c00-6bd8-4d9d-83c0-669132c3e27f 2025-12-19 17:26:57,280 - DEBUG - Requesting: http://10.0.0.22:8082/project/09fc8a73-ee85-496b-9f52-c48550e30e74 2025-12-19 17:26:57,354 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13542187-91e5-4d4b-8f0a-876c88b03bf6 2025-12-19 17:26:57,366 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13542187-91e5-4d4b-8f0a-876c88b03bf6 2025-12-19 17:26:57,377 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6b37ae88-cca0-4ba3-96bd-87ff14a8fc67 2025-12-19 17:26:57,385 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6b37ae88-cca0-4ba3-96bd-87ff14a8fc67 2025-12-19 17:26:57,394 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3db141e9-8453-438b-acef-bca1e2f7dea0 2025-12-19 17:26:57,402 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-19 17:26:57,402 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13542187-91e5-4d4b-8f0a-876c88b03bf6 2025-12-19 17:26:57,412 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6b37ae88-cca0-4ba3-96bd-87ff14a8fc67 2025-12-19 17:26:57,430 - INFO - Verified VN network id 12 for VN 13542187-91e5-4d4b-8f0a-876c88b03bf6 2025-12-19 17:26:57,430 - INFO - Verifications in API Server for VN ctest-vn-09881156 passed 2025-12-19 17:26:57,430 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13542187-91e5-4d4b-8f0a-876c88b03bf6 2025-12-19 17:26:57,441 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6b37ae88-cca0-4ba3-96bd-87ff14a8fc67 2025-12-19 17:26:57,451 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6b37ae88-cca0-4ba3-96bd-87ff14a8fc67 2025-12-19 17:26:57,459 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3db141e9-8453-438b-acef-bca1e2f7dea0 2025-12-19 17:26:57,474 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-09881156', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14498835', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1392775050916351307', 'uuid-lslong': '10307199597410270198'}, 'enable': 'true', 'created': '2025-12-19T17:26:55', 'last-modified': '2025-12-19T17:26:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.998788'} 2025-12-19 17:26:57,481 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-19 17:26:57,481 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09881156 passed 2025-12-19 17:26:57,481 - DEBUG - ====Verifying policy data for ctest-vn-09881156 in API_Server ====== 2025-12-19 17:26:57,481 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-19 17:26:57,487 - DEBUG - Requesting: http://10.0.0.22:8082/domain/913f5c00-6bd8-4d9d-83c0-669132c3e27f 2025-12-19 17:26:57,505 - DEBUG - Requesting: http://10.0.0.22:8082/project/09fc8a73-ee85-496b-9f52-c48550e30e74 2025-12-19 17:26:57,589 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/13542187-91e5-4d4b-8f0a-876c88b03bf6 2025-12-19 17:26:57,599 - DEBUG - ==>Verifying data for policy with id: 36a1bbb0-87f0-4822-ad58-454695a468c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-14498835', 'ctest-policy-allow-all-56861254'] 2025-12-19 17:26:57,599 - INFO - VN ctest-vn-09881156 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-19 17:26:57,599 - DEBUG - Verifying the vn in opserver 2025-12-19 17:26:57,599 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-09881156 virtual network link through opserver 10.0.0.22 2025-12-19 17:26:57,599 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-19 17:26:57,910 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-19 17:26:57,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-09881156', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-09881156?flat'} 2025-12-19 17:26:57,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-09881156 is found in opserver 2025-12-19 17:26:57,996 - DEBUG - Do not have enough data to verify VN in agent 2025-12-19 17:26:58,001 - DEBUG - VRF ids for VN ctest-vn-09881156: {} 2025-12-19 17:26:58,002 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-19 17:26:58,009 - DEBUG - Requesting: http://10.0.0.22:8082/domain/913f5c00-6bd8-4d9d-83c0-669132c3e27f 2025-12-19 17:26:58,025 - DEBUG - Requesting: http://10.0.0.22:8082/project/09fc8a73-ee85-496b-9f52-c48550e30e74 2025-12-19 17:26:58,101 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9726cb6f-7b3c-4f92-8f44-a41e33032418 2025-12-19 17:26:58,114 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9726cb6f-7b3c-4f92-8f44-a41e33032418 2025-12-19 17:26:58,124 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a92b0cc-c247-41aa-af2c-a502685e40fc 2025-12-19 17:26:58,133 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a92b0cc-c247-41aa-af2c-a502685e40fc 2025-12-19 17:26:58,142 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/426f21d6-a02c-4656-ba59-998eb9e1ce9f 2025-12-19 17:26:58,151 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-19 17:26:58,151 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9726cb6f-7b3c-4f92-8f44-a41e33032418 2025-12-19 17:26:58,162 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a92b0cc-c247-41aa-af2c-a502685e40fc 2025-12-19 17:26:58,180 - INFO - Verified VN network id 13 for VN 9726cb6f-7b3c-4f92-8f44-a41e33032418 2025-12-19 17:26:58,180 - INFO - Verifications in API Server for VN ctest-vn-94041164 passed 2025-12-19 17:26:58,180 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9726cb6f-7b3c-4f92-8f44-a41e33032418 2025-12-19 17:26:58,191 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a92b0cc-c247-41aa-af2c-a502685e40fc 2025-12-19 17:26:58,201 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a92b0cc-c247-41aa-af2c-a502685e40fc 2025-12-19 17:26:58,210 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/426f21d6-a02c-4656-ba59-998eb9e1ce9f 2025-12-19 17:26:58,225 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-94041164', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14498835', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10891616428511481746', 'uuid-lslong': '10323556695451837464'}, 'enable': 'true', 'created': '2025-12-19T17:26:55', 'last-modified': '2025-12-19T17:26:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.507696'} 2025-12-19 17:26:58,233 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-19 17:26:58,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94041164 passed 2025-12-19 17:26:58,233 - DEBUG - ====Verifying policy data for ctest-vn-94041164 in API_Server ====== 2025-12-19 17:26:58,234 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-19 17:26:58,241 - DEBUG - Requesting: http://10.0.0.22:8082/domain/913f5c00-6bd8-4d9d-83c0-669132c3e27f 2025-12-19 17:26:58,255 - DEBUG - Requesting: http://10.0.0.22:8082/project/09fc8a73-ee85-496b-9f52-c48550e30e74 2025-12-19 17:26:58,332 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9726cb6f-7b3c-4f92-8f44-a41e33032418 2025-12-19 17:26:58,342 - DEBUG - ==>Verifying data for policy with id: 36a1bbb0-87f0-4822-ad58-454695a468c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-14498835', 'ctest-policy-allow-all-56861254'] 2025-12-19 17:26:58,342 - INFO - VN ctest-vn-94041164 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-19 17:26:58,342 - DEBUG - Verifying the vn in opserver 2025-12-19 17:26:58,342 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-94041164 virtual network link through opserver 10.0.0.22 2025-12-19 17:26:58,342 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-19 17:26:58,354 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-94041164', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-94041164?flat'} 2025-12-19 17:26:58,354 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-94041164 is found in opserver 2025-12-19 17:26:58,366 - DEBUG - Do not have enough data to verify VN in agent 2025-12-19 17:26:58,372 - DEBUG - VRF ids for VN ctest-vn-94041164: {} 2025-12-19 17:26:58,441 - DEBUG - Services list from nova: [, , ] 2025-12-19 17:26:59,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4912-1) 2025-12-19 17:27:00,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4912-1) 2025-12-19 17:27:00,823 - INFO - Waiting for VM ctest-TestBasicPolicy-14498835-36594513 to be up.. 2025-12-19 17:27:00,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 17:27:06,024 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:27:06,024 - INFO - VM name : ctest-TestBasicPolicy-14498835-36594513 2025-12-19 17:27:06,117 - DEBUG - VM ctest-TestBasicPolicy-14498835-36594513 ID is eae76352-8444-4f72-82b4-b669cee0d184 2025-12-19 17:27:06,141 - DEBUG - VM ctest-TestBasicPolicy-14498835-36594513 launched on Node cn-jenkins-deploy-platform-ansible-os-4912-1 2025-12-19 17:27:06,236 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eae76352-8444-4f72-82b4-b669cee0d184 2025-12-19 17:27:06,247 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ae77bf1a-6c1d-4c9e-a170-b1a9036a9da2 2025-12-19 17:27:09,513 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2025-12-19 17:27:09,513 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14498835-36594513 failed! 2025-12-19 17:27:09,573 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14498835:ctest-vn-09881156 is 92.211.56.193 and allocation pool is NOT set 2025-12-19 17:27:11,637 - 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=17.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.75 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.746/9.899/17.053/7.153 ms') 2025-12-19 17:27:11,637 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14498835-36594513 passed 2025-12-19 17:27:11,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:27:11,801 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14498835-36594513, IP 92.211.56.195, Port 22 2025-12-19 17:27:11,871 - 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-12-19 17:27:11,968 - DEBUG - VM ctest-TestBasicPolicy-14498835-36594513 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-19 17:27:16,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:27:16,969 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14498835-36594513, IP 92.211.56.195, Port 22 2025-12-19 17:27:17,128 - DEBUG - VM ctest-TestBasicPolicy-14498835-36594513 is ready for SSH connections 2025-12-19 17:27:17,129 - INFO - Waiting for VM ctest-TestBasicPolicy-14498835-96141158 to be up.. 2025-12-19 17:27:17,233 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:27:17,234 - INFO - VM name : ctest-TestBasicPolicy-14498835-96141158 2025-12-19 17:27:17,328 - DEBUG - VM ctest-TestBasicPolicy-14498835-96141158 ID is 2e55dd7a-a16a-45ba-ab64-5e488f926dd3 2025-12-19 17:27:17,329 - DEBUG - VM ctest-TestBasicPolicy-14498835-96141158 launched on Node cn-jenkins-deploy-platform-ansible-os-4912-1 2025-12-19 17:27:17,418 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2e55dd7a-a16a-45ba-ab64-5e488f926dd3 2025-12-19 17:27:17,427 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/eaba490e-3916-4982-8a1a-8b20eaaa2ae1 2025-12-19 17:27:18,667 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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.553/1.925/3.297/1.372 ms') 2025-12-19 17:27:18,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14498835-96141158 passed 2025-12-19 17:27:18,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:27:18,821 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14498835-96141158, IP 28.222.182.3, Port 22 2025-12-19 17:27:18,992 - DEBUG - VM ctest-TestBasicPolicy-14498835-96141158 is ready for SSH connections 2025-12-19 17:27:18,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:27:18,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.222.182.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-19 17:27:18,992 - DEBUG - ping -s 56 -c 3 -W 1 28.222.182.3 2025-12-19 17:27:23,134 - DEBUG - PING 28.222.182.3 (28.222.182.3): 56 data bytes 64 bytes from 28.222.182.3: seq=0 ttl=63 time=3.691 ms 64 bytes from 28.222.182.3: seq=1 ttl=63 time=1.122 ms 64 bytes from 28.222.182.3: seq=2 ttl=63 time=1.006 ms --- 28.222.182.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.006/1.939/3.691 ms 2025-12-19 17:27:23,134 - INFO - Ping to IP 28.222.182.3 from VM ctest-TestBasicPolicy-14498835-36594513 passed 2025-12-19 17:27:23,324 - DEBUG - Policy Update Response {"network-policy": {"uuid": "36a1bbb0-87f0-4822-ad58-454695a468c3", "href": "http://10.0.0.22:8082/network-policy/36a1bbb0-87f0-4822-ad58-454695a468c3"}} 2025-12-19 17:27:23,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:27:23,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.222.182.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-19 17:27:23,325 - DEBUG - ping -s 56 -c 3 -W 1 28.222.182.3 2025-12-19 17:27:26,546 - DEBUG - PING 28.222.182.3 (28.222.182.3): 56 data bytes --- 28.222.182.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-19 17:27:26,546 - WARNING - Ping to IP 28.222.182.3 from VM ctest-TestBasicPolicy-14498835-36594513 failed 2025-12-19 17:27:26,546 - INFO - Deleting VM ctest-TestBasicPolicy-14498835-96141158 2025-12-19 17:27:26,631 - INFO - Deleting VM ctest-TestBasicPolicy-14498835-36594513 2025-12-19 17:27:27,115 - INFO - Deleted policy ctest-policy-allow-all-56861254 2025-12-19 17:27:27,115 - INFO - Deleting VN ctest-vn-94041164 2025-12-19 17:27:27,161 - DEBUG - VN 9726cb6f-7b3c-4f92-8f44-a41e33032418 still in use: Unable to complete operation on network 9726cb6f-7b3c-4f92-8f44-a41e33032418. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d84b87d-2838-4c5e-a241-e0ef30f3a121'] 2025-12-19 17:27:27,162 - WARNING - Deleting VN ctest-vn-94041164 failed..Will retry 2025-12-19 17:27:29,285 - DEBUG - Response for deleting network () 2025-12-19 17:27:29,285 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a92b0cc-c247-41aa-af2c-a502685e40fc 2025-12-19 17:27:29,292 - DEBUG - Response Code: 404 2025-12-19 17:27:29,292 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-19 17:27:29,303 - DEBUG - Requesting: http://10.0.0.22:8082/domain/913f5c00-6bd8-4d9d-83c0-669132c3e27f 2025-12-19 17:27:29,358 - DEBUG - Requesting: http://10.0.0.22:8082/project/09fc8a73-ee85-496b-9f52-c48550e30e74 2025-12-19 17:27:29,435 - INFO - Validated that VN ctest-vn-94041164 is not found in API Server 2025-12-19 17:27:29,447 - DEBUG - VN ctest-vn-94041164 is not present in Agent 10.0.0.22 2025-12-19 17:27:29,448 - INFO - Validated that VN ctest-vn-94041164 is not in any agent 2025-12-19 17:27:29,464 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94041164 info 2025-12-19 17:27:29,465 - INFO - Deleting VN ctest-vn-09881156 2025-12-19 17:27:29,582 - DEBUG - Response for deleting network () 2025-12-19 17:27:29,582 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6b37ae88-cca0-4ba3-96bd-87ff14a8fc67 2025-12-19 17:27:29,592 - DEBUG - Response Code: 404 2025-12-19 17:27:29,592 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-19 17:27:29,598 - DEBUG - Requesting: http://10.0.0.22:8082/domain/913f5c00-6bd8-4d9d-83c0-669132c3e27f 2025-12-19 17:27:29,655 - DEBUG - Requesting: http://10.0.0.22:8082/project/09fc8a73-ee85-496b-9f52-c48550e30e74 2025-12-19 17:27:29,733 - INFO - Validated that VN ctest-vn-09881156 is not found in API Server 2025-12-19 17:27:29,747 - DEBUG - VN ctest-vn-09881156 is not present in Agent 10.0.0.22 2025-12-19 17:27:29,747 - INFO - Validated that VN ctest-vn-09881156 is not in any agent 2025-12-19 17:27:29,763 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09881156 info 2025-12-19 17:27:30,029 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 17:27:30,029 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-12-19 17:27:30,029 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:27:30,774 - INFO - Deleted project: ctest-TestBasicPolicy-14498835, ID : 09fc8a73-ee85-496b-9f52-c48550e30e74