2025-12-09 03:49:52,062 - INFO - Domain Default found not creating 2025-12-09 03:49:52,223 - INFO - Project ctest-TestBasicPolicy-89446837 not found, creating it 2025-12-09 03:49:52,693 - INFO - Created Project:ctest-TestBasicPolicy-89446837, ID : bd15d8d2-2b66-426f-82d0-d705ae1db66e 2025-12-09 03:49:54,325 - INFO - ================================================================================ 2025-12-09 03:49:54,325 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-09 03:49:54,325 - 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-09 03:49:54,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2025-12-09 03:49:54,578 - INFO - Initial checks done. Running the testcase now 2025-12-09 03:49:54,578 - INFO - 2025-12-09 03:49:55,174 - DEBUG - Response for create_network : {'network': {'id': 'efbccae2-37ea-48eb-9c97-76dee669e7df', 'name': 'ctest-vn-93143942', 'tenant_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'project_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89446837', 'ctest-vn-93143942'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:49:55,373 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da445c59-31f1-4ac0-9060-96dce419940e', 'name': '', 'tenant_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'network_id': 'efbccae2-37ea-48eb-9c97-76dee669e7df', 'ip_version': 4, 'cidr': '39.243.105.0/26', 'allocation_pools': [{'start': '39.243.105.2', 'end': '39.243.105.62'}], 'gateway_ip': '39.243.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.243.105.2', 'tags': [], 'project_id': 'bd15d8d22b66426f82d0d705ae1db66e'}} 2025-12-09 03:49:55,391 - INFO - Created VN ctest-vn-93143942 2025-12-09 03:49:55,445 - DEBUG - VN ctest-vn-93143942 UUID is efbccae2-37ea-48eb-9c97-76dee669e7df 2025-12-09 03:49:55,771 - DEBUG - Response for create_network : {'network': {'id': '8fd33e48-aa5a-4931-b92a-f422cdb34f5f', 'name': 'ctest-vn-81388114', 'tenant_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'project_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89446837', 'ctest-vn-81388114'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:49:56,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb03a491-cd0f-4643-950e-1ae6627a4da0', 'name': '', 'tenant_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'network_id': '8fd33e48-aa5a-4931-b92a-f422cdb34f5f', 'ip_version': 4, 'cidr': '158.248.119.0/26', 'allocation_pools': [{'start': '158.248.119.2', 'end': '158.248.119.62'}], 'gateway_ip': '158.248.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.248.119.2', 'tags': [], 'project_id': 'bd15d8d22b66426f82d0d705ae1db66e'}} 2025-12-09 03:49:56,024 - INFO - Created VN ctest-vn-81388114 2025-12-09 03:49:56,077 - DEBUG - VN ctest-vn-81388114 UUID is 8fd33e48-aa5a-4931-b92a-f422cdb34f5f 2025-12-09 03:49:56,193 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-93143942, 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-89446837:ctest-vn-81388114, 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-09 03:49:56,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efbccae2-37ea-48eb-9c97-76dee669e7df', 'name': 'ctest-vn-93143942', 'tenant_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'project_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da445c59-31f1-4ac0-9060-96dce419940e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89446837', 'ctest-vn-93143942'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89446837', 'ctest-policy-allow-all-12613388']], 'subnet_ipam': [{'subnet_cidr': '39.243.105.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:49:56,714 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fd33e48-aa5a-4931-b92a-f422cdb34f5f', 'name': 'ctest-vn-81388114', 'tenant_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'project_id': 'bd15d8d22b66426f82d0d705ae1db66e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb03a491-cd0f-4643-950e-1ae6627a4da0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89446837', 'ctest-vn-81388114'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89446837', 'ctest-policy-allow-all-12613388']], 'subnet_ipam': [{'subnet_cidr': '158.248.119.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:49:56,885 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 03:49:57,218 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 03:49:57,250 - DEBUG - Requesting: http://10.0.0.38:8082/domain/81c8a87e-64b8-4b78-9ee7-bfb590435b78 2025-12-09 03:49:57,262 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd15d8d2-2b66-426f-82d0-d705ae1db66e 2025-12-09 03:49:57,336 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efbccae2-37ea-48eb-9c97-76dee669e7df 2025-12-09 03:49:57,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efbccae2-37ea-48eb-9c97-76dee669e7df 2025-12-09 03:49:57,358 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c55769b-2be6-4a08-b368-d906241e4b45 2025-12-09 03:49:57,365 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c55769b-2be6-4a08-b368-d906241e4b45 2025-12-09 03:49:57,372 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2538223a-7a23-42d5-b241-cf84b9981da3 2025-12-09 03:49:57,378 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 03:49:57,378 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efbccae2-37ea-48eb-9c97-76dee669e7df 2025-12-09 03:49:57,388 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c55769b-2be6-4a08-b368-d906241e4b45 2025-12-09 03:49:57,403 - INFO - Verified VN network id 11 for VN efbccae2-37ea-48eb-9c97-76dee669e7df 2025-12-09 03:49:57,404 - INFO - Verifications in API Server for VN ctest-vn-93143942 passed 2025-12-09 03:49:57,404 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efbccae2-37ea-48eb-9c97-76dee669e7df 2025-12-09 03:49:57,413 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c55769b-2be6-4a08-b368-d906241e4b45 2025-12-09 03:49:57,421 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c55769b-2be6-4a08-b368-d906241e4b45 2025-12-09 03:49:57,428 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2538223a-7a23-42d5-b241-cf84b9981da3 2025-12-09 03:49:57,439 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-93143942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89446837', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17274905343635900651', 'uuid-lslong': '11283618091120584671'}, 'enable': 'true', 'created': '2025-12-09T03:49:55', 'last-modified': '2025-12-09T03:49:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976630'} 2025-12-09 03:49:57,445 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 03:49:57,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93143942 passed 2025-12-09 03:49:57,446 - DEBUG - ====Verifying policy data for ctest-vn-93143942 in API_Server ====== 2025-12-09 03:49:57,446 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 03:49:57,451 - DEBUG - Requesting: http://10.0.0.38:8082/domain/81c8a87e-64b8-4b78-9ee7-bfb590435b78 2025-12-09 03:49:57,463 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd15d8d2-2b66-426f-82d0-d705ae1db66e 2025-12-09 03:49:57,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efbccae2-37ea-48eb-9c97-76dee669e7df 2025-12-09 03:49:57,547 - DEBUG - ==>Verifying data for policy with id: 85535f57-dfbb-4761-b5a6-37e3a727fde3, fqn: ['default-domain', 'ctest-TestBasicPolicy-89446837', 'ctest-policy-allow-all-12613388'] 2025-12-09 03:49:57,547 - INFO - VN ctest-vn-93143942 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 03:49:57,547 - DEBUG - Verifying the vn in opserver 2025-12-09 03:49:57,547 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-93143942 virtual network link through opserver 10.0.0.38 2025-12-09 03:49:57,547 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 03:49:57,891 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 03:49:57,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-93143942', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-93143942?flat'} 2025-12-09 03:49:57,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-93143942 is found in opserver 2025-12-09 03:49:57,970 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 03:49:57,974 - DEBUG - VRF ids for VN ctest-vn-93143942: {} 2025-12-09 03:49:57,975 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 03:49:57,980 - DEBUG - Requesting: http://10.0.0.38:8082/domain/81c8a87e-64b8-4b78-9ee7-bfb590435b78 2025-12-09 03:49:57,991 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd15d8d2-2b66-426f-82d0-d705ae1db66e 2025-12-09 03:49:58,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8fd33e48-aa5a-4931-b92a-f422cdb34f5f 2025-12-09 03:49:58,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8fd33e48-aa5a-4931-b92a-f422cdb34f5f 2025-12-09 03:49:58,081 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ddd7874-ef49-4603-b899-54ddf2dc92fe 2025-12-09 03:49:58,087 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ddd7874-ef49-4603-b899-54ddf2dc92fe 2025-12-09 03:49:58,093 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d2112f5b-3822-41d0-ae33-d64862c3b240 2025-12-09 03:49:58,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 03:49:58,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8fd33e48-aa5a-4931-b92a-f422cdb34f5f 2025-12-09 03:49:58,109 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ddd7874-ef49-4603-b899-54ddf2dc92fe 2025-12-09 03:49:58,123 - INFO - Verified VN network id 12 for VN 8fd33e48-aa5a-4931-b92a-f422cdb34f5f 2025-12-09 03:49:58,123 - INFO - Verifications in API Server for VN ctest-vn-81388114 passed 2025-12-09 03:49:58,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8fd33e48-aa5a-4931-b92a-f422cdb34f5f 2025-12-09 03:49:58,132 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ddd7874-ef49-4603-b899-54ddf2dc92fe 2025-12-09 03:49:58,138 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ddd7874-ef49-4603-b899-54ddf2dc92fe 2025-12-09 03:49:58,144 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d2112f5b-3822-41d0-ae33-d64862c3b240 2025-12-09 03:49:58,155 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-81388114', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89446837', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10363695649326254385', 'uuid-lslong': '13342745276355661663'}, 'enable': 'true', 'created': '2025-12-09T03:49:55', 'last-modified': '2025-12-09T03:49:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.464156'} 2025-12-09 03:49:58,161 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 03:49:58,163 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81388114 passed 2025-12-09 03:49:58,163 - DEBUG - ====Verifying policy data for ctest-vn-81388114 in API_Server ====== 2025-12-09 03:49:58,163 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 03:49:58,168 - DEBUG - Requesting: http://10.0.0.38:8082/domain/81c8a87e-64b8-4b78-9ee7-bfb590435b78 2025-12-09 03:49:58,178 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd15d8d2-2b66-426f-82d0-d705ae1db66e 2025-12-09 03:49:58,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8fd33e48-aa5a-4931-b92a-f422cdb34f5f 2025-12-09 03:49:58,258 - DEBUG - ==>Verifying data for policy with id: 85535f57-dfbb-4761-b5a6-37e3a727fde3, fqn: ['default-domain', 'ctest-TestBasicPolicy-89446837', 'ctest-policy-allow-all-12613388'] 2025-12-09 03:49:58,258 - INFO - VN ctest-vn-81388114 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 03:49:58,258 - DEBUG - Verifying the vn in opserver 2025-12-09 03:49:58,258 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-81388114 virtual network link through opserver 10.0.0.38 2025-12-09 03:49:58,258 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 03:49:58,270 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-81388114', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-81388114?flat'} 2025-12-09 03:49:58,270 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-81388114 is found in opserver 2025-12-09 03:49:58,280 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 03:49:58,284 - DEBUG - VRF ids for VN ctest-vn-81388114: {} 2025-12-09 03:49:58,347 - DEBUG - Services list from nova: [, , ] 2025-12-09 03:49:59,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4865-1) 2025-12-09 03:50:00,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4865-1) 2025-12-09 03:50:00,711 - INFO - Waiting for VM ctest-TestBasicPolicy-89446837-24217733 to be up.. 2025-12-09 03:50:00,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 03:50:05,873 - DEBUG - VM is in ACTIVE state now 2025-12-09 03:50:05,873 - INFO - VM name : ctest-TestBasicPolicy-89446837-24217733 2025-12-09 03:50:05,951 - DEBUG - VM ctest-TestBasicPolicy-89446837-24217733 ID is bf817f64-73ae-4b4f-abb1-87bdc6a48747 2025-12-09 03:50:05,974 - DEBUG - VM ctest-TestBasicPolicy-89446837-24217733 launched on Node cn-jenkins-deploy-platform-ansible-os-4865-1 2025-12-09 03:50:06,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bf817f64-73ae-4b4f-abb1-87bdc6a48747 2025-12-09 03:50:06,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/89672df1-200f-4380-8c1f-8ddb3aef0928 2025-12-09 03:50:09,350 - 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 1026ms') 2025-12-09 03:50:09,350 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89446837-24217733 failed! 2025-12-09 03:50:09,405 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89446837:ctest-vn-93143942 is 39.243.105.1 and allocation pool is NOT set 2025-12-09 03:50:11,469 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 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.314/5.571/8.829/3.257 ms') 2025-12-09 03:50:11,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89446837-24217733 passed 2025-12-09 03:50:11,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:50:11,625 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89446837-24217733, IP 39.243.105.3, Port 22 2025-12-09 03:50:11,681 - 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-09 03:50:11,758 - DEBUG - VM ctest-TestBasicPolicy-89446837-24217733 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-09 03:50:16,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:50:16,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89446837-24217733, IP 39.243.105.3, Port 22 2025-12-09 03:50:16,916 - DEBUG - VM ctest-TestBasicPolicy-89446837-24217733 is ready for SSH connections 2025-12-09 03:50:16,916 - INFO - Waiting for VM ctest-TestBasicPolicy-89446837-32209841 to be up.. 2025-12-09 03:50:16,996 - DEBUG - VM is in ACTIVE state now 2025-12-09 03:50:16,996 - INFO - VM name : ctest-TestBasicPolicy-89446837-32209841 2025-12-09 03:50:17,069 - DEBUG - VM ctest-TestBasicPolicy-89446837-32209841 ID is 83226402-966f-47cd-bf82-93a4e027b068 2025-12-09 03:50:17,069 - DEBUG - VM ctest-TestBasicPolicy-89446837-32209841 launched on Node cn-jenkins-deploy-platform-ansible-os-4865-1 2025-12-09 03:50:17,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/83226402-966f-47cd-bf82-93a4e027b068 2025-12-09 03:50:17,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e727489d-007a-417c-a940-ad6aa50924ed 2025-12-09 03:50:18,394 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 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.395/1.719/3.044/1.324 ms') 2025-12-09 03:50:18,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89446837-32209841 passed 2025-12-09 03:50:18,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:50:18,541 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89446837-32209841, IP 158.248.119.3, Port 22 2025-12-09 03:50:18,701 - DEBUG - VM ctest-TestBasicPolicy-89446837-32209841 is ready for SSH connections 2025-12-09 03:50:18,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:50:18,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.248.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 03:50:18,701 - DEBUG - ping -s 56 -c 3 -W 1 158.248.119.3 2025-12-09 03:50:22,816 - DEBUG - PING 158.248.119.3 (158.248.119.3): 56 data bytes 64 bytes from 158.248.119.3: seq=0 ttl=63 time=3.878 ms 64 bytes from 158.248.119.3: seq=1 ttl=63 time=1.053 ms 64 bytes from 158.248.119.3: seq=2 ttl=63 time=0.902 ms --- 158.248.119.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/1.944/3.878 ms 2025-12-09 03:50:22,816 - INFO - Ping to IP 158.248.119.3 from VM ctest-TestBasicPolicy-89446837-24217733 passed 2025-12-09 03:50:23,013 - DEBUG - Policy Update Response {"network-policy": {"uuid": "85535f57-dfbb-4761-b5a6-37e3a727fde3", "href": "http://10.0.0.38:8082/network-policy/85535f57-dfbb-4761-b5a6-37e3a727fde3"}} 2025-12-09 03:50:23,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:50:23,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.248.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 03:50:23,013 - DEBUG - ping -s 56 -c 3 -W 1 158.248.119.3 2025-12-09 03:50:26,237 - DEBUG - PING 158.248.119.3 (158.248.119.3): 56 data bytes --- 158.248.119.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 03:50:26,237 - WARNING - Ping to IP 158.248.119.3 from VM ctest-TestBasicPolicy-89446837-24217733 failed 2025-12-09 03:50:26,237 - INFO - Deleting VM ctest-TestBasicPolicy-89446837-32209841 2025-12-09 03:50:26,306 - INFO - Deleting VM ctest-TestBasicPolicy-89446837-24217733 2025-12-09 03:50:26,677 - INFO - Deleted policy ctest-policy-allow-all-12613388 2025-12-09 03:50:26,677 - INFO - Deleting VN ctest-vn-81388114 2025-12-09 03:50:26,717 - DEBUG - VN 8fd33e48-aa5a-4931-b92a-f422cdb34f5f still in use: Unable to complete operation on network 8fd33e48-aa5a-4931-b92a-f422cdb34f5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec365332-30b0-4fbd-a0b5-737cf41f3540'] 2025-12-09 03:50:26,717 - WARNING - Deleting VN ctest-vn-81388114 failed..Will retry 2025-12-09 03:50:28,817 - DEBUG - Response for deleting network () 2025-12-09 03:50:28,817 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ddd7874-ef49-4603-b899-54ddf2dc92fe 2025-12-09 03:50:28,823 - DEBUG - Response Code: 404 2025-12-09 03:50:28,823 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 03:50:28,829 - DEBUG - Requesting: http://10.0.0.38:8082/domain/81c8a87e-64b8-4b78-9ee7-bfb590435b78 2025-12-09 03:50:28,883 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd15d8d2-2b66-426f-82d0-d705ae1db66e 2025-12-09 03:50:28,952 - INFO - Validated that VN ctest-vn-81388114 is not found in API Server 2025-12-09 03:50:28,963 - DEBUG - VN ctest-vn-81388114 is not present in Agent 10.0.0.38 2025-12-09 03:50:28,963 - INFO - Validated that VN ctest-vn-81388114 is not in any agent 2025-12-09 03:50:28,977 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81388114 info 2025-12-09 03:50:28,977 - INFO - Deleting VN ctest-vn-93143942 2025-12-09 03:50:29,076 - DEBUG - Response for deleting network () 2025-12-09 03:50:29,076 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c55769b-2be6-4a08-b368-d906241e4b45 2025-12-09 03:50:29,082 - DEBUG - Response Code: 404 2025-12-09 03:50:29,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 03:50:29,087 - DEBUG - Requesting: http://10.0.0.38:8082/domain/81c8a87e-64b8-4b78-9ee7-bfb590435b78 2025-12-09 03:50:29,142 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd15d8d2-2b66-426f-82d0-d705ae1db66e 2025-12-09 03:50:29,212 - INFO - Validated that VN ctest-vn-93143942 is not found in API Server 2025-12-09 03:50:29,222 - DEBUG - VN ctest-vn-93143942 is not present in Agent 10.0.0.38 2025-12-09 03:50:29,222 - INFO - Validated that VN ctest-vn-93143942 is not in any agent 2025-12-09 03:50:29,236 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93143942 info 2025-12-09 03:50:29,490 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 03:50:29,490 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-12-09 03:50:29,490 - INFO - -------------------------------------------------------------------------------- 2025-12-09 03:50:30,214 - INFO - Deleted project: ctest-TestBasicPolicy-89446837, ID : bd15d8d2-2b66-426f-82d0-d705ae1db66e