2025-02-11 19:36:36,342 - INFO - Domain Default found not creating 2025-02-11 19:36:36,505 - INFO - Project ctest-TestBasicPolicy-63530956 not found, creating it 2025-02-11 19:36:36,985 - INFO - Created Project:ctest-TestBasicPolicy-63530956, ID : c862b1af-8d11-44b4-9664-8918eeaeed19 2025-02-11 19:36:38,510 - INFO - ================================================================================ 2025-02-11 19:36:38,510 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-11 19:36:38,510 - 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-02-11 19:36:38,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.31': '0'}} with 2025-02-11 19:36:38,773 - INFO - Initial checks done. Running the testcase now 2025-02-11 19:36:38,773 - INFO - 2025-02-11 19:36:39,345 - DEBUG - Response for create_network : {'network': {'id': '3cefbf15-b97e-4f13-b428-98455d16b64e', 'name': 'ctest-vn-34748016', 'tenant_id': 'c862b1af8d1144b496648918eeaeed19', 'project_id': 'c862b1af8d1144b496648918eeaeed19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63530956', 'ctest-vn-34748016'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 19:36:39,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b8e11ee-62d9-4c2b-9cf2-da172d11ec29', 'name': '', 'tenant_id': 'c862b1af8d1144b496648918eeaeed19', 'network_id': '3cefbf15-b97e-4f13-b428-98455d16b64e', 'ip_version': 4, 'cidr': '13.217.225.0/26', 'allocation_pools': [{'start': '13.217.225.2', 'end': '13.217.225.62'}], 'gateway_ip': '13.217.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.217.225.2', 'tags': [], 'project_id': 'c862b1af8d1144b496648918eeaeed19'}} 2025-02-11 19:36:39,601 - INFO - Created VN ctest-vn-34748016 2025-02-11 19:36:39,654 - DEBUG - VN ctest-vn-34748016 UUID is 3cefbf15-b97e-4f13-b428-98455d16b64e 2025-02-11 19:36:39,988 - DEBUG - Response for create_network : {'network': {'id': 'bee5c758-dd2b-4e16-9691-47708e2d20aa', 'name': 'ctest-vn-93229749', 'tenant_id': 'c862b1af8d1144b496648918eeaeed19', 'project_id': 'c862b1af8d1144b496648918eeaeed19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63530956', 'ctest-vn-93229749'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 19:36:40,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cfc0180-2a11-43f6-a6b3-4e12c9be073a', 'name': '', 'tenant_id': 'c862b1af8d1144b496648918eeaeed19', 'network_id': 'bee5c758-dd2b-4e16-9691-47708e2d20aa', 'ip_version': 4, 'cidr': '7.221.114.128/26', 'allocation_pools': [{'start': '7.221.114.130', 'end': '7.221.114.190'}], 'gateway_ip': '7.221.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.221.114.130', 'tags': [], 'project_id': 'c862b1af8d1144b496648918eeaeed19'}} 2025-02-11 19:36:40,196 - INFO - Created VN ctest-vn-93229749 2025-02-11 19:36:40,251 - DEBUG - VN ctest-vn-93229749 UUID is bee5c758-dd2b-4e16-9691-47708e2d20aa 2025-02-11 19:36:40,371 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-34748016, 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-63530956:ctest-vn-93229749, 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-02-11 19:36:40,692 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3cefbf15-b97e-4f13-b428-98455d16b64e', 'name': 'ctest-vn-34748016', 'tenant_id': 'c862b1af8d1144b496648918eeaeed19', 'project_id': 'c862b1af8d1144b496648918eeaeed19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b8e11ee-62d9-4c2b-9cf2-da172d11ec29'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63530956', 'ctest-vn-34748016'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63530956', 'ctest-policy-allow-all-34933980']], 'subnet_ipam': [{'subnet_cidr': '13.217.225.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 19:36:40,933 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bee5c758-dd2b-4e16-9691-47708e2d20aa', 'name': 'ctest-vn-93229749', 'tenant_id': 'c862b1af8d1144b496648918eeaeed19', 'project_id': 'c862b1af8d1144b496648918eeaeed19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8cfc0180-2a11-43f6-a6b3-4e12c9be073a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63530956', 'ctest-vn-93229749'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63530956', 'ctest-policy-allow-all-34933980']], 'subnet_ipam': [{'subnet_cidr': '7.221.114.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 19:36:41,110 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 19:36:41,412 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 19:36:41,444 - DEBUG - Requesting: http://10.0.0.31:8082/domain/8d5f0e47-5b59-44b1-8577-9bbacf27fcc5 2025-02-11 19:36:41,464 - DEBUG - Requesting: http://10.0.0.31:8082/project/c862b1af-8d11-44b4-9664-8918eeaeed19 2025-02-11 19:36:41,544 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/3cefbf15-b97e-4f13-b428-98455d16b64e 2025-02-11 19:36:41,563 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/3cefbf15-b97e-4f13-b428-98455d16b64e 2025-02-11 19:36:41,574 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/5c5f1f0c-c35c-4258-9a98-671c74dbe3f6 2025-02-11 19:36:41,583 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/5c5f1f0c-c35c-4258-9a98-671c74dbe3f6 2025-02-11 19:36:41,591 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/44a6a698-d3b2-477d-b499-9ec2b59b0ddc 2025-02-11 19:36:41,599 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 19:36:41,599 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/3cefbf15-b97e-4f13-b428-98455d16b64e 2025-02-11 19:36:41,610 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/5c5f1f0c-c35c-4258-9a98-671c74dbe3f6 2025-02-11 19:36:41,629 - INFO - Verified VN network id 8 for VN 3cefbf15-b97e-4f13-b428-98455d16b64e 2025-02-11 19:36:41,629 - INFO - Verifications in API Server for VN ctest-vn-34748016 passed 2025-02-11 19:36:41,629 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/3cefbf15-b97e-4f13-b428-98455d16b64e 2025-02-11 19:36:41,641 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/5c5f1f0c-c35c-4258-9a98-671c74dbe3f6 2025-02-11 19:36:41,652 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/5c5f1f0c-c35c-4258-9a98-671c74dbe3f6 2025-02-11 19:36:41,664 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/44a6a698-d3b2-477d-b499-9ec2b59b0ddc 2025-02-11 19:36:41,679 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-34748016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63530956', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4390938261736804115', 'uuid-lslong': '12981793349577389646'}, 'enable': 'true', 'created': '2025-02-11T19:36:39', 'last-modified': '2025-02-11T19:36:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.020079'} 2025-02-11 19:36:41,686 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 19:36:41,686 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34748016 passed 2025-02-11 19:36:41,687 - DEBUG - ====Verifying policy data for ctest-vn-34748016 in API_Server ====== 2025-02-11 19:36:41,687 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 19:36:41,694 - DEBUG - Requesting: http://10.0.0.31:8082/domain/8d5f0e47-5b59-44b1-8577-9bbacf27fcc5 2025-02-11 19:36:41,708 - DEBUG - Requesting: http://10.0.0.31:8082/project/c862b1af-8d11-44b4-9664-8918eeaeed19 2025-02-11 19:36:41,782 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/3cefbf15-b97e-4f13-b428-98455d16b64e 2025-02-11 19:36:41,796 - DEBUG - ==>Verifying data for policy with id: 640c51eb-a48a-40bc-9089-63dde698cea8, fqn: ['default-domain', 'ctest-TestBasicPolicy-63530956', 'ctest-policy-allow-all-34933980'] 2025-02-11 19:36:41,796 - INFO - VN ctest-vn-34748016 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 19:36:41,796 - DEBUG - Verifying the vn in opserver 2025-02-11 19:36:41,796 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-34748016 virtual network link through opserver 10.0.0.31 2025-02-11 19:36:41,796 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-11 19:36:42,104 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-11 19:36:42,165 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-34748016', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-34748016?flat'} 2025-02-11 19:36:42,165 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-34748016 is found in opserver 2025-02-11 19:36:42,178 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 19:36:42,185 - DEBUG - VRF ids for VN ctest-vn-34748016: {} 2025-02-11 19:36:42,185 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 19:36:42,192 - DEBUG - Requesting: http://10.0.0.31:8082/domain/8d5f0e47-5b59-44b1-8577-9bbacf27fcc5 2025-02-11 19:36:42,206 - DEBUG - Requesting: http://10.0.0.31:8082/project/c862b1af-8d11-44b4-9664-8918eeaeed19 2025-02-11 19:36:42,289 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/bee5c758-dd2b-4e16-9691-47708e2d20aa 2025-02-11 19:36:42,303 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/bee5c758-dd2b-4e16-9691-47708e2d20aa 2025-02-11 19:36:42,316 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fdc1f782-bff2-4767-85f0-e6d2d0a4b3ea 2025-02-11 19:36:42,325 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fdc1f782-bff2-4767-85f0-e6d2d0a4b3ea 2025-02-11 19:36:42,334 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/41123e13-ca70-4b5b-823f-338345836951 2025-02-11 19:36:42,341 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 19:36:42,341 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/bee5c758-dd2b-4e16-9691-47708e2d20aa 2025-02-11 19:36:42,352 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fdc1f782-bff2-4767-85f0-e6d2d0a4b3ea 2025-02-11 19:36:42,369 - INFO - Verified VN network id 9 for VN bee5c758-dd2b-4e16-9691-47708e2d20aa 2025-02-11 19:36:42,369 - INFO - Verifications in API Server for VN ctest-vn-93229749 passed 2025-02-11 19:36:42,369 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/bee5c758-dd2b-4e16-9691-47708e2d20aa 2025-02-11 19:36:42,383 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fdc1f782-bff2-4767-85f0-e6d2d0a4b3ea 2025-02-11 19:36:42,392 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fdc1f782-bff2-4767-85f0-e6d2d0a4b3ea 2025-02-11 19:36:42,399 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/41123e13-ca70-4b5b-823f-338345836951 2025-02-11 19:36:42,413 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-93229749', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63530956', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13755619821354700310', 'uuid-lslong': '10849531526059466922'}, 'enable': 'true', 'created': '2025-02-11T19:36:39', 'last-modified': '2025-02-11T19:36:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.503415'} 2025-02-11 19:36:42,420 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 19:36:42,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93229749 passed 2025-02-11 19:36:42,420 - DEBUG - ====Verifying policy data for ctest-vn-93229749 in API_Server ====== 2025-02-11 19:36:42,420 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 19:36:42,428 - DEBUG - Requesting: http://10.0.0.31:8082/domain/8d5f0e47-5b59-44b1-8577-9bbacf27fcc5 2025-02-11 19:36:42,442 - DEBUG - Requesting: http://10.0.0.31:8082/project/c862b1af-8d11-44b4-9664-8918eeaeed19 2025-02-11 19:36:42,520 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/bee5c758-dd2b-4e16-9691-47708e2d20aa 2025-02-11 19:36:42,531 - DEBUG - ==>Verifying data for policy with id: 640c51eb-a48a-40bc-9089-63dde698cea8, fqn: ['default-domain', 'ctest-TestBasicPolicy-63530956', 'ctest-policy-allow-all-34933980'] 2025-02-11 19:36:42,531 - INFO - VN ctest-vn-93229749 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 19:36:42,531 - DEBUG - Verifying the vn in opserver 2025-02-11 19:36:42,531 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-93229749 virtual network link through opserver 10.0.0.31 2025-02-11 19:36:42,531 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-11 19:36:42,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-93229749', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-93229749?flat'} 2025-02-11 19:36:42,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-93229749 is found in opserver 2025-02-11 19:36:42,566 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 19:36:42,572 - DEBUG - VRF ids for VN ctest-vn-93229749: {} 2025-02-11 19:36:42,636 - DEBUG - Services list from nova: [, , ] 2025-02-11 19:36:43,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2722-1) 2025-02-11 19:36:44,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2722-1) 2025-02-11 19:36:44,966 - INFO - Waiting for VM ctest-TestBasicPolicy-63530956-75200920 to be up.. 2025-02-11 19:36:45,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 19:36:50,157 - DEBUG - VM is in ACTIVE state now 2025-02-11 19:36:50,157 - INFO - VM name : ctest-TestBasicPolicy-63530956-75200920 2025-02-11 19:36:50,247 - DEBUG - VM ctest-TestBasicPolicy-63530956-75200920 ID is e12f414f-852a-434d-98b8-d941787d753e 2025-02-11 19:36:50,268 - DEBUG - VM ctest-TestBasicPolicy-63530956-75200920 launched on Node cn-jenkins-deploy-platform-ansible-os-2722-1 2025-02-11 19:36:50,355 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/e12f414f-852a-434d-98b8-d941787d753e 2025-02-11 19:36:50,366 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/32c6ffa2-a663-465d-bb50-a3bdb4b079d9 2025-02-11 19:36:53,634 - 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 1014ms') 2025-02-11 19:36:53,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63530956-75200920 failed! 2025-02-11 19:36:53,690 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63530956:ctest-vn-34748016 is 13.217.225.1 and allocation pool is NOT set 2025-02-11 19:36:55,761 - 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=15.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.59 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.588/9.210/15.833/6.622 ms') 2025-02-11 19:36:55,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63530956-75200920 passed 2025-02-11 19:36:55,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:36:55,919 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63530956-75200920, IP 13.217.225.3, Port 22 2025-02-11 19:36:56,089 - DEBUG - VM ctest-TestBasicPolicy-63530956-75200920 is ready for SSH connections 2025-02-11 19:36:56,089 - INFO - Waiting for VM ctest-TestBasicPolicy-63530956-10866872 to be up.. 2025-02-11 19:36:56,206 - DEBUG - VM is in ACTIVE state now 2025-02-11 19:36:56,206 - INFO - VM name : ctest-TestBasicPolicy-63530956-10866872 2025-02-11 19:36:56,300 - DEBUG - VM ctest-TestBasicPolicy-63530956-10866872 ID is 4f9c88e8-e83a-4493-924d-d4ef7884df55 2025-02-11 19:36:56,300 - DEBUG - VM ctest-TestBasicPolicy-63530956-10866872 launched on Node cn-jenkins-deploy-platform-ansible-os-2722-1 2025-02-11 19:36:56,385 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/4f9c88e8-e83a-4493-924d-d4ef7884df55 2025-02-11 19:36:56,395 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/057b9160-d0fc-427c-b32b-b6ba2505dd3c 2025-02-11 19:36:57,652 - 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=5.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.878 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.878/3.156/5.434/2.278 ms') 2025-02-11 19:36:57,653 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63530956-10866872 passed 2025-02-11 19:36:57,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:36:57,819 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63530956-10866872, IP 7.221.114.131, Port 22 2025-02-11 19:36:57,978 - DEBUG - VM ctest-TestBasicPolicy-63530956-10866872 is ready for SSH connections 2025-02-11 19:36:57,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:36:57,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.221.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-02-11 19:36:57,979 - DEBUG - ping -s 56 -c 3 -W 1 7.221.114.131 2025-02-11 19:37:02,101 - DEBUG - PING 7.221.114.131 (7.221.114.131): 56 data bytes 64 bytes from 7.221.114.131: seq=0 ttl=63 time=3.735 ms 64 bytes from 7.221.114.131: seq=1 ttl=63 time=1.140 ms 64 bytes from 7.221.114.131: seq=2 ttl=63 time=1.057 ms --- 7.221.114.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.057/1.977/3.735 ms 2025-02-11 19:37:02,101 - INFO - Ping to IP 7.221.114.131 from VM ctest-TestBasicPolicy-63530956-75200920 passed 2025-02-11 19:37:02,298 - DEBUG - Policy Update Response {"network-policy": {"uuid": "640c51eb-a48a-40bc-9089-63dde698cea8", "href": "http://10.0.0.31:8082/network-policy/640c51eb-a48a-40bc-9089-63dde698cea8"}} 2025-02-11 19:37:02,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:37:02,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.221.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-02-11 19:37:02,299 - DEBUG - ping -s 56 -c 3 -W 1 7.221.114.131 2025-02-11 19:37:05,515 - DEBUG - PING 7.221.114.131 (7.221.114.131): 56 data bytes 64 bytes from 7.221.114.131: seq=0 ttl=63 time=1.736 ms --- 7.221.114.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.736/1.736/1.736 ms 2025-02-11 19:37:05,515 - WARNING - Ping to IP 7.221.114.131 from VM ctest-TestBasicPolicy-63530956-75200920 failed 2025-02-11 19:37:05,515 - INFO - Deleting VM ctest-TestBasicPolicy-63530956-10866872 2025-02-11 19:37:05,612 - INFO - Deleting VM ctest-TestBasicPolicy-63530956-75200920 2025-02-11 19:37:06,333 - INFO - Deleted policy ctest-policy-allow-all-34933980 2025-02-11 19:37:06,334 - INFO - Deleting VN ctest-vn-93229749 2025-02-11 19:37:06,435 - DEBUG - VN bee5c758-dd2b-4e16-9691-47708e2d20aa still in use: Unable to complete operation on network bee5c758-dd2b-4e16-9691-47708e2d20aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b8fec242-43c2-4432-b8b4-ba5b8a1cb4b0'] 2025-02-11 19:37:06,436 - WARNING - Deleting VN ctest-vn-93229749 failed..Will retry 2025-02-11 19:37:08,557 - DEBUG - Response for deleting network () 2025-02-11 19:37:08,557 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fdc1f782-bff2-4767-85f0-e6d2d0a4b3ea 2025-02-11 19:37:08,565 - DEBUG - Response Code: 404 2025-02-11 19:37:08,565 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 19:37:08,571 - DEBUG - Requesting: http://10.0.0.31:8082/domain/8d5f0e47-5b59-44b1-8577-9bbacf27fcc5 2025-02-11 19:37:08,630 - DEBUG - Requesting: http://10.0.0.31:8082/project/c862b1af-8d11-44b4-9664-8918eeaeed19 2025-02-11 19:37:08,707 - INFO - Validated that VN ctest-vn-93229749 is not found in API Server 2025-02-11 19:37:08,718 - DEBUG - VN ctest-vn-93229749 is not present in Agent 10.0.0.31 2025-02-11 19:37:08,718 - INFO - Validated that VN ctest-vn-93229749 is not in any agent 2025-02-11 19:37:08,735 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93229749 info 2025-02-11 19:37:08,736 - INFO - Deleting VN ctest-vn-34748016 2025-02-11 19:37:08,855 - DEBUG - Response for deleting network () 2025-02-11 19:37:08,856 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/5c5f1f0c-c35c-4258-9a98-671c74dbe3f6 2025-02-11 19:37:08,862 - DEBUG - Response Code: 404 2025-02-11 19:37:08,862 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 19:37:08,868 - DEBUG - Requesting: http://10.0.0.31:8082/domain/8d5f0e47-5b59-44b1-8577-9bbacf27fcc5 2025-02-11 19:37:08,926 - DEBUG - Requesting: http://10.0.0.31:8082/project/c862b1af-8d11-44b4-9664-8918eeaeed19 2025-02-11 19:37:08,998 - INFO - Validated that VN ctest-vn-34748016 is not found in API Server 2025-02-11 19:37:09,010 - DEBUG - VN ctest-vn-34748016 is not present in Agent 10.0.0.31 2025-02-11 19:37:09,010 - INFO - Validated that VN ctest-vn-34748016 is not in any agent 2025-02-11 19:37:09,028 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34748016 info 2025-02-11 19:37:09,285 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 19:37:09,285 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-02-11 19:37:09,285 - INFO - -------------------------------------------------------------------------------- 2025-02-11 19:37:09,989 - INFO - Deleted project: ctest-TestBasicPolicy-63530956, ID : c862b1af-8d11-44b4-9664-8918eeaeed19