2025-12-11 17:37:42,692 - INFO - Domain Default found not creating 2025-12-11 17:37:42,896 - INFO - Project ctest-TestBasicPolicy-57939066 not found, creating it 2025-12-11 17:37:43,386 - INFO - Created Project:ctest-TestBasicPolicy-57939066, ID : c56beeb4-f243-453f-9f77-3b0a43c3f860 2025-12-11 17:37:44,952 - INFO - ================================================================================ 2025-12-11 17:37:44,953 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-11 17:37:44,953 - 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-11 17:37:45,208 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0'}} with 2025-12-11 17:37:45,208 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:37:45,209 - INFO - 2025-12-11 17:37:45,860 - DEBUG - Response for create_network : {'network': {'id': 'b9da30ef-451a-4360-a0bf-9816865ba673', 'name': 'ctest-vn-85612970', 'tenant_id': 'c56beeb4f243453f9f773b0a43c3f860', 'project_id': 'c56beeb4f243453f9f773b0a43c3f860', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57939066', 'ctest-vn-85612970'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:37:46,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f5981e9-778d-4ee0-8c18-51b4da5d7336', 'name': '', 'tenant_id': 'c56beeb4f243453f9f773b0a43c3f860', 'network_id': 'b9da30ef-451a-4360-a0bf-9816865ba673', 'ip_version': 4, 'cidr': '180.161.61.192/26', 'allocation_pools': [{'start': '180.161.61.194', 'end': '180.161.61.254'}], 'gateway_ip': '180.161.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.161.61.194', 'tags': [], 'project_id': 'c56beeb4f243453f9f773b0a43c3f860'}} 2025-12-11 17:37:46,042 - INFO - Created VN ctest-vn-85612970 2025-12-11 17:37:46,095 - DEBUG - VN ctest-vn-85612970 UUID is b9da30ef-451a-4360-a0bf-9816865ba673 2025-12-11 17:37:46,395 - DEBUG - Response for create_network : {'network': {'id': '9b51c973-30db-4a3e-ad9a-f668ae7dd202', 'name': 'ctest-vn-57321340', 'tenant_id': 'c56beeb4f243453f9f773b0a43c3f860', 'project_id': 'c56beeb4f243453f9f773b0a43c3f860', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57939066', 'ctest-vn-57321340'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:37:46,593 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb8e4d4e-7652-4d49-a1dc-0070e5412f02', 'name': '', 'tenant_id': 'c56beeb4f243453f9f773b0a43c3f860', 'network_id': '9b51c973-30db-4a3e-ad9a-f668ae7dd202', 'ip_version': 4, 'cidr': '19.91.178.64/26', 'allocation_pools': [{'start': '19.91.178.66', 'end': '19.91.178.126'}], 'gateway_ip': '19.91.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.91.178.66', 'tags': [], 'project_id': 'c56beeb4f243453f9f773b0a43c3f860'}} 2025-12-11 17:37:46,612 - INFO - Created VN ctest-vn-57321340 2025-12-11 17:37:46,666 - DEBUG - VN ctest-vn-57321340 UUID is 9b51c973-30db-4a3e-ad9a-f668ae7dd202 2025-12-11 17:37:46,826 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-85612970, 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-57939066:ctest-vn-57321340, 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-11 17:37:47,294 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b9da30ef-451a-4360-a0bf-9816865ba673', 'name': 'ctest-vn-85612970', 'tenant_id': 'c56beeb4f243453f9f773b0a43c3f860', 'project_id': 'c56beeb4f243453f9f773b0a43c3f860', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f5981e9-778d-4ee0-8c18-51b4da5d7336'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57939066', 'ctest-vn-85612970'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57939066', 'ctest-policy-allow-all-21139954']], 'subnet_ipam': [{'subnet_cidr': '180.161.61.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:37:47,556 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b51c973-30db-4a3e-ad9a-f668ae7dd202', 'name': 'ctest-vn-57321340', 'tenant_id': 'c56beeb4f243453f9f773b0a43c3f860', 'project_id': 'c56beeb4f243453f9f773b0a43c3f860', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb8e4d4e-7652-4d49-a1dc-0070e5412f02'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57939066', 'ctest-vn-57321340'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57939066', 'ctest-policy-allow-all-21139954']], 'subnet_ipam': [{'subnet_cidr': '19.91.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:37:47,682 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 17:37:47,983 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 17:37:48,023 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1f885ef9-7824-475b-8e1f-d2b2777a0188 2025-12-11 17:37:48,036 - DEBUG - Requesting: http://10.0.0.242:8082/project/c56beeb4-f243-453f-9f77-3b0a43c3f860 2025-12-11 17:37:48,115 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b9da30ef-451a-4360-a0bf-9816865ba673 2025-12-11 17:37:48,126 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b9da30ef-451a-4360-a0bf-9816865ba673 2025-12-11 17:37:48,134 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5c5907c6-c167-434e-b031-0d626a4176d6 2025-12-11 17:37:48,143 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5c5907c6-c167-434e-b031-0d626a4176d6 2025-12-11 17:37:48,152 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/34b9e463-172c-4c62-a8fe-ca367597e3e1 2025-12-11 17:37:48,159 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 17:37:48,159 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b9da30ef-451a-4360-a0bf-9816865ba673 2025-12-11 17:37:48,168 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5c5907c6-c167-434e-b031-0d626a4176d6 2025-12-11 17:37:48,187 - INFO - Verified VN network id 12 for VN b9da30ef-451a-4360-a0bf-9816865ba673 2025-12-11 17:37:48,187 - INFO - Verifications in API Server for VN ctest-vn-85612970 passed 2025-12-11 17:37:48,187 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b9da30ef-451a-4360-a0bf-9816865ba673 2025-12-11 17:37:48,197 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5c5907c6-c167-434e-b031-0d626a4176d6 2025-12-11 17:37:48,205 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5c5907c6-c167-434e-b031-0d626a4176d6 2025-12-11 17:37:48,212 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/34b9e463-172c-4c62-a8fe-ca367597e3e1 2025-12-11 17:37:48,224 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-85612970', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57939066', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13392070246154257248', 'uuid-lslong': '11583143989131060851'}, 'enable': 'true', 'created': '2025-12-11T17:37:45', 'last-modified': '2025-12-11T17:37:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976361'} 2025-12-11 17:37:48,231 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 17:37:48,231 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85612970 passed 2025-12-11 17:37:48,231 - DEBUG - ====Verifying policy data for ctest-vn-85612970 in API_Server ====== 2025-12-11 17:37:48,231 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 17:37:48,237 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1f885ef9-7824-475b-8e1f-d2b2777a0188 2025-12-11 17:37:48,247 - DEBUG - Requesting: http://10.0.0.242:8082/project/c56beeb4-f243-453f-9f77-3b0a43c3f860 2025-12-11 17:37:48,320 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b9da30ef-451a-4360-a0bf-9816865ba673 2025-12-11 17:37:48,329 - DEBUG - ==>Verifying data for policy with id: 6a00f247-fc04-4875-94e5-d932dfc67e85, fqn: ['default-domain', 'ctest-TestBasicPolicy-57939066', 'ctest-policy-allow-all-21139954'] 2025-12-11 17:37:48,329 - INFO - VN ctest-vn-85612970 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 17:37:48,329 - DEBUG - Verifying the vn in opserver 2025-12-11 17:37:48,329 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-85612970 virtual network link through opserver 10.0.0.242 2025-12-11 17:37:48,329 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-12-11 17:37:48,648 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-12-11 17:37:48,724 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-85612970', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-85612970?flat'} 2025-12-11 17:37:48,724 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-85612970 is found in opserver 2025-12-11 17:37:48,734 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 17:37:48,739 - DEBUG - VRF ids for VN ctest-vn-85612970: {} 2025-12-11 17:37:48,739 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 17:37:48,745 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1f885ef9-7824-475b-8e1f-d2b2777a0188 2025-12-11 17:37:48,758 - DEBUG - Requesting: http://10.0.0.242:8082/project/c56beeb4-f243-453f-9f77-3b0a43c3f860 2025-12-11 17:37:48,834 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b51c973-30db-4a3e-ad9a-f668ae7dd202 2025-12-11 17:37:48,846 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b51c973-30db-4a3e-ad9a-f668ae7dd202 2025-12-11 17:37:48,858 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe373c9e-8003-4f11-9554-1b208a88d8c9 2025-12-11 17:37:48,866 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe373c9e-8003-4f11-9554-1b208a88d8c9 2025-12-11 17:37:48,873 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/92efe771-7ea1-4975-8b24-f3742dbfbb76 2025-12-11 17:37:48,881 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 17:37:48,881 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b51c973-30db-4a3e-ad9a-f668ae7dd202 2025-12-11 17:37:48,892 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe373c9e-8003-4f11-9554-1b208a88d8c9 2025-12-11 17:37:48,907 - INFO - Verified VN network id 13 for VN 9b51c973-30db-4a3e-ad9a-f668ae7dd202 2025-12-11 17:37:48,907 - INFO - Verifications in API Server for VN ctest-vn-57321340 passed 2025-12-11 17:37:48,907 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b51c973-30db-4a3e-ad9a-f668ae7dd202 2025-12-11 17:37:48,917 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe373c9e-8003-4f11-9554-1b208a88d8c9 2025-12-11 17:37:48,925 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe373c9e-8003-4f11-9554-1b208a88d8c9 2025-12-11 17:37:48,932 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/92efe771-7ea1-4975-8b24-f3742dbfbb76 2025-12-11 17:37:48,948 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-57321340', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57939066', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11191948045570492990', 'uuid-lslong': '12509581844439486978'}, 'enable': 'true', 'created': '2025-12-11T17:37:46', 'last-modified': '2025-12-11T17:37:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.407873'} 2025-12-11 17:37:48,954 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 17:37:48,954 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57321340 passed 2025-12-11 17:37:48,955 - DEBUG - ====Verifying policy data for ctest-vn-57321340 in API_Server ====== 2025-12-11 17:37:48,955 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 17:37:48,960 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1f885ef9-7824-475b-8e1f-d2b2777a0188 2025-12-11 17:37:48,972 - DEBUG - Requesting: http://10.0.0.242:8082/project/c56beeb4-f243-453f-9f77-3b0a43c3f860 2025-12-11 17:37:49,057 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9b51c973-30db-4a3e-ad9a-f668ae7dd202 2025-12-11 17:37:49,067 - DEBUG - ==>Verifying data for policy with id: 6a00f247-fc04-4875-94e5-d932dfc67e85, fqn: ['default-domain', 'ctest-TestBasicPolicy-57939066', 'ctest-policy-allow-all-21139954'] 2025-12-11 17:37:49,067 - INFO - VN ctest-vn-57321340 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 17:37:49,067 - DEBUG - Verifying the vn in opserver 2025-12-11 17:37:49,067 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-57321340 virtual network link through opserver 10.0.0.242 2025-12-11 17:37:49,067 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-12-11 17:37:49,079 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-57321340', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-57321340?flat'} 2025-12-11 17:37:49,079 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-57321340 is found in opserver 2025-12-11 17:37:49,091 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 17:37:49,099 - DEBUG - VRF ids for VN ctest-vn-57321340: {} 2025-12-11 17:37:49,158 - DEBUG - Services list from nova: [, , ] 2025-12-11 17:37:50,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4887-1) 2025-12-11 17:37:51,531 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4887-1) 2025-12-11 17:37:51,531 - INFO - Waiting for VM ctest-TestBasicPolicy-57939066-26312810 to be up.. 2025-12-11 17:37:51,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 17:37:56,705 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:37:56,705 - INFO - VM name : ctest-TestBasicPolicy-57939066-26312810 2025-12-11 17:37:56,789 - DEBUG - VM ctest-TestBasicPolicy-57939066-26312810 ID is 7ecbdba9-531c-4789-ac27-a6ed06f8d530 2025-12-11 17:37:56,810 - DEBUG - VM ctest-TestBasicPolicy-57939066-26312810 launched on Node cn-jenkins-deploy-platform-ansible-os-4887-1 2025-12-11 17:37:56,903 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7ecbdba9-531c-4789-ac27-a6ed06f8d530 2025-12-11 17:37:56,912 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/bfeb7723-51ec-404e-b7d1-ead7e4d51a8d 2025-12-11 17:38:00,179 - 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 1021ms') 2025-12-11 17:38:00,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57939066-26312810 failed! 2025-12-11 17:38:00,242 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57939066:ctest-vn-85612970 is 180.161.61.193 and allocation pool is NOT set 2025-12-11 17:38:02,309 - 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=8.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.29 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 = 3.287/5.738/8.189/2.451 ms') 2025-12-11 17:38:02,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57939066-26312810 passed 2025-12-11 17:38:02,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:02,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57939066-26312810, IP 180.161.61.195, Port 22 2025-12-11 17:38:02,524 - 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-11 17:38:02,614 - DEBUG - VM ctest-TestBasicPolicy-57939066-26312810 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-11 17:38:07,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:07,615 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57939066-26312810, IP 180.161.61.195, Port 22 2025-12-11 17:38:07,784 - DEBUG - VM ctest-TestBasicPolicy-57939066-26312810 is ready for SSH connections 2025-12-11 17:38:07,784 - INFO - Waiting for VM ctest-TestBasicPolicy-57939066-66334818 to be up.. 2025-12-11 17:38:07,867 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:38:07,867 - INFO - VM name : ctest-TestBasicPolicy-57939066-66334818 2025-12-11 17:38:07,943 - DEBUG - VM ctest-TestBasicPolicy-57939066-66334818 ID is b5bec967-970d-4091-a813-65448dd39ba3 2025-12-11 17:38:07,943 - DEBUG - VM ctest-TestBasicPolicy-57939066-66334818 launched on Node cn-jenkins-deploy-platform-ansible-os-4887-1 2025-12-11 17:38:08,018 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b5bec967-970d-4091-a813-65448dd39ba3 2025-12-11 17:38:08,027 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8f160b2b-6e6b-4f29-b0af-6809e4e7f4cc 2025-12-11 17:38:09,269 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.968/3.577/1.608 ms') 2025-12-11 17:38:09,269 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57939066-66334818 passed 2025-12-11 17:38:09,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:09,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57939066-66334818, IP 19.91.178.67, Port 22 2025-12-11 17:38:09,581 - DEBUG - VM ctest-TestBasicPolicy-57939066-66334818 is ready for SSH connections 2025-12-11 17:38:09,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:09,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.91.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-12-11 17:38:09,582 - DEBUG - ping -s 56 -c 3 -W 1 19.91.178.67 2025-12-11 17:38:13,702 - DEBUG - PING 19.91.178.67 (19.91.178.67): 56 data bytes 64 bytes from 19.91.178.67: seq=0 ttl=63 time=3.955 ms 64 bytes from 19.91.178.67: seq=1 ttl=63 time=0.911 ms 64 bytes from 19.91.178.67: seq=2 ttl=63 time=1.172 ms --- 19.91.178.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.012/3.955 ms 2025-12-11 17:38:13,702 - INFO - Ping to IP 19.91.178.67 from VM ctest-TestBasicPolicy-57939066-26312810 passed 2025-12-11 17:38:13,886 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a00f247-fc04-4875-94e5-d932dfc67e85", "href": "http://10.0.0.242:8082/network-policy/6a00f247-fc04-4875-94e5-d932dfc67e85"}} 2025-12-11 17:38:13,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:38:13,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.91.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-12-11 17:38:13,887 - DEBUG - ping -s 56 -c 3 -W 1 19.91.178.67 2025-12-11 17:38:17,115 - DEBUG - PING 19.91.178.67 (19.91.178.67): 56 data bytes --- 19.91.178.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-11 17:38:17,116 - WARNING - Ping to IP 19.91.178.67 from VM ctest-TestBasicPolicy-57939066-26312810 failed 2025-12-11 17:38:17,116 - INFO - Deleting VM ctest-TestBasicPolicy-57939066-66334818 2025-12-11 17:38:17,204 - INFO - Deleting VM ctest-TestBasicPolicy-57939066-26312810 2025-12-11 17:38:17,609 - INFO - Deleted policy ctest-policy-allow-all-21139954 2025-12-11 17:38:17,609 - INFO - Deleting VN ctest-vn-57321340 2025-12-11 17:38:17,658 - DEBUG - VN 9b51c973-30db-4a3e-ad9a-f668ae7dd202 still in use: Unable to complete operation on network 9b51c973-30db-4a3e-ad9a-f668ae7dd202. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9824abac-1d26-4ad7-aebb-59ed1893041f'] 2025-12-11 17:38:17,658 - WARNING - Deleting VN ctest-vn-57321340 failed..Will retry 2025-12-11 17:38:19,766 - DEBUG - Response for deleting network () 2025-12-11 17:38:19,766 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fe373c9e-8003-4f11-9554-1b208a88d8c9 2025-12-11 17:38:19,773 - DEBUG - Response Code: 404 2025-12-11 17:38:19,774 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 17:38:19,779 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1f885ef9-7824-475b-8e1f-d2b2777a0188 2025-12-11 17:38:19,831 - DEBUG - Requesting: http://10.0.0.242:8082/project/c56beeb4-f243-453f-9f77-3b0a43c3f860 2025-12-11 17:38:19,905 - INFO - Validated that VN ctest-vn-57321340 is not found in API Server 2025-12-11 17:38:19,915 - DEBUG - VN ctest-vn-57321340 is not present in Agent 10.0.0.242 2025-12-11 17:38:19,915 - INFO - Validated that VN ctest-vn-57321340 is not in any agent 2025-12-11 17:38:19,930 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57321340 info 2025-12-11 17:38:19,930 - INFO - Deleting VN ctest-vn-85612970 2025-12-11 17:38:20,037 - DEBUG - Response for deleting network () 2025-12-11 17:38:20,037 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5c5907c6-c167-434e-b031-0d626a4176d6 2025-12-11 17:38:20,046 - DEBUG - Response Code: 404 2025-12-11 17:38:20,046 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 17:38:20,053 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1f885ef9-7824-475b-8e1f-d2b2777a0188 2025-12-11 17:38:20,107 - DEBUG - Requesting: http://10.0.0.242:8082/project/c56beeb4-f243-453f-9f77-3b0a43c3f860 2025-12-11 17:38:20,180 - INFO - Validated that VN ctest-vn-85612970 is not found in API Server 2025-12-11 17:38:20,190 - DEBUG - VN ctest-vn-85612970 is not present in Agent 10.0.0.242 2025-12-11 17:38:20,191 - INFO - Validated that VN ctest-vn-85612970 is not in any agent 2025-12-11 17:38:20,208 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85612970 info 2025-12-11 17:38:20,480 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 17:38:20,480 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-12-11 17:38:20,480 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:38:21,213 - INFO - Deleted project: ctest-TestBasicPolicy-57939066, ID : c56beeb4-f243-453f-9f77-3b0a43c3f860