2025-05-31 12:54:42,506 - INFO - Domain Default found not creating 2025-05-31 12:54:42,638 - INFO - Project ctest-TestBasicPolicy-90723059 not found, creating it 2025-05-31 12:54:43,183 - INFO - Created Project:ctest-TestBasicPolicy-90723059, ID : 4e761001-0001-46ad-9155-e2861ce67044 2025-05-31 12:54:44,744 - INFO - ================================================================================ 2025-05-31 12:54:44,744 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-31 12:54:44,744 - 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-31 12:54:45,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-31 12:54:45,000 - INFO - Initial checks done. Running the testcase now 2025-05-31 12:54:45,000 - INFO - 2025-05-31 12:54:45,581 - DEBUG - Response for create_network : {'network': {'id': '59ee0da5-1ce7-4e41-9547-67f6acb0211d', 'name': 'ctest-vn-22153289', 'tenant_id': '4e761001000146ad9155e2861ce67044', 'project_id': '4e761001000146ad9155e2861ce67044', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90723059', 'ctest-vn-22153289'], 'port_security_enabled': True, 'description': ''}} 2025-05-31 12:54:45,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aaa7262-0eef-405b-a06b-53a6048b3c94', 'name': '', 'tenant_id': '4e761001000146ad9155e2861ce67044', 'network_id': '59ee0da5-1ce7-4e41-9547-67f6acb0211d', 'ip_version': 4, 'cidr': '189.81.16.192/26', 'allocation_pools': [{'start': '189.81.16.194', 'end': '189.81.16.254'}], 'gateway_ip': '189.81.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.81.16.194', 'tags': [], 'project_id': '4e761001000146ad9155e2861ce67044'}} 2025-05-31 12:54:45,820 - INFO - Created VN ctest-vn-22153289 2025-05-31 12:54:45,874 - DEBUG - VN ctest-vn-22153289 UUID is 59ee0da5-1ce7-4e41-9547-67f6acb0211d 2025-05-31 12:54:46,202 - DEBUG - Response for create_network : {'network': {'id': '22175f15-b52e-42d4-bdf6-1b6c99238e54', 'name': 'ctest-vn-69995956', 'tenant_id': '4e761001000146ad9155e2861ce67044', 'project_id': '4e761001000146ad9155e2861ce67044', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90723059', 'ctest-vn-69995956'], 'port_security_enabled': True, 'description': ''}} 2025-05-31 12:54:46,412 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7c2fad1-92fc-495d-a420-f4a0544c7d5f', 'name': '', 'tenant_id': '4e761001000146ad9155e2861ce67044', 'network_id': '22175f15-b52e-42d4-bdf6-1b6c99238e54', 'ip_version': 4, 'cidr': '134.50.82.64/26', 'allocation_pools': [{'start': '134.50.82.66', 'end': '134.50.82.126'}], 'gateway_ip': '134.50.82.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.50.82.66', 'tags': [], 'project_id': '4e761001000146ad9155e2861ce67044'}} 2025-05-31 12:54:46,430 - INFO - Created VN ctest-vn-69995956 2025-05-31 12:54:46,482 - DEBUG - VN ctest-vn-69995956 UUID is 22175f15-b52e-42d4-bdf6-1b6c99238e54 2025-05-31 12:54:46,634 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-22153289, 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-90723059:ctest-vn-69995956, 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-31 12:54:46,944 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59ee0da5-1ce7-4e41-9547-67f6acb0211d', 'name': 'ctest-vn-22153289', 'tenant_id': '4e761001000146ad9155e2861ce67044', 'project_id': '4e761001000146ad9155e2861ce67044', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9aaa7262-0eef-405b-a06b-53a6048b3c94'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90723059', 'ctest-vn-22153289'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90723059', 'ctest-policy-allow-all-80017357']], 'subnet_ipam': [{'subnet_cidr': '189.81.16.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-31 12:54:47,237 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22175f15-b52e-42d4-bdf6-1b6c99238e54', 'name': 'ctest-vn-69995956', 'tenant_id': '4e761001000146ad9155e2861ce67044', 'project_id': '4e761001000146ad9155e2861ce67044', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7c2fad1-92fc-495d-a420-f4a0544c7d5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90723059', 'ctest-vn-69995956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90723059', 'ctest-policy-allow-all-80017357']], 'subnet_ipam': [{'subnet_cidr': '134.50.82.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-31 12:54:47,386 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-31 12:54:47,720 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-31 12:54:47,750 - DEBUG - Requesting: http://10.0.0.254:8082/domain/beb5b3e1-5cb5-46e0-bd1f-f444b59efc81 2025-05-31 12:54:47,765 - DEBUG - Requesting: http://10.0.0.254:8082/project/4e761001-0001-46ad-9155-e2861ce67044 2025-05-31 12:54:47,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59ee0da5-1ce7-4e41-9547-67f6acb0211d 2025-05-31 12:54:47,853 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59ee0da5-1ce7-4e41-9547-67f6acb0211d 2025-05-31 12:54:47,864 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab19d072-f571-4030-8ff5-67f7f595d59f 2025-05-31 12:54:47,872 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab19d072-f571-4030-8ff5-67f7f595d59f 2025-05-31 12:54:47,880 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c173caee-4e1a-4181-9ece-4ac395a18a07 2025-05-31 12:54:47,887 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-31 12:54:47,887 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59ee0da5-1ce7-4e41-9547-67f6acb0211d 2025-05-31 12:54:47,897 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab19d072-f571-4030-8ff5-67f7f595d59f 2025-05-31 12:54:47,910 - INFO - Verified VN network id 8 for VN 59ee0da5-1ce7-4e41-9547-67f6acb0211d 2025-05-31 12:54:47,910 - INFO - Verifications in API Server for VN ctest-vn-22153289 passed 2025-05-31 12:54:47,910 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59ee0da5-1ce7-4e41-9547-67f6acb0211d 2025-05-31 12:54:47,919 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab19d072-f571-4030-8ff5-67f7f595d59f 2025-05-31 12:54:47,926 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab19d072-f571-4030-8ff5-67f7f595d59f 2025-05-31 12:54:47,932 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c173caee-4e1a-4181-9ece-4ac395a18a07 2025-05-31 12:54:47,944 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-22153289', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90723059', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6480131916638408257', 'uuid-lslong': '10756680544154558749'}, 'enable': 'true', 'created': '2025-05-31T12:54:45', 'last-modified': '2025-05-31T12:54:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.026389'} 2025-05-31 12:54:47,950 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-31 12:54:47,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22153289 passed 2025-05-31 12:54:47,951 - DEBUG - ====Verifying policy data for ctest-vn-22153289 in API_Server ====== 2025-05-31 12:54:47,951 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-31 12:54:47,956 - DEBUG - Requesting: http://10.0.0.254:8082/domain/beb5b3e1-5cb5-46e0-bd1f-f444b59efc81 2025-05-31 12:54:47,967 - DEBUG - Requesting: http://10.0.0.254:8082/project/4e761001-0001-46ad-9155-e2861ce67044 2025-05-31 12:54:48,038 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/59ee0da5-1ce7-4e41-9547-67f6acb0211d 2025-05-31 12:54:48,048 - DEBUG - ==>Verifying data for policy with id: a1503b15-2a9b-4407-9b9e-5c09c0634bdb, fqn: ['default-domain', 'ctest-TestBasicPolicy-90723059', 'ctest-policy-allow-all-80017357'] 2025-05-31 12:54:48,048 - INFO - VN ctest-vn-22153289 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-31 12:54:48,048 - DEBUG - Verifying the vn in opserver 2025-05-31 12:54:48,048 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-22153289 virtual network link through opserver 10.0.0.254 2025-05-31 12:54:48,048 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-31 12:54:48,392 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-31 12:54:48,446 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-22153289', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-22153289?flat'} 2025-05-31 12:54:48,446 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-22153289 is found in opserver 2025-05-31 12:54:48,458 - DEBUG - Do not have enough data to verify VN in agent 2025-05-31 12:54:48,464 - DEBUG - VRF ids for VN ctest-vn-22153289: {} 2025-05-31 12:54:48,464 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-31 12:54:48,470 - DEBUG - Requesting: http://10.0.0.254:8082/domain/beb5b3e1-5cb5-46e0-bd1f-f444b59efc81 2025-05-31 12:54:48,481 - DEBUG - Requesting: http://10.0.0.254:8082/project/4e761001-0001-46ad-9155-e2861ce67044 2025-05-31 12:54:48,550 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/22175f15-b52e-42d4-bdf6-1b6c99238e54 2025-05-31 12:54:48,566 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/22175f15-b52e-42d4-bdf6-1b6c99238e54 2025-05-31 12:54:48,576 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc45334b-9a38-4d37-a894-66f33e7f5add 2025-05-31 12:54:48,583 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc45334b-9a38-4d37-a894-66f33e7f5add 2025-05-31 12:54:48,590 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5a4ce9b0-8fc4-49b1-bedb-167466e61226 2025-05-31 12:54:48,596 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-31 12:54:48,596 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/22175f15-b52e-42d4-bdf6-1b6c99238e54 2025-05-31 12:54:48,607 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc45334b-9a38-4d37-a894-66f33e7f5add 2025-05-31 12:54:48,623 - INFO - Verified VN network id 9 for VN 22175f15-b52e-42d4-bdf6-1b6c99238e54 2025-05-31 12:54:48,623 - INFO - Verifications in API Server for VN ctest-vn-69995956 passed 2025-05-31 12:54:48,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/22175f15-b52e-42d4-bdf6-1b6c99238e54 2025-05-31 12:54:48,635 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc45334b-9a38-4d37-a894-66f33e7f5add 2025-05-31 12:54:48,643 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc45334b-9a38-4d37-a894-66f33e7f5add 2025-05-31 12:54:48,651 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5a4ce9b0-8fc4-49b1-bedb-167466e61226 2025-05-31 12:54:48,683 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-69995956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90723059', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2456536668592554708', 'uuid-lslong': '13688158270678863444'}, 'enable': 'true', 'created': '2025-05-31T12:54:46', 'last-modified': '2025-05-31T12:54:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.531167'} 2025-05-31 12:54:48,690 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-31 12:54:48,690 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69995956 passed 2025-05-31 12:54:48,690 - DEBUG - ====Verifying policy data for ctest-vn-69995956 in API_Server ====== 2025-05-31 12:54:48,690 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-31 12:54:48,697 - DEBUG - Requesting: http://10.0.0.254:8082/domain/beb5b3e1-5cb5-46e0-bd1f-f444b59efc81 2025-05-31 12:54:48,713 - DEBUG - Requesting: http://10.0.0.254:8082/project/4e761001-0001-46ad-9155-e2861ce67044 2025-05-31 12:54:48,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/22175f15-b52e-42d4-bdf6-1b6c99238e54 2025-05-31 12:54:48,805 - DEBUG - ==>Verifying data for policy with id: a1503b15-2a9b-4407-9b9e-5c09c0634bdb, fqn: ['default-domain', 'ctest-TestBasicPolicy-90723059', 'ctest-policy-allow-all-80017357'] 2025-05-31 12:54:48,805 - INFO - VN ctest-vn-69995956 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-31 12:54:48,805 - DEBUG - Verifying the vn in opserver 2025-05-31 12:54:48,805 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-69995956 virtual network link through opserver 10.0.0.254 2025-05-31 12:54:48,806 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-31 12:54:48,820 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-69995956', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-69995956?flat'} 2025-05-31 12:54:48,820 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-69995956 is found in opserver 2025-05-31 12:54:48,833 - DEBUG - Do not have enough data to verify VN in agent 2025-05-31 12:54:48,841 - DEBUG - VRF ids for VN ctest-vn-69995956: {} 2025-05-31 12:54:48,897 - DEBUG - Services list from nova: [, , ] 2025-05-31 12:54:49,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3377-1) 2025-05-31 12:54:51,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3377-1) 2025-05-31 12:54:51,256 - INFO - Waiting for VM ctest-TestBasicPolicy-90723059-51743942 to be up.. 2025-05-31 12:54:51,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-31 12:54:56,417 - DEBUG - VM is in ACTIVE state now 2025-05-31 12:54:56,417 - INFO - VM name : ctest-TestBasicPolicy-90723059-51743942 2025-05-31 12:54:56,489 - DEBUG - VM ctest-TestBasicPolicy-90723059-51743942 ID is a6af2042-e778-47df-8edb-78317d404dab 2025-05-31 12:54:56,507 - DEBUG - VM ctest-TestBasicPolicy-90723059-51743942 launched on Node cn-jenkins-deploy-platform-ansible-os-3377-1 2025-05-31 12:54:56,579 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6af2042-e778-47df-8edb-78317d404dab 2025-05-31 12:54:56,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6713fd03-b65c-4060-b709-d73eb968f9a4 2025-05-31 12:54:59,833 - 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 1011ms') 2025-05-31 12:54:59,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90723059-51743942 failed! 2025-05-31 12:54:59,890 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90723059:ctest-vn-22153289 is 189.81.16.193 and allocation pool is NOT set 2025-05-31 12:55:01,951 - 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=6.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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.477/3.708/6.939/3.231 ms') 2025-05-31 12:55:01,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90723059-51743942 passed 2025-05-31 12:55:02,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 12:55:02,110 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90723059-51743942, IP 189.81.16.195, Port 22 2025-05-31 12:55:02,284 - DEBUG - VM ctest-TestBasicPolicy-90723059-51743942 is ready for SSH connections 2025-05-31 12:55:02,284 - INFO - Waiting for VM ctest-TestBasicPolicy-90723059-41745599 to be up.. 2025-05-31 12:55:02,376 - DEBUG - VM is in ACTIVE state now 2025-05-31 12:55:02,376 - INFO - VM name : ctest-TestBasicPolicy-90723059-41745599 2025-05-31 12:55:02,464 - DEBUG - VM ctest-TestBasicPolicy-90723059-41745599 ID is 21bab77d-8afb-40f1-bee3-7b898cdb571a 2025-05-31 12:55:02,464 - DEBUG - VM ctest-TestBasicPolicy-90723059-41745599 launched on Node cn-jenkins-deploy-platform-ansible-os-3377-1 2025-05-31 12:55:02,548 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/21bab77d-8afb-40f1-bee3-7b898cdb571a 2025-05-31 12:55:02,557 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7d3b3bf5-90e5-4d04-a938-050e72685a58 2025-05-31 12:55:03,818 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 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.369/1.910/3.452/1.541 ms') 2025-05-31 12:55:03,818 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90723059-41745599 passed 2025-05-31 12:55:03,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 12:55:03,966 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90723059-41745599, IP 134.50.82.67, Port 22 2025-05-31 12:55:04,125 - DEBUG - VM ctest-TestBasicPolicy-90723059-41745599 is ready for SSH connections 2025-05-31 12:55:04,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 12:55:04,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.50.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-31 12:55:04,126 - DEBUG - ping -s 56 -c 3 -W 1 134.50.82.67 2025-05-31 12:55:07,849 - DEBUG - PING 134.50.82.67 (134.50.82.67): 56 data bytes 64 bytes from 134.50.82.67: seq=0 ttl=63 time=3.875 ms 64 bytes from 134.50.82.67: seq=1 ttl=63 time=0.833 ms 64 bytes from 134.50.82.67: seq=2 ttl=63 time=0.831 ms --- 134.50.82.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/1.846/3.875 ms 2025-05-31 12:55:07,849 - INFO - Ping to IP 134.50.82.67 from VM ctest-TestBasicPolicy-90723059-51743942 passed 2025-05-31 12:55:08,030 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a1503b15-2a9b-4407-9b9e-5c09c0634bdb", "href": "http://10.0.0.254:8082/network-policy/a1503b15-2a9b-4407-9b9e-5c09c0634bdb"}} 2025-05-31 12:55:08,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 12:55:08,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.50.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-31 12:55:08,030 - DEBUG - ping -s 56 -c 3 -W 1 134.50.82.67 2025-05-31 12:55:11,270 - DEBUG - PING 134.50.82.67 (134.50.82.67): 56 data bytes --- 134.50.82.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-31 12:55:11,270 - WARNING - Ping to IP 134.50.82.67 from VM ctest-TestBasicPolicy-90723059-51743942 failed 2025-05-31 12:55:11,270 - INFO - Deleting VM ctest-TestBasicPolicy-90723059-41745599 2025-05-31 12:55:11,330 - INFO - Deleting VM ctest-TestBasicPolicy-90723059-51743942 2025-05-31 12:55:11,691 - INFO - Deleted policy ctest-policy-allow-all-80017357 2025-05-31 12:55:11,692 - INFO - Deleting VN ctest-vn-69995956 2025-05-31 12:55:11,725 - DEBUG - VN 22175f15-b52e-42d4-bdf6-1b6c99238e54 still in use: Unable to complete operation on network 22175f15-b52e-42d4-bdf6-1b6c99238e54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c10d54c0-9244-42ca-ba1b-a70252ad1892'] 2025-05-31 12:55:11,725 - WARNING - Deleting VN ctest-vn-69995956 failed..Will retry 2025-05-31 12:55:13,829 - DEBUG - Response for deleting network () 2025-05-31 12:55:13,829 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc45334b-9a38-4d37-a894-66f33e7f5add 2025-05-31 12:55:13,837 - DEBUG - Response Code: 404 2025-05-31 12:55:13,837 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-31 12:55:13,846 - DEBUG - Requesting: http://10.0.0.254:8082/domain/beb5b3e1-5cb5-46e0-bd1f-f444b59efc81 2025-05-31 12:55:13,899 - DEBUG - Requesting: http://10.0.0.254:8082/project/4e761001-0001-46ad-9155-e2861ce67044 2025-05-31 12:55:13,971 - INFO - Validated that VN ctest-vn-69995956 is not found in API Server 2025-05-31 12:55:13,982 - DEBUG - VN ctest-vn-69995956 is not present in Agent 10.0.0.254 2025-05-31 12:55:13,982 - INFO - Validated that VN ctest-vn-69995956 is not in any agent 2025-05-31 12:55:13,998 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69995956 info 2025-05-31 12:55:13,998 - INFO - Deleting VN ctest-vn-22153289 2025-05-31 12:55:14,101 - DEBUG - Response for deleting network () 2025-05-31 12:55:14,102 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab19d072-f571-4030-8ff5-67f7f595d59f 2025-05-31 12:55:14,110 - DEBUG - Response Code: 404 2025-05-31 12:55:14,110 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-31 12:55:14,116 - DEBUG - Requesting: http://10.0.0.254:8082/domain/beb5b3e1-5cb5-46e0-bd1f-f444b59efc81 2025-05-31 12:55:14,173 - DEBUG - Requesting: http://10.0.0.254:8082/project/4e761001-0001-46ad-9155-e2861ce67044 2025-05-31 12:55:14,252 - INFO - Validated that VN ctest-vn-22153289 is not found in API Server 2025-05-31 12:55:14,263 - DEBUG - VN ctest-vn-22153289 is not present in Agent 10.0.0.254 2025-05-31 12:55:14,263 - INFO - Validated that VN ctest-vn-22153289 is not in any agent 2025-05-31 12:55:14,280 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22153289 info 2025-05-31 12:55:14,537 - DEBUG - No XMPP flaps were noticed during the test
2025-05-31 12:55:14,538 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-05-31 12:55:14,538 - INFO - -------------------------------------------------------------------------------- 2025-05-31 12:55:15,248 - INFO - Deleted project: ctest-TestBasicPolicy-90723059, ID : 4e761001-0001-46ad-9155-e2861ce67044