2025-03-19 19:12:23,166 - INFO - Domain Default found not creating 2025-03-19 19:12:23,420 - INFO - Project ctest-TestBasicPolicy-41465882 not found, creating it 2025-03-19 19:12:23,939 - INFO - Created Project:ctest-TestBasicPolicy-41465882, ID : 1bb9dba3-fbd4-4b02-8e5e-a72396556aed 2025-03-19 19:12:25,556 - INFO - ================================================================================ 2025-03-19 19:12:25,556 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-19 19:12:25,556 - 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-03-19 19:12:25,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.12': '0'}} with 2025-03-19 19:12:25,833 - INFO - Initial checks done. Running the testcase now 2025-03-19 19:12:25,833 - INFO - 2025-03-19 19:12:26,507 - DEBUG - Response for create_network : {'network': {'id': 'c1ce5159-6198-4445-b392-6724322b3462', 'name': 'ctest-vn-59224046', 'tenant_id': '1bb9dba3fbd44b028e5ea72396556aed', 'project_id': '1bb9dba3fbd44b028e5ea72396556aed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41465882', 'ctest-vn-59224046'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 19:12:26,690 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4003259-b844-4caa-88f5-c799bd90534a', 'name': '', 'tenant_id': '1bb9dba3fbd44b028e5ea72396556aed', 'network_id': 'c1ce5159-6198-4445-b392-6724322b3462', 'ip_version': 4, 'cidr': '207.231.248.128/26', 'allocation_pools': [{'start': '207.231.248.130', 'end': '207.231.248.190'}], 'gateway_ip': '207.231.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.231.248.130', 'tags': [], 'project_id': '1bb9dba3fbd44b028e5ea72396556aed'}} 2025-03-19 19:12:26,709 - INFO - Created VN ctest-vn-59224046 2025-03-19 19:12:26,763 - DEBUG - VN ctest-vn-59224046 UUID is c1ce5159-6198-4445-b392-6724322b3462 2025-03-19 19:12:27,089 - DEBUG - Response for create_network : {'network': {'id': '60582559-ec30-4d21-86c9-33296f893100', 'name': 'ctest-vn-06909061', 'tenant_id': '1bb9dba3fbd44b028e5ea72396556aed', 'project_id': '1bb9dba3fbd44b028e5ea72396556aed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41465882', 'ctest-vn-06909061'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 19:12:27,285 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c90552f-fa1f-496a-b88d-0e6c1eae8438', 'name': '', 'tenant_id': '1bb9dba3fbd44b028e5ea72396556aed', 'network_id': '60582559-ec30-4d21-86c9-33296f893100', 'ip_version': 4, 'cidr': '136.236.171.192/26', 'allocation_pools': [{'start': '136.236.171.194', 'end': '136.236.171.254'}], 'gateway_ip': '136.236.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.236.171.194', 'tags': [], 'project_id': '1bb9dba3fbd44b028e5ea72396556aed'}} 2025-03-19 19:12:27,304 - INFO - Created VN ctest-vn-06909061 2025-03-19 19:12:27,359 - DEBUG - VN ctest-vn-06909061 UUID is 60582559-ec30-4d21-86c9-33296f893100 2025-03-19 19:12:27,480 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-59224046, 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-41465882:ctest-vn-06909061, 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-03-19 19:12:27,799 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1ce5159-6198-4445-b392-6724322b3462', 'name': 'ctest-vn-59224046', 'tenant_id': '1bb9dba3fbd44b028e5ea72396556aed', 'project_id': '1bb9dba3fbd44b028e5ea72396556aed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c4003259-b844-4caa-88f5-c799bd90534a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41465882', 'ctest-vn-59224046'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41465882', 'ctest-policy-allow-all-20715124']], 'subnet_ipam': [{'subnet_cidr': '207.231.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-19 19:12:28,052 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60582559-ec30-4d21-86c9-33296f893100', 'name': 'ctest-vn-06909061', 'tenant_id': '1bb9dba3fbd44b028e5ea72396556aed', 'project_id': '1bb9dba3fbd44b028e5ea72396556aed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c90552f-fa1f-496a-b88d-0e6c1eae8438'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41465882', 'ctest-vn-06909061'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41465882', 'ctest-policy-allow-all-20715124']], 'subnet_ipam': [{'subnet_cidr': '136.236.171.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-19 19:12:28,227 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-19 19:12:28,522 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-19 19:12:28,557 - DEBUG - Requesting: http://10.0.0.48:8082/domain/058e9118-409c-49e7-9d84-c2680ab5e5a1 2025-03-19 19:12:28,570 - DEBUG - Requesting: http://10.0.0.48:8082/project/1bb9dba3-fbd4-4b02-8e5e-a72396556aed 2025-03-19 19:12:28,650 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1ce5159-6198-4445-b392-6724322b3462 2025-03-19 19:12:28,664 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1ce5159-6198-4445-b392-6724322b3462 2025-03-19 19:12:28,675 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2b437296-8697-4f12-b086-b4757866c383 2025-03-19 19:12:28,684 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2b437296-8697-4f12-b086-b4757866c383 2025-03-19 19:12:28,693 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/eef10f4f-6ca9-4f7b-b6b0-962c325f2574 2025-03-19 19:12:28,701 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-19 19:12:28,701 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1ce5159-6198-4445-b392-6724322b3462 2025-03-19 19:12:28,713 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2b437296-8697-4f12-b086-b4757866c383 2025-03-19 19:12:28,729 - INFO - Verified VN network id 8 for VN c1ce5159-6198-4445-b392-6724322b3462 2025-03-19 19:12:28,729 - INFO - Verifications in API Server for VN ctest-vn-59224046 passed 2025-03-19 19:12:28,729 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1ce5159-6198-4445-b392-6724322b3462 2025-03-19 19:12:28,741 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2b437296-8697-4f12-b086-b4757866c383 2025-03-19 19:12:28,749 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2b437296-8697-4f12-b086-b4757866c383 2025-03-19 19:12:28,758 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/eef10f4f-6ca9-4f7b-b6b0-962c325f2574 2025-03-19 19:12:28,773 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-59224046', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41465882', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13965188938853794885', 'uuid-lslong': '12939518084547032162'}, 'enable': 'true', 'created': '2025-03-19T19:12:26', 'last-modified': '2025-03-19T19:12:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001292'} 2025-03-19 19:12:28,779 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-19 19:12:28,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59224046 passed 2025-03-19 19:12:28,780 - DEBUG - ====Verifying policy data for ctest-vn-59224046 in API_Server ====== 2025-03-19 19:12:28,780 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-19 19:12:28,786 - DEBUG - Requesting: http://10.0.0.48:8082/domain/058e9118-409c-49e7-9d84-c2680ab5e5a1 2025-03-19 19:12:28,798 - DEBUG - Requesting: http://10.0.0.48:8082/project/1bb9dba3-fbd4-4b02-8e5e-a72396556aed 2025-03-19 19:12:28,873 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/c1ce5159-6198-4445-b392-6724322b3462 2025-03-19 19:12:28,888 - DEBUG - ==>Verifying data for policy with id: 7f1fcf82-7787-4f4f-970e-43d209025ea2, fqn: ['default-domain', 'ctest-TestBasicPolicy-41465882', 'ctest-policy-allow-all-20715124'] 2025-03-19 19:12:28,889 - INFO - VN ctest-vn-59224046 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-19 19:12:28,889 - DEBUG - Verifying the vn in opserver 2025-03-19 19:12:28,889 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-59224046 virtual network link through opserver 10.0.0.48 2025-03-19 19:12:28,889 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-03-19 19:12:29,196 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-03-19 19:12:29,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-59224046', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-59224046?flat'} 2025-03-19 19:12:29,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-59224046 is found in opserver 2025-03-19 19:12:29,279 - DEBUG - Do not have enough data to verify VN in agent 2025-03-19 19:12:29,286 - DEBUG - VRF ids for VN ctest-vn-59224046: {} 2025-03-19 19:12:29,287 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-19 19:12:29,297 - DEBUG - Requesting: http://10.0.0.48:8082/domain/058e9118-409c-49e7-9d84-c2680ab5e5a1 2025-03-19 19:12:29,317 - DEBUG - Requesting: http://10.0.0.48:8082/project/1bb9dba3-fbd4-4b02-8e5e-a72396556aed 2025-03-19 19:12:29,401 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60582559-ec30-4d21-86c9-33296f893100 2025-03-19 19:12:29,412 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60582559-ec30-4d21-86c9-33296f893100 2025-03-19 19:12:29,421 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a2f3c189-0077-4978-bf7a-cb096be1393c 2025-03-19 19:12:29,428 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a2f3c189-0077-4978-bf7a-cb096be1393c 2025-03-19 19:12:29,436 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/96eba1d6-901c-4769-855a-ec56c107a532 2025-03-19 19:12:29,443 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-19 19:12:29,443 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60582559-ec30-4d21-86c9-33296f893100 2025-03-19 19:12:29,452 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a2f3c189-0077-4978-bf7a-cb096be1393c 2025-03-19 19:12:29,466 - INFO - Verified VN network id 9 for VN 60582559-ec30-4d21-86c9-33296f893100 2025-03-19 19:12:29,466 - INFO - Verifications in API Server for VN ctest-vn-06909061 passed 2025-03-19 19:12:29,466 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60582559-ec30-4d21-86c9-33296f893100 2025-03-19 19:12:29,476 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a2f3c189-0077-4978-bf7a-cb096be1393c 2025-03-19 19:12:29,484 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a2f3c189-0077-4978-bf7a-cb096be1393c 2025-03-19 19:12:29,491 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/96eba1d6-901c-4769-855a-ec56c107a532 2025-03-19 19:12:29,503 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-06909061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41465882', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6942339893736525089', 'uuid-lslong': '9712350324459122944'}, 'enable': 'true', 'created': '2025-03-19T19:12:27', 'last-modified': '2025-03-19T19:12:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479364'} 2025-03-19 19:12:29,509 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-19 19:12:29,510 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06909061 passed 2025-03-19 19:12:29,510 - DEBUG - ====Verifying policy data for ctest-vn-06909061 in API_Server ====== 2025-03-19 19:12:29,510 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-19 19:12:29,515 - DEBUG - Requesting: http://10.0.0.48:8082/domain/058e9118-409c-49e7-9d84-c2680ab5e5a1 2025-03-19 19:12:29,527 - DEBUG - Requesting: http://10.0.0.48:8082/project/1bb9dba3-fbd4-4b02-8e5e-a72396556aed 2025-03-19 19:12:29,601 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60582559-ec30-4d21-86c9-33296f893100 2025-03-19 19:12:29,612 - DEBUG - ==>Verifying data for policy with id: 7f1fcf82-7787-4f4f-970e-43d209025ea2, fqn: ['default-domain', 'ctest-TestBasicPolicy-41465882', 'ctest-policy-allow-all-20715124'] 2025-03-19 19:12:29,612 - INFO - VN ctest-vn-06909061 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-19 19:12:29,612 - DEBUG - Verifying the vn in opserver 2025-03-19 19:12:29,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-06909061 virtual network link through opserver 10.0.0.48 2025-03-19 19:12:29,612 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-03-19 19:12:29,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-06909061', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-06909061?flat'} 2025-03-19 19:12:29,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-06909061 is found in opserver 2025-03-19 19:12:29,633 - DEBUG - Do not have enough data to verify VN in agent 2025-03-19 19:12:29,638 - DEBUG - VRF ids for VN ctest-vn-06909061: {} 2025-03-19 19:12:29,697 - DEBUG - Services list from nova: [, , ] 2025-03-19 19:12:30,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2922-1) 2025-03-19 19:12:32,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2922-1) 2025-03-19 19:12:32,168 - INFO - Waiting for VM ctest-TestBasicPolicy-41465882-39990731 to be up.. 2025-03-19 19:12:32,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-19 19:12:37,396 - DEBUG - VM is in ACTIVE state now 2025-03-19 19:12:37,396 - INFO - VM name : ctest-TestBasicPolicy-41465882-39990731 2025-03-19 19:12:37,487 - DEBUG - VM ctest-TestBasicPolicy-41465882-39990731 ID is 5aeed1d1-abdb-41fb-9619-2328478dbe4b 2025-03-19 19:12:37,513 - DEBUG - VM ctest-TestBasicPolicy-41465882-39990731 launched on Node cn-jenkins-deploy-platform-ansible-os-2922-1 2025-03-19 19:12:37,629 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5aeed1d1-abdb-41fb-9619-2328478dbe4b 2025-03-19 19:12:37,641 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2c7e6d91-cc10-4142-a4a7-f18bfa2a8490 2025-03-19 19:12:40,944 - 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-03-19 19:12:40,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41465882-39990731 failed! 2025-03-19 19:12:40,999 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41465882:ctest-vn-59224046 is 207.231.248.129 and allocation pool is NOT set 2025-03-19 19:12:43,058 - 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=7.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/3.934/7.366/3.432 ms') 2025-03-19 19:12:43,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41465882-39990731 passed 2025-03-19 19:12:43,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 19:12:43,207 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41465882-39990731, IP 207.231.248.131, Port 22 2025-03-19 19:12:43,363 - DEBUG - VM ctest-TestBasicPolicy-41465882-39990731 is ready for SSH connections 2025-03-19 19:12:43,363 - INFO - Waiting for VM ctest-TestBasicPolicy-41465882-94396593 to be up.. 2025-03-19 19:12:43,448 - DEBUG - VM is in ACTIVE state now 2025-03-19 19:12:43,448 - INFO - VM name : ctest-TestBasicPolicy-41465882-94396593 2025-03-19 19:12:43,529 - DEBUG - VM ctest-TestBasicPolicy-41465882-94396593 ID is fc97e8d2-ad1c-4bbd-8697-37d1a0dc1237 2025-03-19 19:12:43,529 - DEBUG - VM ctest-TestBasicPolicy-41465882-94396593 launched on Node cn-jenkins-deploy-platform-ansible-os-2922-1 2025-03-19 19:12:43,613 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/fc97e8d2-ad1c-4bbd-8697-37d1a0dc1237 2025-03-19 19:12:43,628 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ad372cc2-aeb3-4175-aa28-5521c17deb73 2025-03-19 19:12:44,880 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.791 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.791/3.085/5.379/2.294 ms') 2025-03-19 19:12:44,880 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41465882-94396593 passed 2025-03-19 19:12:45,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 19:12:45,031 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41465882-94396593, IP 136.236.171.195, Port 22 2025-03-19 19:12:45,186 - DEBUG - VM ctest-TestBasicPolicy-41465882-94396593 is ready for SSH connections 2025-03-19 19:12:45,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 19:12:45,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.236.171.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-03-19 19:12:45,187 - DEBUG - ping -s 56 -c 3 -W 1 136.236.171.195 2025-03-19 19:12:48,884 - DEBUG - PING 136.236.171.195 (136.236.171.195): 56 data bytes 64 bytes from 136.236.171.195: seq=0 ttl=63 time=3.873 ms 64 bytes from 136.236.171.195: seq=1 ttl=63 time=1.064 ms 64 bytes from 136.236.171.195: seq=2 ttl=63 time=0.768 ms --- 136.236.171.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.768/1.901/3.873 ms 2025-03-19 19:12:48,885 - INFO - Ping to IP 136.236.171.195 from VM ctest-TestBasicPolicy-41465882-39990731 passed 2025-03-19 19:12:49,079 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7f1fcf82-7787-4f4f-970e-43d209025ea2", "href": "http://10.0.0.48:8082/network-policy/7f1fcf82-7787-4f4f-970e-43d209025ea2"}} 2025-03-19 19:12:49,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 19:12:49,079 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.236.171.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-03-19 19:12:49,079 - DEBUG - ping -s 56 -c 3 -W 1 136.236.171.195 2025-03-19 19:12:52,282 - DEBUG - PING 136.236.171.195 (136.236.171.195): 56 data bytes 64 bytes from 136.236.171.195: seq=0 ttl=63 time=2.081 ms --- 136.236.171.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.081/2.081/2.081 ms 2025-03-19 19:12:52,282 - WARNING - Ping to IP 136.236.171.195 from VM ctest-TestBasicPolicy-41465882-39990731 failed 2025-03-19 19:12:52,282 - INFO - Deleting VM ctest-TestBasicPolicy-41465882-94396593 2025-03-19 19:12:52,374 - INFO - Deleting VM ctest-TestBasicPolicy-41465882-39990731 2025-03-19 19:12:52,800 - INFO - Deleted policy ctest-policy-allow-all-20715124 2025-03-19 19:12:52,800 - INFO - Deleting VN ctest-vn-06909061 2025-03-19 19:12:52,836 - DEBUG - VN 60582559-ec30-4d21-86c9-33296f893100 still in use: Unable to complete operation on network 60582559-ec30-4d21-86c9-33296f893100. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bde2c1c6-80d0-4a6d-9dc7-2f0bb360406f'] 2025-03-19 19:12:52,837 - WARNING - Deleting VN ctest-vn-06909061 failed..Will retry 2025-03-19 19:12:54,953 - DEBUG - Response for deleting network () 2025-03-19 19:12:54,953 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a2f3c189-0077-4978-bf7a-cb096be1393c 2025-03-19 19:12:54,961 - DEBUG - Response Code: 404 2025-03-19 19:12:54,961 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-19 19:12:54,967 - DEBUG - Requesting: http://10.0.0.48:8082/domain/058e9118-409c-49e7-9d84-c2680ab5e5a1 2025-03-19 19:12:55,021 - DEBUG - Requesting: http://10.0.0.48:8082/project/1bb9dba3-fbd4-4b02-8e5e-a72396556aed 2025-03-19 19:12:55,093 - INFO - Validated that VN ctest-vn-06909061 is not found in API Server 2025-03-19 19:12:55,105 - DEBUG - VN ctest-vn-06909061 is not present in Agent 10.0.0.48 2025-03-19 19:12:55,105 - INFO - Validated that VN ctest-vn-06909061 is not in any agent 2025-03-19 19:12:55,121 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06909061 info 2025-03-19 19:12:55,121 - INFO - Deleting VN ctest-vn-59224046 2025-03-19 19:12:55,226 - DEBUG - Response for deleting network () 2025-03-19 19:12:55,227 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2b437296-8697-4f12-b086-b4757866c383 2025-03-19 19:12:55,234 - DEBUG - Response Code: 404 2025-03-19 19:12:55,234 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-19 19:12:55,245 - DEBUG - Requesting: http://10.0.0.48:8082/domain/058e9118-409c-49e7-9d84-c2680ab5e5a1 2025-03-19 19:12:55,301 - DEBUG - Requesting: http://10.0.0.48:8082/project/1bb9dba3-fbd4-4b02-8e5e-a72396556aed 2025-03-19 19:12:55,372 - INFO - Validated that VN ctest-vn-59224046 is not found in API Server 2025-03-19 19:12:55,387 - DEBUG - VN ctest-vn-59224046 is not present in Agent 10.0.0.48 2025-03-19 19:12:55,387 - INFO - Validated that VN ctest-vn-59224046 is not in any agent 2025-03-19 19:12:55,404 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59224046 info 2025-03-19 19:12:55,666 - DEBUG - No XMPP flaps were noticed during the test
2025-03-19 19:12:55,666 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-03-19 19:12:55,666 - INFO - -------------------------------------------------------------------------------- 2025-03-19 19:12:56,366 - INFO - Deleted project: ctest-TestBasicPolicy-41465882, ID : 1bb9dba3-fbd4-4b02-8e5e-a72396556aed