2025-01-04 17:11:14,973 - INFO - Domain Default found not creating 2025-01-04 17:11:15,105 - INFO - Project ctest-TestBasicPolicy-76042628 not found, creating it 2025-01-04 17:11:15,551 - INFO - Created Project:ctest-TestBasicPolicy-76042628, ID : b47ba0b7-7f9e-45fe-9332-74b0a9d63e01 2025-01-04 17:11:16,953 - INFO - ================================================================================ 2025-01-04 17:11:16,953 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-04 17:11:16,953 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-01-04 17:11:17,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.10': '0'}} with 2025-01-04 17:11:17,220 - INFO - Initial checks done. Running the testcase now 2025-01-04 17:11:17,220 - INFO - 2025-01-04 17:11:17,753 - DEBUG - Response for create_network : {'network': {'id': 'b75161d3-e56d-4887-9cf4-f99105196e38', 'name': 'ctest-vn-33753040', 'tenant_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'project_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76042628', 'ctest-vn-33753040'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 17:11:17,971 - DEBUG - Response for create_subnet : {'subnet': {'id': '4398b15f-c157-4489-a3be-176bcd67c645', 'name': '', 'tenant_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'network_id': 'b75161d3-e56d-4887-9cf4-f99105196e38', 'ip_version': 4, 'cidr': '140.79.46.0/26', 'allocation_pools': [{'start': '140.79.46.2', 'end': '140.79.46.62'}], 'gateway_ip': '140.79.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.79.46.2', 'tags': [], 'project_id': 'b47ba0b77f9e45fe933274b0a9d63e01'}} 2025-01-04 17:11:17,988 - INFO - Created VN ctest-vn-33753040 2025-01-04 17:11:18,039 - DEBUG - VN ctest-vn-33753040 UUID is b75161d3-e56d-4887-9cf4-f99105196e38 2025-01-04 17:11:18,307 - DEBUG - Response for create_network : {'network': {'id': '5bff6b89-961b-4c93-a2ac-5bc70639d276', 'name': 'ctest-vn-06663877', 'tenant_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'project_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76042628', 'ctest-vn-06663877'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 17:11:18,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '7669e1b3-aee5-4a9e-9405-784b600d6f2a', 'name': '', 'tenant_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'network_id': '5bff6b89-961b-4c93-a2ac-5bc70639d276', 'ip_version': 4, 'cidr': '7.202.96.0/26', 'allocation_pools': [{'start': '7.202.96.2', 'end': '7.202.96.62'}], 'gateway_ip': '7.202.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.202.96.2', 'tags': [], 'project_id': 'b47ba0b77f9e45fe933274b0a9d63e01'}} 2025-01-04 17:11:18,527 - INFO - Created VN ctest-vn-06663877 2025-01-04 17:11:18,579 - DEBUG - VN ctest-vn-06663877 UUID is 5bff6b89-961b-4c93-a2ac-5bc70639d276 2025-01-04 17:11:18,731 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-33753040, 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-76042628:ctest-vn-06663877, 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-01-04 17:11:19,030 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b75161d3-e56d-4887-9cf4-f99105196e38', 'name': 'ctest-vn-33753040', 'tenant_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'project_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4398b15f-c157-4489-a3be-176bcd67c645'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76042628', 'ctest-vn-33753040'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76042628', 'ctest-policy-allow-all-81728083']], 'subnet_ipam': [{'subnet_cidr': '140.79.46.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-04 17:11:19,220 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5bff6b89-961b-4c93-a2ac-5bc70639d276', 'name': 'ctest-vn-06663877', 'tenant_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'project_id': 'b47ba0b77f9e45fe933274b0a9d63e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7669e1b3-aee5-4a9e-9405-784b600d6f2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76042628', 'ctest-vn-06663877'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76042628', 'ctest-policy-allow-all-81728083']], 'subnet_ipam': [{'subnet_cidr': '7.202.96.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-04 17:11:19,383 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-04 17:11:19,672 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-04 17:11:19,699 - DEBUG - Requesting: http://10.0.0.22:8082/domain/992db890-e31f-41ed-bb8e-f9cba29cc2b6 2025-01-04 17:11:19,712 - DEBUG - Requesting: http://10.0.0.22:8082/project/b47ba0b7-7f9e-45fe-9332-74b0a9d63e01 2025-01-04 17:11:19,785 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b75161d3-e56d-4887-9cf4-f99105196e38 2025-01-04 17:11:19,796 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b75161d3-e56d-4887-9cf4-f99105196e38 2025-01-04 17:11:19,805 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/59386514-37b4-4dd4-9bff-69a88d38a660 2025-01-04 17:11:19,812 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/59386514-37b4-4dd4-9bff-69a88d38a660 2025-01-04 17:11:19,819 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9cf764cb-8afd-40ee-ad9a-f3a9b9a6bccb 2025-01-04 17:11:19,829 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-04 17:11:19,829 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b75161d3-e56d-4887-9cf4-f99105196e38 2025-01-04 17:11:19,839 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/59386514-37b4-4dd4-9bff-69a88d38a660 2025-01-04 17:11:19,853 - INFO - Verified VN network id 8 for VN b75161d3-e56d-4887-9cf4-f99105196e38 2025-01-04 17:11:19,853 - INFO - Verifications in API Server for VN ctest-vn-33753040 passed 2025-01-04 17:11:19,853 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b75161d3-e56d-4887-9cf4-f99105196e38 2025-01-04 17:11:19,863 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/59386514-37b4-4dd4-9bff-69a88d38a660 2025-01-04 17:11:19,870 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/59386514-37b4-4dd4-9bff-69a88d38a660 2025-01-04 17:11:19,877 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9cf764cb-8afd-40ee-ad9a-f3a9b9a6bccb 2025-01-04 17:11:19,888 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-33753040', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76042628', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13209446744769513607', 'uuid-lslong': '11309938965485284920'}, 'enable': 'true', 'created': '2025-01-04T17:11:17', 'last-modified': '2025-01-04T17:11:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.879446'} 2025-01-04 17:11:19,895 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-04 17:11:19,895 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33753040 passed 2025-01-04 17:11:19,895 - DEBUG - ====Verifying policy data for ctest-vn-33753040 in API_Server ====== 2025-01-04 17:11:19,895 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-04 17:11:19,900 - DEBUG - Requesting: http://10.0.0.22:8082/domain/992db890-e31f-41ed-bb8e-f9cba29cc2b6 2025-01-04 17:11:19,911 - DEBUG - Requesting: http://10.0.0.22:8082/project/b47ba0b7-7f9e-45fe-9332-74b0a9d63e01 2025-01-04 17:11:19,987 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b75161d3-e56d-4887-9cf4-f99105196e38 2025-01-04 17:11:19,998 - DEBUG - ==>Verifying data for policy with id: 723ead84-6369-4ecd-a8fc-31c9ccbef773, fqn: ['default-domain', 'ctest-TestBasicPolicy-76042628', 'ctest-policy-allow-all-81728083'] 2025-01-04 17:11:19,998 - INFO - VN ctest-vn-33753040 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-04 17:11:19,998 - DEBUG - Verifying the vn in opserver 2025-01-04 17:11:19,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-33753040 virtual network link through opserver 10.0.0.22 2025-01-04 17:11:19,999 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-04 17:11:20,303 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-04 17:11:20,361 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-33753040', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-33753040?flat'} 2025-01-04 17:11:20,361 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-33753040 is found in opserver 2025-01-04 17:11:20,371 - DEBUG - Do not have enough data to verify VN in agent 2025-01-04 17:11:20,376 - DEBUG - VRF ids for VN ctest-vn-33753040: {} 2025-01-04 17:11:20,376 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-04 17:11:20,382 - DEBUG - Requesting: http://10.0.0.22:8082/domain/992db890-e31f-41ed-bb8e-f9cba29cc2b6 2025-01-04 17:11:20,393 - DEBUG - Requesting: http://10.0.0.22:8082/project/b47ba0b7-7f9e-45fe-9332-74b0a9d63e01 2025-01-04 17:11:20,468 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5bff6b89-961b-4c93-a2ac-5bc70639d276 2025-01-04 17:11:20,480 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5bff6b89-961b-4c93-a2ac-5bc70639d276 2025-01-04 17:11:20,488 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c6072271-176f-4e97-81ea-75a01d85bb62 2025-01-04 17:11:20,495 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c6072271-176f-4e97-81ea-75a01d85bb62 2025-01-04 17:11:20,501 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/42310432-9148-47ea-879e-aebaa01a7e20 2025-01-04 17:11:20,507 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-04 17:11:20,507 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5bff6b89-961b-4c93-a2ac-5bc70639d276 2025-01-04 17:11:20,516 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c6072271-176f-4e97-81ea-75a01d85bb62 2025-01-04 17:11:20,528 - INFO - Verified VN network id 9 for VN 5bff6b89-961b-4c93-a2ac-5bc70639d276 2025-01-04 17:11:20,528 - INFO - Verifications in API Server for VN ctest-vn-06663877 passed 2025-01-04 17:11:20,528 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5bff6b89-961b-4c93-a2ac-5bc70639d276 2025-01-04 17:11:20,537 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c6072271-176f-4e97-81ea-75a01d85bb62 2025-01-04 17:11:20,543 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c6072271-176f-4e97-81ea-75a01d85bb62 2025-01-04 17:11:20,550 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/42310432-9148-47ea-879e-aebaa01a7e20 2025-01-04 17:11:20,561 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-06663877', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76042628', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6629135415185722515', 'uuid-lslong': '11721844840499630710'}, 'enable': 'true', 'created': '2025-01-04T17:11:18', 'last-modified': '2025-01-04T17:11:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364582'} 2025-01-04 17:11:20,567 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-04 17:11:20,567 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06663877 passed 2025-01-04 17:11:20,567 - DEBUG - ====Verifying policy data for ctest-vn-06663877 in API_Server ====== 2025-01-04 17:11:20,567 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-04 17:11:20,573 - DEBUG - Requesting: http://10.0.0.22:8082/domain/992db890-e31f-41ed-bb8e-f9cba29cc2b6 2025-01-04 17:11:20,584 - DEBUG - Requesting: http://10.0.0.22:8082/project/b47ba0b7-7f9e-45fe-9332-74b0a9d63e01 2025-01-04 17:11:20,654 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5bff6b89-961b-4c93-a2ac-5bc70639d276 2025-01-04 17:11:20,664 - DEBUG - ==>Verifying data for policy with id: 723ead84-6369-4ecd-a8fc-31c9ccbef773, fqn: ['default-domain', 'ctest-TestBasicPolicy-76042628', 'ctest-policy-allow-all-81728083'] 2025-01-04 17:11:20,664 - INFO - VN ctest-vn-06663877 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-04 17:11:20,664 - DEBUG - Verifying the vn in opserver 2025-01-04 17:11:20,664 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-06663877 virtual network link through opserver 10.0.0.22 2025-01-04 17:11:20,664 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-04 17:11:20,673 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-06663877', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-06663877?flat'} 2025-01-04 17:11:20,673 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-06663877 is found in opserver 2025-01-04 17:11:20,683 - DEBUG - Do not have enough data to verify VN in agent 2025-01-04 17:11:20,687 - DEBUG - VRF ids for VN ctest-vn-06663877: {} 2025-01-04 17:11:20,739 - DEBUG - Services list from nova: [, , ] 2025-01-04 17:11:21,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2525-1) 2025-01-04 17:11:22,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2525-1) 2025-01-04 17:11:22,929 - INFO - Waiting for VM ctest-TestBasicPolicy-76042628-60761160 to be up.. 2025-01-04 17:11:23,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-04 17:11:28,082 - DEBUG - VM is in ACTIVE state now 2025-01-04 17:11:28,082 - INFO - VM name : ctest-TestBasicPolicy-76042628-60761160 2025-01-04 17:11:28,157 - DEBUG - VM ctest-TestBasicPolicy-76042628-60761160 ID is 052111f9-8062-4748-991d-eef95b2b7773 2025-01-04 17:11:28,176 - DEBUG - VM ctest-TestBasicPolicy-76042628-60761160 launched on Node cn-jenkins-deploy-platform-ansible-os-2525-1 2025-01-04 17:11:28,250 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/052111f9-8062-4748-991d-eef95b2b7773 2025-01-04 17:11:28,259 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c80d35f7-724f-4dfc-8aec-7bb9337809f7 2025-01-04 17:11:31,538 - 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 1031ms') 2025-01-04 17:11:31,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76042628-60761160 failed! 2025-01-04 17:11:31,591 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76042628:ctest-vn-33753040 is 140.79.46.1 and allocation pool is NOT set 2025-01-04 17:11:33,778 - 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=3.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 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 = 0.504/2.001/3.498/1.497 ms') 2025-01-04 17:11:33,778 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76042628-60761160 passed 2025-01-04 17:11:33,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 17:11:33,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76042628-60761160, IP 140.79.46.3, Port 22 2025-01-04 17:11:34,096 - DEBUG - VM ctest-TestBasicPolicy-76042628-60761160 is ready for SSH connections 2025-01-04 17:11:34,096 - INFO - Waiting for VM ctest-TestBasicPolicy-76042628-01377770 to be up.. 2025-01-04 17:11:34,174 - DEBUG - VM is in ACTIVE state now 2025-01-04 17:11:34,174 - INFO - VM name : ctest-TestBasicPolicy-76042628-01377770 2025-01-04 17:11:34,249 - DEBUG - VM ctest-TestBasicPolicy-76042628-01377770 ID is 612b47a8-394e-4a0a-a9af-8ffb8e51c6e9 2025-01-04 17:11:34,250 - DEBUG - VM ctest-TestBasicPolicy-76042628-01377770 launched on Node cn-jenkins-deploy-platform-ansible-os-2525-1 2025-01-04 17:11:34,330 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/612b47a8-394e-4a0a-a9af-8ffb8e51c6e9 2025-01-04 17:11:34,338 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c924cebd-7f88-4eb8-b9d6-8ab375a5a319 2025-01-04 17:11:35,576 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.521/2.637/1.115 ms') 2025-01-04 17:11:35,576 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76042628-01377770 passed 2025-01-04 17:11:35,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 17:11:35,723 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76042628-01377770, IP 7.202.96.3, Port 22 2025-01-04 17:11:35,875 - DEBUG - VM ctest-TestBasicPolicy-76042628-01377770 is ready for SSH connections 2025-01-04 17:11:35,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 17:11:35,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.202.96.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-04 17:11:35,875 - DEBUG - ping -s 56 -c 3 -W 1 7.202.96.3 2025-01-04 17:11:39,828 - DEBUG - PING 7.202.96.3 (7.202.96.3): 56 data bytes 64 bytes from 7.202.96.3: seq=0 ttl=63 time=3.889 ms 64 bytes from 7.202.96.3: seq=1 ttl=63 time=0.839 ms 64 bytes from 7.202.96.3: seq=2 ttl=63 time=1.219 ms --- 7.202.96.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.982/3.889 ms 2025-01-04 17:11:39,828 - INFO - Ping to IP 7.202.96.3 from VM ctest-TestBasicPolicy-76042628-60761160 passed 2025-01-04 17:11:40,019 - DEBUG - Policy Update Response {"network-policy": {"uuid": "723ead84-6369-4ecd-a8fc-31c9ccbef773", "href": "http://10.0.0.22:8082/network-policy/723ead84-6369-4ecd-a8fc-31c9ccbef773"}} 2025-01-04 17:11:40,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 17:11:40,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.202.96.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-04 17:11:40,019 - DEBUG - ping -s 56 -c 3 -W 1 7.202.96.3 2025-01-04 17:11:43,242 - DEBUG - PING 7.202.96.3 (7.202.96.3): 56 data bytes --- 7.202.96.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-04 17:11:43,243 - WARNING - Ping to IP 7.202.96.3 from VM ctest-TestBasicPolicy-76042628-60761160 failed 2025-01-04 17:11:43,243 - INFO - Deleting VM ctest-TestBasicPolicy-76042628-01377770 2025-01-04 17:11:43,305 - INFO - Deleting VM ctest-TestBasicPolicy-76042628-60761160 2025-01-04 17:11:43,633 - INFO - Deleted policy ctest-policy-allow-all-81728083 2025-01-04 17:11:43,633 - INFO - Deleting VN ctest-vn-06663877 2025-01-04 17:11:43,669 - DEBUG - VN 5bff6b89-961b-4c93-a2ac-5bc70639d276 still in use: Unable to complete operation on network 5bff6b89-961b-4c93-a2ac-5bc70639d276. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-323aed90-4c62-4a93-af9f-2d277635a4dc'] 2025-01-04 17:11:43,669 - WARNING - Deleting VN ctest-vn-06663877 failed..Will retry 2025-01-04 17:11:45,797 - DEBUG - Response for deleting network () 2025-01-04 17:11:45,797 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c6072271-176f-4e97-81ea-75a01d85bb62 2025-01-04 17:11:45,804 - DEBUG - Response Code: 404 2025-01-04 17:11:45,804 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-04 17:11:45,810 - DEBUG - Requesting: http://10.0.0.22:8082/domain/992db890-e31f-41ed-bb8e-f9cba29cc2b6 2025-01-04 17:11:45,864 - DEBUG - Requesting: http://10.0.0.22:8082/project/b47ba0b7-7f9e-45fe-9332-74b0a9d63e01 2025-01-04 17:11:45,942 - INFO - Validated that VN ctest-vn-06663877 is not found in API Server 2025-01-04 17:11:45,953 - DEBUG - VN ctest-vn-06663877 is not present in Agent 10.0.0.22 2025-01-04 17:11:45,953 - INFO - Validated that VN ctest-vn-06663877 is not in any agent 2025-01-04 17:11:45,968 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06663877 info 2025-01-04 17:11:45,968 - INFO - Deleting VN ctest-vn-33753040 2025-01-04 17:11:46,083 - DEBUG - Response for deleting network () 2025-01-04 17:11:46,083 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/59386514-37b4-4dd4-9bff-69a88d38a660 2025-01-04 17:11:46,092 - DEBUG - Response Code: 404 2025-01-04 17:11:46,092 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-04 17:11:46,097 - DEBUG - Requesting: http://10.0.0.22:8082/domain/992db890-e31f-41ed-bb8e-f9cba29cc2b6 2025-01-04 17:11:46,148 - DEBUG - Requesting: http://10.0.0.22:8082/project/b47ba0b7-7f9e-45fe-9332-74b0a9d63e01 2025-01-04 17:11:46,223 - INFO - Validated that VN ctest-vn-33753040 is not found in API Server 2025-01-04 17:11:46,237 - DEBUG - VN ctest-vn-33753040 is not present in Agent 10.0.0.22 2025-01-04 17:11:46,237 - INFO - Validated that VN ctest-vn-33753040 is not in any agent 2025-01-04 17:11:46,254 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33753040 info 2025-01-04 17:11:46,512 - DEBUG - No XMPP flaps were noticed during the test
2025-01-04 17:11:46,512 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-04 17:11:46,512 - INFO - -------------------------------------------------------------------------------- 2025-01-04 17:11:47,200 - INFO - Deleted project: ctest-TestBasicPolicy-76042628, ID : b47ba0b7-7f9e-45fe-9332-74b0a9d63e01