2025-12-22 02:19:14,294 - INFO - Domain Default found not creating 2025-12-22 02:19:14,472 - INFO - Project ctest-TestBasicPolicy-63547027 not found, creating it 2025-12-22 02:19:14,947 - INFO - Created Project:ctest-TestBasicPolicy-63547027, ID : 5f96f560-cf88-420f-9921-10183f7382e0 2025-12-22 02:19:16,484 - INFO - ================================================================================ 2025-12-22 02:19:16,485 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-22 02:19:16,485 - 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-22 02:19:16,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.242': '0'}} with 2025-12-22 02:19:16,741 - INFO - Initial checks done. Running the testcase now 2025-12-22 02:19:16,741 - INFO - 2025-12-22 02:19:17,321 - DEBUG - Response for create_network : {'network': {'id': 'dfd16e91-c631-45c6-9534-181f0d6fa7bb', 'name': 'ctest-vn-31926062', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'project_id': '5f96f560cf88420f992110183f7382e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-vn-31926062'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:19:17,469 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2570bf4-a358-4e92-af87-3abb67ce0cc7', 'name': '', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'network_id': 'dfd16e91-c631-45c6-9534-181f0d6fa7bb', 'ip_version': 4, 'cidr': '73.1.212.128/26', 'allocation_pools': [{'start': '73.1.212.130', 'end': '73.1.212.190'}], 'gateway_ip': '73.1.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.1.212.130', 'tags': [], 'project_id': '5f96f560cf88420f992110183f7382e0'}} 2025-12-22 02:19:17,487 - INFO - Created VN ctest-vn-31926062 2025-12-22 02:19:17,539 - DEBUG - VN ctest-vn-31926062 UUID is dfd16e91-c631-45c6-9534-181f0d6fa7bb 2025-12-22 02:19:17,825 - DEBUG - Response for create_network : {'network': {'id': '3a1b59a3-f733-488a-b62a-ae433f206ad0', 'name': 'ctest-vn-65389471', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'project_id': '5f96f560cf88420f992110183f7382e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-vn-65389471'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:19:17,990 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b71b7dc6-6be7-4533-9ad1-ff61e59d0686', 'name': '', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'network_id': '3a1b59a3-f733-488a-b62a-ae433f206ad0', 'ip_version': 4, 'cidr': '175.198.33.128/26', 'allocation_pools': [{'start': '175.198.33.130', 'end': '175.198.33.190'}], 'gateway_ip': '175.198.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.198.33.130', 'tags': [], 'project_id': '5f96f560cf88420f992110183f7382e0'}} 2025-12-22 02:19:18,008 - INFO - Created VN ctest-vn-65389471 2025-12-22 02:19:18,059 - DEBUG - VN ctest-vn-65389471 UUID is 3a1b59a3-f733-488a-b62a-ae433f206ad0 2025-12-22 02:19:18,180 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062, 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-63547027:ctest-vn-65389471, 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-22 02:19:18,479 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfd16e91-c631-45c6-9534-181f0d6fa7bb', 'name': 'ctest-vn-31926062', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'project_id': '5f96f560cf88420f992110183f7382e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2570bf4-a358-4e92-af87-3abb67ce0cc7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-vn-31926062'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-policy-allow-all-30733358']], 'subnet_ipam': [{'subnet_cidr': '73.1.212.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:19:18,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a1b59a3-f733-488a-b62a-ae433f206ad0', 'name': 'ctest-vn-65389471', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'project_id': '5f96f560cf88420f992110183f7382e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b71b7dc6-6be7-4533-9ad1-ff61e59d0686'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-vn-65389471'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-policy-allow-all-30733358']], 'subnet_ipam': [{'subnet_cidr': '175.198.33.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:19:18,859 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-22 02:19:19,170 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-22 02:19:19,206 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b 2025-12-22 02:19:19,219 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0 2025-12-22 02:19:19,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb 2025-12-22 02:19:19,304 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb 2025-12-22 02:19:19,314 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397 2025-12-22 02:19:19,322 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397 2025-12-22 02:19:19,329 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7477657d-51f4-4172-ab4d-1a03f66d0284 2025-12-22 02:19:19,335 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 02:19:19,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb 2025-12-22 02:19:19,344 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397 2025-12-22 02:19:19,359 - INFO - Verified VN network id 11 for VN dfd16e91-c631-45c6-9534-181f0d6fa7bb 2025-12-22 02:19:19,359 - INFO - Verifications in API Server for VN ctest-vn-31926062 passed 2025-12-22 02:19:19,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb 2025-12-22 02:19:19,369 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397 2025-12-22 02:19:19,377 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397 2025-12-22 02:19:19,383 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7477657d-51f4-4172-ab4d-1a03f66d0284 2025-12-22 02:19:19,399 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63547027', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16127793312964888006', 'uuid-lslong': '10751244732088690619'}, 'enable': 'true', 'created': '2025-12-22T02:19:17', 'last-modified': '2025-12-22T02:19:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940936'} 2025-12-22 02:19:19,407 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 02:19:19,407 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31926062 passed 2025-12-22 02:19:19,407 - DEBUG - ====Verifying policy data for ctest-vn-31926062 in API_Server ====== 2025-12-22 02:19:19,407 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-22 02:19:19,414 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b 2025-12-22 02:19:19,424 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0 2025-12-22 02:19:19,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb 2025-12-22 02:19:19,508 - DEBUG - ==>Verifying data for policy with id: 33685530-c631-454a-9b6b-01aa22732c8e, fqn: ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-policy-allow-all-30733358'] 2025-12-22 02:19:19,508 - INFO - VN ctest-vn-31926062 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 02:19:19,508 - DEBUG - Verifying the vn in opserver 2025-12-22 02:19:19,508 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062 virtual network link through opserver 10.0.0.38 2025-12-22 02:19:19,508 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-22 02:19:19,827 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-22 02:19:19,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062?flat'} 2025-12-22 02:19:19,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062 is found in opserver 2025-12-22 02:19:19,916 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 02:19:19,920 - DEBUG - VRF ids for VN ctest-vn-31926062: {} 2025-12-22 02:19:19,921 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-22 02:19:19,927 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b 2025-12-22 02:19:19,939 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0 2025-12-22 02:19:20,010 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0 2025-12-22 02:19:20,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0 2025-12-22 02:19:20,034 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff 2025-12-22 02:19:20,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff 2025-12-22 02:19:20,050 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47dec648-ae1f-47bc-848f-791551e183e0 2025-12-22 02:19:20,057 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 02:19:20,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0 2025-12-22 02:19:20,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff 2025-12-22 02:19:20,083 - INFO - Verified VN network id 12 for VN 3a1b59a3-f733-488a-b62a-ae433f206ad0 2025-12-22 02:19:20,084 - INFO - Verifications in API Server for VN ctest-vn-65389471 passed 2025-12-22 02:19:20,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0 2025-12-22 02:19:20,095 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff 2025-12-22 02:19:20,104 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff 2025-12-22 02:19:20,111 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47dec648-ae1f-47bc-848f-791551e183e0 2025-12-22 02:19:20,130 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63547027', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4187038839332882570', 'uuid-lslong': '13126495667769862864'}, 'enable': 'true', 'created': '2025-12-22T02:19:17', 'last-modified': '2025-12-22T02:19:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.440385'} 2025-12-22 02:19:20,136 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 02:19:20,136 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65389471 passed 2025-12-22 02:19:20,136 - DEBUG - ====Verifying policy data for ctest-vn-65389471 in API_Server ====== 2025-12-22 02:19:20,136 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-22 02:19:20,142 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b 2025-12-22 02:19:20,155 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0 2025-12-22 02:19:20,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0 2025-12-22 02:19:20,238 - DEBUG - ==>Verifying data for policy with id: 33685530-c631-454a-9b6b-01aa22732c8e, fqn: ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-policy-allow-all-30733358'] 2025-12-22 02:19:20,238 - INFO - VN ctest-vn-65389471 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 02:19:20,238 - DEBUG - Verifying the vn in opserver 2025-12-22 02:19:20,238 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471 virtual network link through opserver 10.0.0.38 2025-12-22 02:19:20,238 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-22 02:19:20,250 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471?flat'} 2025-12-22 02:19:20,250 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471 is found in opserver 2025-12-22 02:19:20,264 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 02:19:20,270 - DEBUG - VRF ids for VN ctest-vn-65389471: {} 2025-12-22 02:19:20,342 - DEBUG - Services list from nova: [, , ] 2025-12-22 02:19:21,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4915-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4915-1) 2025-12-22 02:19:22,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4915-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4915-1) 2025-12-22 02:19:22,697 - INFO - Waiting for VM ctest-TestBasicPolicy-63547027-49388437 to be up.. 2025-12-22 02:19:22,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 02:19:27,888 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:19:27,889 - INFO - VM name : ctest-TestBasicPolicy-63547027-49388437 2025-12-22 02:19:27,968 - DEBUG - VM ctest-TestBasicPolicy-63547027-49388437 ID is d0326f0b-8cd3-4faa-8468-25f567946a6a 2025-12-22 02:19:27,987 - DEBUG - VM ctest-TestBasicPolicy-63547027-49388437 launched on Node cn-jenkins-deploy-platform-ansible-os-4915-1 2025-12-22 02:19:28,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d0326f0b-8cd3-4faa-8468-25f567946a6a 2025-12-22 02:19:28,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/95ea9615-7f03-4f2f-a187-e116cdb34a97 2025-12-22 02:19:31,339 - 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-12-22 02:19:31,340 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63547027-49388437 failed! 2025-12-22 02:19:31,395 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062 is 73.1.212.129 and allocation pool is NOT set 2025-12-22 02:19:33,455 - 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=7.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.024/5.385/7.747/2.361 ms') 2025-12-22 02:19:33,455 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63547027-49388437 passed 2025-12-22 02:19:33,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:19:33,603 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63547027-49388437, IP 73.1.212.131, Port 22 2025-12-22 02:19:33,669 - 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-22 02:19:33,752 - DEBUG - VM ctest-TestBasicPolicy-63547027-49388437 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-22 02:19:38,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:19:38,753 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63547027-49388437, IP 73.1.212.131, Port 22 2025-12-22 02:19:38,911 - DEBUG - VM ctest-TestBasicPolicy-63547027-49388437 is ready for SSH connections 2025-12-22 02:19:38,911 - INFO - Waiting for VM ctest-TestBasicPolicy-63547027-87086440 to be up.. 2025-12-22 02:19:38,990 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:19:38,990 - INFO - VM name : ctest-TestBasicPolicy-63547027-87086440 2025-12-22 02:19:39,072 - DEBUG - VM ctest-TestBasicPolicy-63547027-87086440 ID is d706246c-aeaa-49bc-bf1d-d540613ec97c 2025-12-22 02:19:39,073 - DEBUG - VM ctest-TestBasicPolicy-63547027-87086440 launched on Node cn-jenkins-deploy-platform-ansible-os-4915-1 2025-12-22 02:19:39,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d706246c-aeaa-49bc-bf1d-d540613ec97c 2025-12-22 02:19:39,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/df4a7360-627c-43fb-b7ec-27f39ec18d54 2025-12-22 02:19:40,402 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.703/2.962/1.258 ms') 2025-12-22 02:19:40,402 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63547027-87086440 passed 2025-12-22 02:19:40,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:19:40,552 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63547027-87086440, IP 175.198.33.131, Port 22 2025-12-22 02:19:40,742 - DEBUG - VM ctest-TestBasicPolicy-63547027-87086440 is ready for SSH connections 2025-12-22 02:19:40,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:19:40,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.198.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-22 02:19:40,742 - DEBUG - ping -s 56 -c 3 -W 1 175.198.33.131 2025-12-22 02:19:44,792 - DEBUG - PING 175.198.33.131 (175.198.33.131): 56 data bytes 64 bytes from 175.198.33.131: seq=0 ttl=63 time=4.484 ms 64 bytes from 175.198.33.131: seq=1 ttl=63 time=1.139 ms 64 bytes from 175.198.33.131: seq=2 ttl=63 time=1.011 ms --- 175.198.33.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/2.211/4.484 ms 2025-12-22 02:19:44,793 - INFO - Ping to IP 175.198.33.131 from VM ctest-TestBasicPolicy-63547027-49388437 passed 2025-12-22 02:19:44,975 - DEBUG - Policy Update Response {"network-policy": {"uuid": "33685530-c631-454a-9b6b-01aa22732c8e", "href": "http://10.0.0.38:8082/network-policy/33685530-c631-454a-9b6b-01aa22732c8e"}} 2025-12-22 02:19:44,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:19:44,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.198.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-22 02:19:44,975 - DEBUG - ping -s 56 -c 3 -W 1 175.198.33.131 2025-12-22 02:19:48,188 - DEBUG - PING 175.198.33.131 (175.198.33.131): 56 data bytes --- 175.198.33.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 02:19:48,188 - WARNING - Ping to IP 175.198.33.131 from VM ctest-TestBasicPolicy-63547027-49388437 failed 2025-12-22 02:19:48,189 - INFO - Deleting VM ctest-TestBasicPolicy-63547027-87086440 2025-12-22 02:19:48,266 - INFO - Deleting VM ctest-TestBasicPolicy-63547027-49388437 2025-12-22 02:19:48,662 - INFO - Deleted policy ctest-policy-allow-all-30733358 2025-12-22 02:19:48,662 - INFO - Deleting VN ctest-vn-65389471 2025-12-22 02:19:48,697 - DEBUG - VN 3a1b59a3-f733-488a-b62a-ae433f206ad0 still in use: Unable to complete operation on network 3a1b59a3-f733-488a-b62a-ae433f206ad0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1733a989-c569-4756-9720-0cc6a5ae9bbc'] 2025-12-22 02:19:48,697 - WARNING - Deleting VN ctest-vn-65389471 failed..Will retry 2025-12-22 02:19:50,796 - DEBUG - Response for deleting network () 2025-12-22 02:19:50,796 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff 2025-12-22 02:19:50,804 - DEBUG - Response Code: 404 2025-12-22 02:19:50,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-22 02:19:50,812 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b 2025-12-22 02:19:50,864 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0 2025-12-22 02:19:50,938 - INFO - Validated that VN ctest-vn-65389471 is not found in API Server 2025-12-22 02:19:50,949 - DEBUG - VN ctest-vn-65389471 is not present in Agent 10.0.0.38 2025-12-22 02:19:50,949 - INFO - Validated that VN ctest-vn-65389471 is not in any agent 2025-12-22 02:19:50,964 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65389471 info 2025-12-22 02:19:50,964 - INFO - Deleting VN ctest-vn-31926062 2025-12-22 02:19:51,074 - DEBUG - Response for deleting network () 2025-12-22 02:19:51,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397 2025-12-22 02:19:51,080 - DEBUG - Response Code: 404 2025-12-22 02:19:51,080 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-22 02:19:51,085 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b 2025-12-22 02:19:51,136 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0 2025-12-22 02:19:51,203 - INFO - Validated that VN ctest-vn-31926062 is not found in API Server 2025-12-22 02:19:51,212 - DEBUG - VN ctest-vn-31926062 is not present in Agent 10.0.0.38 2025-12-22 02:19:51,212 - INFO - Validated that VN ctest-vn-31926062 is not in any agent 2025-12-22 02:19:51,227 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31926062 info 2025-12-22 02:19:51,494 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:19:51,495 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-12-22 02:19:51,495 - INFO - -------------------------------------------------------------------------------- 2025-12-22 02:19:52,230 - INFO - Deleted project: ctest-TestBasicPolicy-63547027, ID : 5f96f560-cf88-420f-9921-10183f7382e0