2025-05-29 18:13:07,815 - INFO - Domain Default found not creating 2025-05-29 18:13:07,955 - INFO - Project ctest-TestBasicPolicy-76539159 not found, creating it 2025-05-29 18:13:08,394 - INFO - Created Project:ctest-TestBasicPolicy-76539159, ID : 2309b3cd-0801-49d9-8b19-d70edcbae032 2025-05-29 18:13:09,972 - INFO - ================================================================================ 2025-05-29 18:13:09,972 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-29 18:13:09,972 - 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-05-29 18:13:10,230 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-29 18:13:10,231 - INFO - Initial checks done. Running the testcase now 2025-05-29 18:13:10,231 - INFO - 2025-05-29 18:13:10,827 - DEBUG - Response for create_network : {'network': {'id': '97cf7015-85a6-4eed-b8ea-943e7c98bc6a', 'name': 'ctest-vn-99598339', 'tenant_id': '2309b3cd080149d98b19d70edcbae032', 'project_id': '2309b3cd080149d98b19d70edcbae032', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76539159', 'ctest-vn-99598339'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 18:13:10,995 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f70e44c9-8d69-44e6-bb32-b922567b8a43', 'name': '', 'tenant_id': '2309b3cd080149d98b19d70edcbae032', 'network_id': '97cf7015-85a6-4eed-b8ea-943e7c98bc6a', 'ip_version': 4, 'cidr': '74.73.102.0/26', 'allocation_pools': [{'start': '74.73.102.2', 'end': '74.73.102.62'}], 'gateway_ip': '74.73.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.73.102.2', 'tags': [], 'project_id': '2309b3cd080149d98b19d70edcbae032'}} 2025-05-29 18:13:11,017 - INFO - Created VN ctest-vn-99598339 2025-05-29 18:13:11,072 - DEBUG - VN ctest-vn-99598339 UUID is 97cf7015-85a6-4eed-b8ea-943e7c98bc6a 2025-05-29 18:13:11,369 - DEBUG - Response for create_network : {'network': {'id': 'b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c', 'name': 'ctest-vn-96235617', 'tenant_id': '2309b3cd080149d98b19d70edcbae032', 'project_id': '2309b3cd080149d98b19d70edcbae032', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76539159', 'ctest-vn-96235617'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 18:13:11,532 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd72fe056-1dbd-4476-8cf7-de22ebbab4ac', 'name': '', 'tenant_id': '2309b3cd080149d98b19d70edcbae032', 'network_id': 'b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c', 'ip_version': 4, 'cidr': '104.72.44.0/26', 'allocation_pools': [{'start': '104.72.44.2', 'end': '104.72.44.62'}], 'gateway_ip': '104.72.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.72.44.2', 'tags': [], 'project_id': '2309b3cd080149d98b19d70edcbae032'}} 2025-05-29 18:13:11,552 - INFO - Created VN ctest-vn-96235617 2025-05-29 18:13:11,604 - DEBUG - VN ctest-vn-96235617 UUID is b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c 2025-05-29 18:13:11,717 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-99598339, 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-76539159:ctest-vn-96235617, 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-05-29 18:13:12,039 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97cf7015-85a6-4eed-b8ea-943e7c98bc6a', 'name': 'ctest-vn-99598339', 'tenant_id': '2309b3cd080149d98b19d70edcbae032', 'project_id': '2309b3cd080149d98b19d70edcbae032', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f70e44c9-8d69-44e6-bb32-b922567b8a43'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76539159', 'ctest-vn-99598339'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76539159', 'ctest-policy-allow-all-97808742']], 'subnet_ipam': [{'subnet_cidr': '74.73.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 18:13:12,277 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c', 'name': 'ctest-vn-96235617', 'tenant_id': '2309b3cd080149d98b19d70edcbae032', 'project_id': '2309b3cd080149d98b19d70edcbae032', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d72fe056-1dbd-4476-8cf7-de22ebbab4ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76539159', 'ctest-vn-96235617'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76539159', 'ctest-policy-allow-all-97808742']], 'subnet_ipam': [{'subnet_cidr': '104.72.44.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 18:13:12,444 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 18:13:12,786 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 18:13:12,815 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b657cc8-581c-4c95-9720-890b9b7b8ccb 2025-05-29 18:13:12,829 - DEBUG - Requesting: http://10.0.0.38:8082/project/2309b3cd-0801-49d9-8b19-d70edcbae032 2025-05-29 18:13:12,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97cf7015-85a6-4eed-b8ea-943e7c98bc6a 2025-05-29 18:13:12,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97cf7015-85a6-4eed-b8ea-943e7c98bc6a 2025-05-29 18:13:12,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f0f7bff-34dc-41e5-953c-67ff1c05d9fd 2025-05-29 18:13:12,934 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f0f7bff-34dc-41e5-953c-67ff1c05d9fd 2025-05-29 18:13:12,942 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e59739cd-6a84-45ec-9275-4f2be3c6acac 2025-05-29 18:13:12,949 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 18:13:12,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97cf7015-85a6-4eed-b8ea-943e7c98bc6a 2025-05-29 18:13:12,959 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f0f7bff-34dc-41e5-953c-67ff1c05d9fd 2025-05-29 18:13:12,974 - INFO - Verified VN network id 8 for VN 97cf7015-85a6-4eed-b8ea-943e7c98bc6a 2025-05-29 18:13:12,974 - INFO - Verifications in API Server for VN ctest-vn-99598339 passed 2025-05-29 18:13:12,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97cf7015-85a6-4eed-b8ea-943e7c98bc6a 2025-05-29 18:13:12,983 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f0f7bff-34dc-41e5-953c-67ff1c05d9fd 2025-05-29 18:13:12,991 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f0f7bff-34dc-41e5-953c-67ff1c05d9fd 2025-05-29 18:13:12,997 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e59739cd-6a84-45ec-9275-4f2be3c6acac 2025-05-29 18:13:13,010 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-99598339', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76539159', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10939085257645117165', 'uuid-lslong': '13324625443628301418'}, 'enable': 'true', 'created': '2025-05-29T18:13:10', 'last-modified': '2025-05-29T18:13:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005915'} 2025-05-29 18:13:13,017 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 18:13:13,017 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99598339 passed 2025-05-29 18:13:13,017 - DEBUG - ====Verifying policy data for ctest-vn-99598339 in API_Server ====== 2025-05-29 18:13:13,017 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 18:13:13,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b657cc8-581c-4c95-9720-890b9b7b8ccb 2025-05-29 18:13:13,037 - DEBUG - Requesting: http://10.0.0.38:8082/project/2309b3cd-0801-49d9-8b19-d70edcbae032 2025-05-29 18:13:13,110 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97cf7015-85a6-4eed-b8ea-943e7c98bc6a 2025-05-29 18:13:13,120 - DEBUG - ==>Verifying data for policy with id: 2a0c9b13-92d2-42a8-8e21-4c00583dd123, fqn: ['default-domain', 'ctest-TestBasicPolicy-76539159', 'ctest-policy-allow-all-97808742'] 2025-05-29 18:13:13,120 - INFO - VN ctest-vn-99598339 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 18:13:13,121 - DEBUG - Verifying the vn in opserver 2025-05-29 18:13:13,121 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-99598339 virtual network link through opserver 10.0.0.38 2025-05-29 18:13:13,121 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 18:13:13,453 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 18:13:13,508 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-99598339', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-99598339?flat'} 2025-05-29 18:13:13,508 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-99598339 is found in opserver 2025-05-29 18:13:13,519 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 18:13:13,525 - DEBUG - VRF ids for VN ctest-vn-99598339: {} 2025-05-29 18:13:13,525 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 18:13:13,531 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b657cc8-581c-4c95-9720-890b9b7b8ccb 2025-05-29 18:13:13,544 - DEBUG - Requesting: http://10.0.0.38:8082/project/2309b3cd-0801-49d9-8b19-d70edcbae032 2025-05-29 18:13:13,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c 2025-05-29 18:13:13,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c 2025-05-29 18:13:13,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3f64243-4648-48cb-9dea-bf301a5aa543 2025-05-29 18:13:13,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3f64243-4648-48cb-9dea-bf301a5aa543 2025-05-29 18:13:13,656 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/75129995-7cb3-42f7-abf1-6a8af3028141 2025-05-29 18:13:13,663 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 18:13:13,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c 2025-05-29 18:13:13,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3f64243-4648-48cb-9dea-bf301a5aa543 2025-05-29 18:13:13,688 - INFO - Verified VN network id 9 for VN b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c 2025-05-29 18:13:13,688 - INFO - Verifications in API Server for VN ctest-vn-96235617 passed 2025-05-29 18:13:13,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c 2025-05-29 18:13:13,699 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3f64243-4648-48cb-9dea-bf301a5aa543 2025-05-29 18:13:13,708 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3f64243-4648-48cb-9dea-bf301a5aa543 2025-05-29 18:13:13,716 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/75129995-7cb3-42f7-abf1-6a8af3028141 2025-05-29 18:13:13,731 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-96235617', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76539159', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12687415213861653125', 'uuid-lslong': '10423754087468617052'}, 'enable': 'true', 'created': '2025-05-29T18:13:11', 'last-modified': '2025-05-29T18:13:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.478481'} 2025-05-29 18:13:13,738 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 18:13:13,738 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96235617 passed 2025-05-29 18:13:13,739 - DEBUG - ====Verifying policy data for ctest-vn-96235617 in API_Server ====== 2025-05-29 18:13:13,739 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 18:13:13,745 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b657cc8-581c-4c95-9720-890b9b7b8ccb 2025-05-29 18:13:13,758 - DEBUG - Requesting: http://10.0.0.38:8082/project/2309b3cd-0801-49d9-8b19-d70edcbae032 2025-05-29 18:13:13,832 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c 2025-05-29 18:13:13,843 - DEBUG - ==>Verifying data for policy with id: 2a0c9b13-92d2-42a8-8e21-4c00583dd123, fqn: ['default-domain', 'ctest-TestBasicPolicy-76539159', 'ctest-policy-allow-all-97808742'] 2025-05-29 18:13:13,843 - INFO - VN ctest-vn-96235617 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 18:13:13,843 - DEBUG - Verifying the vn in opserver 2025-05-29 18:13:13,843 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-96235617 virtual network link through opserver 10.0.0.38 2025-05-29 18:13:13,843 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-29 18:13:13,856 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-96235617', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-96235617?flat'} 2025-05-29 18:13:13,856 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-96235617 is found in opserver 2025-05-29 18:13:13,868 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 18:13:13,874 - DEBUG - VRF ids for VN ctest-vn-96235617: {} 2025-05-29 18:13:13,931 - DEBUG - Services list from nova: [, , ] 2025-05-29 18:13:15,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3370-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3370-1) 2025-05-29 18:13:16,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3370-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3370-1) 2025-05-29 18:13:16,353 - INFO - Waiting for VM ctest-TestBasicPolicy-76539159-07798037 to be up.. 2025-05-29 18:13:16,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 18:13:21,513 - DEBUG - VM is in ACTIVE state now 2025-05-29 18:13:21,513 - INFO - VM name : ctest-TestBasicPolicy-76539159-07798037 2025-05-29 18:13:21,594 - DEBUG - VM ctest-TestBasicPolicy-76539159-07798037 ID is f207c2ef-8689-40f4-96a0-c761d02483f4 2025-05-29 18:13:21,613 - DEBUG - VM ctest-TestBasicPolicy-76539159-07798037 launched on Node cn-jenkins-deploy-platform-ansible-os-3370-1 2025-05-29 18:13:21,692 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f207c2ef-8689-40f4-96a0-c761d02483f4 2025-05-29 18:13:21,701 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4aace5cc-5b7b-4278-b9af-22919f34c813 2025-05-29 18:13:24,975 - 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 1027ms') 2025-05-29 18:13:24,975 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76539159-07798037 failed! 2025-05-29 18:13:25,032 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76539159:ctest-vn-99598339 is 74.73.102.1 and allocation pool is NOT set 2025-05-29 18:13:27,095 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.936 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 = 0.936/4.956/8.976/4.020 ms') 2025-05-29 18:13:27,095 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76539159-07798037 passed 2025-05-29 18:13:27,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 18:13:27,252 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76539159-07798037, IP 74.73.102.3, Port 22 2025-05-29 18:13:27,318 - 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-05-29 18:13:27,397 - DEBUG - VM ctest-TestBasicPolicy-76539159-07798037 is NOT ready for SSH connections, VM status: ACTIVE 2025-05-29 18:13:32,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 18:13:32,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76539159-07798037, IP 74.73.102.3, Port 22 2025-05-29 18:13:32,559 - DEBUG - VM ctest-TestBasicPolicy-76539159-07798037 is ready for SSH connections 2025-05-29 18:13:32,559 - INFO - Waiting for VM ctest-TestBasicPolicy-76539159-75550685 to be up.. 2025-05-29 18:13:32,637 - DEBUG - VM is in ACTIVE state now 2025-05-29 18:13:32,637 - INFO - VM name : ctest-TestBasicPolicy-76539159-75550685 2025-05-29 18:13:32,714 - DEBUG - VM ctest-TestBasicPolicy-76539159-75550685 ID is db9f3281-fdec-4763-a7e1-8bbb953d2591 2025-05-29 18:13:32,714 - DEBUG - VM ctest-TestBasicPolicy-76539159-75550685 launched on Node cn-jenkins-deploy-platform-ansible-os-3370-1 2025-05-29 18:13:32,791 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db9f3281-fdec-4763-a7e1-8bbb953d2591 2025-05-29 18:13:32,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/964abdf4-d67e-4114-a09b-a8dfdd350819 2025-05-29 18:13:34,054 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 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.538/1.497/2.457/0.959 ms') 2025-05-29 18:13:34,054 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76539159-75550685 passed 2025-05-29 18:13:34,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 18:13:34,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76539159-75550685, IP 104.72.44.3, Port 22 2025-05-29 18:13:34,379 - DEBUG - VM ctest-TestBasicPolicy-76539159-75550685 is ready for SSH connections 2025-05-29 18:13:34,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 18:13:34,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.72.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-29 18:13:34,379 - DEBUG - ping -s 56 -c 3 -W 1 104.72.44.3 2025-05-29 18:13:38,111 - DEBUG - PING 104.72.44.3 (104.72.44.3): 56 data bytes 64 bytes from 104.72.44.3: seq=0 ttl=63 time=3.742 ms 64 bytes from 104.72.44.3: seq=1 ttl=63 time=0.836 ms 64 bytes from 104.72.44.3: seq=2 ttl=63 time=0.784 ms --- 104.72.44.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.787/3.742 ms 2025-05-29 18:13:38,111 - INFO - Ping to IP 104.72.44.3 from VM ctest-TestBasicPolicy-76539159-07798037 passed 2025-05-29 18:13:38,299 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2a0c9b13-92d2-42a8-8e21-4c00583dd123", "href": "http://10.0.0.38:8082/network-policy/2a0c9b13-92d2-42a8-8e21-4c00583dd123"}} 2025-05-29 18:13:38,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 18:13:38,300 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.72.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-29 18:13:38,300 - DEBUG - ping -s 56 -c 3 -W 1 104.72.44.3 2025-05-29 18:13:41,527 - DEBUG - PING 104.72.44.3 (104.72.44.3): 56 data bytes 64 bytes from 104.72.44.3: seq=0 ttl=63 time=1.500 ms --- 104.72.44.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.500/1.500/1.500 ms 2025-05-29 18:13:41,527 - WARNING - Ping to IP 104.72.44.3 from VM ctest-TestBasicPolicy-76539159-07798037 failed 2025-05-29 18:13:41,527 - INFO - Deleting VM ctest-TestBasicPolicy-76539159-75550685 2025-05-29 18:13:41,601 - INFO - Deleting VM ctest-TestBasicPolicy-76539159-07798037 2025-05-29 18:13:42,022 - INFO - Deleted policy ctest-policy-allow-all-97808742 2025-05-29 18:13:42,022 - INFO - Deleting VN ctest-vn-96235617 2025-05-29 18:13:42,069 - DEBUG - VN b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c still in use: Unable to complete operation on network b012c0ea-8c1c-4a85-90a8-9d1d7997cd5c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-528b22c9-475e-408d-952b-388997c8dde1'] 2025-05-29 18:13:42,069 - WARNING - Deleting VN ctest-vn-96235617 failed..Will retry 2025-05-29 18:13:44,178 - DEBUG - Response for deleting network () 2025-05-29 18:13:44,179 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3f64243-4648-48cb-9dea-bf301a5aa543 2025-05-29 18:13:44,187 - DEBUG - Response Code: 404 2025-05-29 18:13:44,187 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 18:13:44,194 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b657cc8-581c-4c95-9720-890b9b7b8ccb 2025-05-29 18:13:44,251 - DEBUG - Requesting: http://10.0.0.38:8082/project/2309b3cd-0801-49d9-8b19-d70edcbae032 2025-05-29 18:13:44,322 - INFO - Validated that VN ctest-vn-96235617 is not found in API Server 2025-05-29 18:13:44,335 - DEBUG - VN ctest-vn-96235617 is not present in Agent 10.0.0.38 2025-05-29 18:13:44,335 - INFO - Validated that VN ctest-vn-96235617 is not in any agent 2025-05-29 18:13:44,352 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96235617 info 2025-05-29 18:13:44,352 - INFO - Deleting VN ctest-vn-99598339 2025-05-29 18:13:44,465 - DEBUG - Response for deleting network () 2025-05-29 18:13:44,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f0f7bff-34dc-41e5-953c-67ff1c05d9fd 2025-05-29 18:13:44,471 - DEBUG - Response Code: 404 2025-05-29 18:13:44,471 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-29 18:13:44,476 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6b657cc8-581c-4c95-9720-890b9b7b8ccb 2025-05-29 18:13:44,529 - DEBUG - Requesting: http://10.0.0.38:8082/project/2309b3cd-0801-49d9-8b19-d70edcbae032 2025-05-29 18:13:44,606 - INFO - Validated that VN ctest-vn-99598339 is not found in API Server 2025-05-29 18:13:44,618 - DEBUG - VN ctest-vn-99598339 is not present in Agent 10.0.0.38 2025-05-29 18:13:44,618 - INFO - Validated that VN ctest-vn-99598339 is not in any agent 2025-05-29 18:13:44,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99598339 info 2025-05-29 18:13:44,890 - DEBUG - No XMPP flaps were noticed during the test 2025-05-29 18:13:44,891 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-05-29 18:13:44,891 - INFO - -------------------------------------------------------------------------------- 2025-05-29 18:13:45,618 - INFO - Deleted project: ctest-TestBasicPolicy-76539159, ID : 2309b3cd-0801-49d9-8b19-d70edcbae032