2025-08-20 18:34:38,547 - INFO - Domain Default found not creating 2025-08-20 18:34:38,689 - INFO - Project ctest-TestBasicPolicy-29963078 not found, creating it 2025-08-20 18:34:39,161 - INFO - Created Project:ctest-TestBasicPolicy-29963078, ID : febf1c40-706c-46f6-af32-370fe586e0dd 2025-08-20 18:34:40,605 - INFO - ================================================================================ 2025-08-20 18:34:40,605 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 18:34:40,606 - 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-08-20 18:34:40,862 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-20 18:34:40,862 - INFO - Initial checks done. Running the testcase now 2025-08-20 18:34:40,862 - INFO - 2025-08-20 18:34:41,421 - DEBUG - Response for create_network : {'network': {'id': '33cf8f23-9d67-4f02-aeb1-f04ab598ee52', 'name': 'ctest-vn-02235122', 'tenant_id': 'febf1c40706c46f6af32370fe586e0dd', 'project_id': 'febf1c40706c46f6af32370fe586e0dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29963078', 'ctest-vn-02235122'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:34:41,606 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c708f7fc-690b-4540-85c3-9b6447c3c29d', 'name': '', 'tenant_id': 'febf1c40706c46f6af32370fe586e0dd', 'network_id': '33cf8f23-9d67-4f02-aeb1-f04ab598ee52', 'ip_version': 4, 'cidr': '134.158.158.64/26', 'allocation_pools': [{'start': '134.158.158.66', 'end': '134.158.158.126'}], 'gateway_ip': '134.158.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.158.158.66', 'tags': [], 'project_id': 'febf1c40706c46f6af32370fe586e0dd'}} 2025-08-20 18:34:41,628 - INFO - Created VN ctest-vn-02235122 2025-08-20 18:34:41,681 - DEBUG - VN ctest-vn-02235122 UUID is 33cf8f23-9d67-4f02-aeb1-f04ab598ee52 2025-08-20 18:34:42,041 - DEBUG - Response for create_network : {'network': {'id': '2533010d-c5e7-4d4b-a65a-1bb49fad5b59', 'name': 'ctest-vn-89472454', 'tenant_id': 'febf1c40706c46f6af32370fe586e0dd', 'project_id': 'febf1c40706c46f6af32370fe586e0dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29963078', 'ctest-vn-89472454'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:34:42,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6a9abdc-bdac-4263-8360-b5df95ed6224', 'name': '', 'tenant_id': 'febf1c40706c46f6af32370fe586e0dd', 'network_id': '2533010d-c5e7-4d4b-a65a-1bb49fad5b59', 'ip_version': 4, 'cidr': '122.232.171.64/26', 'allocation_pools': [{'start': '122.232.171.66', 'end': '122.232.171.126'}], 'gateway_ip': '122.232.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.232.171.66', 'tags': [], 'project_id': 'febf1c40706c46f6af32370fe586e0dd'}} 2025-08-20 18:34:42,296 - INFO - Created VN ctest-vn-89472454 2025-08-20 18:34:42,353 - DEBUG - VN ctest-vn-89472454 UUID is 2533010d-c5e7-4d4b-a65a-1bb49fad5b59 2025-08-20 18:34:42,505 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-02235122, 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-29963078:ctest-vn-89472454, 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-08-20 18:34:42,801 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33cf8f23-9d67-4f02-aeb1-f04ab598ee52', 'name': 'ctest-vn-02235122', 'tenant_id': 'febf1c40706c46f6af32370fe586e0dd', 'project_id': 'febf1c40706c46f6af32370fe586e0dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c708f7fc-690b-4540-85c3-9b6447c3c29d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29963078', 'ctest-vn-02235122'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29963078', 'ctest-policy-allow-all-86867712']], 'subnet_ipam': [{'subnet_cidr': '134.158.158.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:34:43,091 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2533010d-c5e7-4d4b-a65a-1bb49fad5b59', 'name': 'ctest-vn-89472454', 'tenant_id': 'febf1c40706c46f6af32370fe586e0dd', 'project_id': 'febf1c40706c46f6af32370fe586e0dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a6a9abdc-bdac-4263-8360-b5df95ed6224'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29963078', 'ctest-vn-89472454'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29963078', 'ctest-policy-allow-all-86867712']], 'subnet_ipam': [{'subnet_cidr': '122.232.171.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:34:43,245 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-20 18:34:43,558 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-20 18:34:43,587 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2511146f-3451-4b71-95c0-8b8d23a21af6 2025-08-20 18:34:43,604 - DEBUG - Requesting: http://10.0.0.38:8082/project/febf1c40-706c-46f6-af32-370fe586e0dd 2025-08-20 18:34:43,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33cf8f23-9d67-4f02-aeb1-f04ab598ee52 2025-08-20 18:34:43,692 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33cf8f23-9d67-4f02-aeb1-f04ab598ee52 2025-08-20 18:34:43,701 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/85853f81-a1d1-4ac7-8bfa-b84224e8b655 2025-08-20 18:34:43,707 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/85853f81-a1d1-4ac7-8bfa-b84224e8b655 2025-08-20 18:34:43,714 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6b12237d-cf4c-406e-92cf-4ad29fe3ff42 2025-08-20 18:34:43,720 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 18:34:43,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33cf8f23-9d67-4f02-aeb1-f04ab598ee52 2025-08-20 18:34:43,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/85853f81-a1d1-4ac7-8bfa-b84224e8b655 2025-08-20 18:34:43,744 - INFO - Verified VN network id 12 for VN 33cf8f23-9d67-4f02-aeb1-f04ab598ee52 2025-08-20 18:34:43,744 - INFO - Verifications in API Server for VN ctest-vn-02235122 passed 2025-08-20 18:34:43,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33cf8f23-9d67-4f02-aeb1-f04ab598ee52 2025-08-20 18:34:43,755 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/85853f81-a1d1-4ac7-8bfa-b84224e8b655 2025-08-20 18:34:43,762 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/85853f81-a1d1-4ac7-8bfa-b84224e8b655 2025-08-20 18:34:43,768 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6b12237d-cf4c-406e-92cf-4ad29fe3ff42 2025-08-20 18:34:43,780 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-02235122', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29963078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3733359999240851202', 'uuid-lslong': '12588106637142191698'}, 'enable': 'true', 'created': '2025-08-20T18:34:41', 'last-modified': '2025-08-20T18:34:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009865'} 2025-08-20 18:34:43,787 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 18:34:43,787 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02235122 passed 2025-08-20 18:34:43,788 - DEBUG - ====Verifying policy data for ctest-vn-02235122 in API_Server ====== 2025-08-20 18:34:43,788 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-20 18:34:43,794 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2511146f-3451-4b71-95c0-8b8d23a21af6 2025-08-20 18:34:43,806 - DEBUG - Requesting: http://10.0.0.38:8082/project/febf1c40-706c-46f6-af32-370fe586e0dd 2025-08-20 18:34:43,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/33cf8f23-9d67-4f02-aeb1-f04ab598ee52 2025-08-20 18:34:43,893 - DEBUG - ==>Verifying data for policy with id: 16a73e1b-37cd-465c-b8f7-08ef65645cdf, fqn: ['default-domain', 'ctest-TestBasicPolicy-29963078', 'ctest-policy-allow-all-86867712'] 2025-08-20 18:34:43,893 - INFO - VN ctest-vn-02235122 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 18:34:43,894 - DEBUG - Verifying the vn in opserver 2025-08-20 18:34:43,894 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-02235122 virtual network link through opserver 10.0.0.38 2025-08-20 18:34:43,894 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-20 18:34:44,181 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-20 18:34:44,234 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-02235122', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-02235122?flat'} 2025-08-20 18:34:44,234 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-02235122 is found in opserver 2025-08-20 18:34:44,246 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 18:34:44,252 - DEBUG - VRF ids for VN ctest-vn-02235122: {} 2025-08-20 18:34:44,252 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-20 18:34:44,257 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2511146f-3451-4b71-95c0-8b8d23a21af6 2025-08-20 18:34:44,270 - DEBUG - Requesting: http://10.0.0.38:8082/project/febf1c40-706c-46f6-af32-370fe586e0dd 2025-08-20 18:34:44,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2533010d-c5e7-4d4b-a65a-1bb49fad5b59 2025-08-20 18:34:44,363 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2533010d-c5e7-4d4b-a65a-1bb49fad5b59 2025-08-20 18:34:44,372 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf932aff-b243-42f9-9a56-13d5be47ad8d 2025-08-20 18:34:44,379 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf932aff-b243-42f9-9a56-13d5be47ad8d 2025-08-20 18:34:44,385 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a6edfaea-e2c0-4ecc-8f4c-564f87764bb0 2025-08-20 18:34:44,391 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 18:34:44,391 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2533010d-c5e7-4d4b-a65a-1bb49fad5b59 2025-08-20 18:34:44,402 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf932aff-b243-42f9-9a56-13d5be47ad8d 2025-08-20 18:34:44,415 - INFO - Verified VN network id 13 for VN 2533010d-c5e7-4d4b-a65a-1bb49fad5b59 2025-08-20 18:34:44,415 - INFO - Verifications in API Server for VN ctest-vn-89472454 passed 2025-08-20 18:34:44,416 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2533010d-c5e7-4d4b-a65a-1bb49fad5b59 2025-08-20 18:34:44,426 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf932aff-b243-42f9-9a56-13d5be47ad8d 2025-08-20 18:34:44,432 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf932aff-b243-42f9-9a56-13d5be47ad8d 2025-08-20 18:34:44,441 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a6edfaea-e2c0-4ecc-8f4c-564f87764bb0 2025-08-20 18:34:44,453 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-89472454', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29963078', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2680487361882049867', 'uuid-lslong': '11986923820786998105'}, 'enable': 'true', 'created': '2025-08-20T18:34:41', 'last-modified': '2025-08-20T18:34:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434758'} 2025-08-20 18:34:44,460 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 18:34:44,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89472454 passed 2025-08-20 18:34:44,460 - DEBUG - ====Verifying policy data for ctest-vn-89472454 in API_Server ====== 2025-08-20 18:34:44,460 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-20 18:34:44,465 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2511146f-3451-4b71-95c0-8b8d23a21af6 2025-08-20 18:34:44,476 - DEBUG - Requesting: http://10.0.0.38:8082/project/febf1c40-706c-46f6-af32-370fe586e0dd 2025-08-20 18:34:44,549 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2533010d-c5e7-4d4b-a65a-1bb49fad5b59 2025-08-20 18:34:44,560 - DEBUG - ==>Verifying data for policy with id: 16a73e1b-37cd-465c-b8f7-08ef65645cdf, fqn: ['default-domain', 'ctest-TestBasicPolicy-29963078', 'ctest-policy-allow-all-86867712'] 2025-08-20 18:34:44,560 - INFO - VN ctest-vn-89472454 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 18:34:44,560 - DEBUG - Verifying the vn in opserver 2025-08-20 18:34:44,560 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-89472454 virtual network link through opserver 10.0.0.38 2025-08-20 18:34:44,560 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-20 18:34:44,572 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-89472454', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-89472454?flat'} 2025-08-20 18:34:44,572 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-89472454 is found in opserver 2025-08-20 18:34:44,583 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 18:34:44,588 - DEBUG - VRF ids for VN ctest-vn-89472454: {} 2025-08-20 18:34:44,638 - DEBUG - Services list from nova: [, , ] 2025-08-20 18:34:45,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3901-1) 2025-08-20 18:34:46,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3901-1) 2025-08-20 18:34:46,727 - INFO - Waiting for VM ctest-TestBasicPolicy-29963078-56349214 to be up.. 2025-08-20 18:34:46,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 18:34:51,888 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:34:51,888 - INFO - VM name : ctest-TestBasicPolicy-29963078-56349214 2025-08-20 18:34:51,963 - DEBUG - VM ctest-TestBasicPolicy-29963078-56349214 ID is 41fe0ae7-550c-4143-b6b4-4d4409386a18 2025-08-20 18:34:51,982 - DEBUG - VM ctest-TestBasicPolicy-29963078-56349214 launched on Node cn-jenkins-deploy-platform-ansible-os-3901-1 2025-08-20 18:34:52,051 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/41fe0ae7-550c-4143-b6b4-4d4409386a18 2025-08-20 18:34:52,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/02465526-6bb9-4ffe-bf6f-3f2342c34e76 2025-08-20 18:34:55,336 - 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 1023ms') 2025-08-20 18:34:55,336 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29963078-56349214 failed! 2025-08-20 18:34:55,393 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29963078:ctest-vn-02235122 is 134.158.158.65 and allocation pool is NOT set 2025-08-20 18:34:57,466 - 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=5.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.042/4.054/5.067/1.012 ms') 2025-08-20 18:34:57,466 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29963078-56349214 passed 2025-08-20 18:34:57,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:34:57,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29963078-56349214, IP 134.158.158.67, Port 22 2025-08-20 18:34:57,674 - 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-08-20 18:34:57,757 - DEBUG - VM ctest-TestBasicPolicy-29963078-56349214 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-20 18:35:02,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:35:02,758 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29963078-56349214, IP 134.158.158.67, Port 22 2025-08-20 18:35:02,925 - DEBUG - VM ctest-TestBasicPolicy-29963078-56349214 is ready for SSH connections 2025-08-20 18:35:02,925 - INFO - Waiting for VM ctest-TestBasicPolicy-29963078-40668396 to be up.. 2025-08-20 18:35:03,040 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:35:03,040 - INFO - VM name : ctest-TestBasicPolicy-29963078-40668396 2025-08-20 18:35:03,116 - DEBUG - VM ctest-TestBasicPolicy-29963078-40668396 ID is 36b2052f-a86c-451b-9f04-498054632307 2025-08-20 18:35:03,116 - DEBUG - VM ctest-TestBasicPolicy-29963078-40668396 launched on Node cn-jenkins-deploy-platform-ansible-os-3901-1 2025-08-20 18:35:03,189 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/36b2052f-a86c-451b-9f04-498054632307 2025-08-20 18:35:03,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/51a235d8-8d3a-437d-8f5a-cd92c8ccb706 2025-08-20 18:35:04,445 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.525/2.612/1.087 ms') 2025-08-20 18:35:04,445 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29963078-40668396 passed 2025-08-20 18:35:04,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:35:04,601 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29963078-40668396, IP 122.232.171.67, Port 22 2025-08-20 18:35:04,756 - DEBUG - VM ctest-TestBasicPolicy-29963078-40668396 is ready for SSH connections 2025-08-20 18:35:04,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:35:04,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.232.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-20 18:35:04,757 - DEBUG - ping -s 56 -c 3 -W 1 122.232.171.67 2025-08-20 18:35:08,733 - DEBUG - PING 122.232.171.67 (122.232.171.67): 56 data bytes 64 bytes from 122.232.171.67: seq=0 ttl=63 time=3.989 ms 64 bytes from 122.232.171.67: seq=1 ttl=63 time=0.708 ms 64 bytes from 122.232.171.67: seq=2 ttl=63 time=0.738 ms --- 122.232.171.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/1.811/3.989 ms 2025-08-20 18:35:08,733 - INFO - Ping to IP 122.232.171.67 from VM ctest-TestBasicPolicy-29963078-56349214 passed 2025-08-20 18:35:08,932 - DEBUG - Policy Update Response {"network-policy": {"uuid": "16a73e1b-37cd-465c-b8f7-08ef65645cdf", "href": "http://10.0.0.38:8082/network-policy/16a73e1b-37cd-465c-b8f7-08ef65645cdf"}} 2025-08-20 18:35:08,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:35:08,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.232.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-20 18:35:08,933 - DEBUG - ping -s 56 -c 3 -W 1 122.232.171.67 2025-08-20 18:35:12,139 - DEBUG - PING 122.232.171.67 (122.232.171.67): 56 data bytes --- 122.232.171.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 18:35:12,139 - WARNING - Ping to IP 122.232.171.67 from VM ctest-TestBasicPolicy-29963078-56349214 failed 2025-08-20 18:35:12,139 - INFO - Deleting VM ctest-TestBasicPolicy-29963078-40668396 2025-08-20 18:35:12,213 - INFO - Deleting VM ctest-TestBasicPolicy-29963078-56349214 2025-08-20 18:35:12,612 - INFO - Deleted policy ctest-policy-allow-all-86867712 2025-08-20 18:35:12,612 - INFO - Deleting VN ctest-vn-89472454 2025-08-20 18:35:12,650 - DEBUG - VN 2533010d-c5e7-4d4b-a65a-1bb49fad5b59 still in use: Unable to complete operation on network 2533010d-c5e7-4d4b-a65a-1bb49fad5b59. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33ef0f89-f4a1-4cce-b792-76bb2cb7aac8'] 2025-08-20 18:35:12,651 - WARNING - Deleting VN ctest-vn-89472454 failed..Will retry 2025-08-20 18:35:14,756 - DEBUG - Response for deleting network () 2025-08-20 18:35:14,756 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cf932aff-b243-42f9-9a56-13d5be47ad8d 2025-08-20 18:35:14,762 - DEBUG - Response Code: 404 2025-08-20 18:35:14,762 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-20 18:35:14,768 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2511146f-3451-4b71-95c0-8b8d23a21af6 2025-08-20 18:35:14,823 - DEBUG - Requesting: http://10.0.0.38:8082/project/febf1c40-706c-46f6-af32-370fe586e0dd 2025-08-20 18:35:14,898 - INFO - Validated that VN ctest-vn-89472454 is not found in API Server 2025-08-20 18:35:14,909 - DEBUG - VN ctest-vn-89472454 is not present in Agent 10.0.0.38 2025-08-20 18:35:14,909 - INFO - Validated that VN ctest-vn-89472454 is not in any agent 2025-08-20 18:35:14,924 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89472454 info 2025-08-20 18:35:14,924 - INFO - Deleting VN ctest-vn-02235122 2025-08-20 18:35:15,029 - DEBUG - Response for deleting network () 2025-08-20 18:35:15,029 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/85853f81-a1d1-4ac7-8bfa-b84224e8b655 2025-08-20 18:35:15,036 - DEBUG - Response Code: 404 2025-08-20 18:35:15,036 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-20 18:35:15,042 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2511146f-3451-4b71-95c0-8b8d23a21af6 2025-08-20 18:35:15,094 - DEBUG - Requesting: http://10.0.0.38:8082/project/febf1c40-706c-46f6-af32-370fe586e0dd 2025-08-20 18:35:15,164 - INFO - Validated that VN ctest-vn-02235122 is not found in API Server 2025-08-20 18:35:15,177 - DEBUG - VN ctest-vn-02235122 is not present in Agent 10.0.0.38 2025-08-20 18:35:15,177 - INFO - Validated that VN ctest-vn-02235122 is not in any agent 2025-08-20 18:35:15,193 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02235122 info 2025-08-20 18:35:15,455 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 18:35:15,455 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-08-20 18:35:15,455 - INFO - -------------------------------------------------------------------------------- 2025-08-20 18:35:16,113 - INFO - Deleted project: ctest-TestBasicPolicy-29963078, ID : febf1c40-706c-46f6-af32-370fe586e0dd