2025-04-25 10:30:42,116 - INFO - Domain Default found not creating 2025-04-25 10:30:42,227 - INFO - Project ctest-TestBasicPolicy-58539466 not found, creating it 2025-04-25 10:30:42,738 - INFO - Created Project:ctest-TestBasicPolicy-58539466, ID : 929b31fd-96c1-4607-9306-29c446087d1a 2025-04-25 10:30:43,946 - INFO - ================================================================================ 2025-04-25 10:30:43,947 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-25 10:30:43,947 - 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-04-25 10:30:44,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-25 10:30:44,199 - INFO - Initial checks done. Running the testcase now 2025-04-25 10:30:44,199 - INFO - 2025-04-25 10:30:44,677 - DEBUG - Response for create_network : {'network': {'id': '1888deaf-04fe-4c54-bd11-a4e37bf29aa0', 'name': 'ctest-vn-21336099', 'tenant_id': '929b31fd96c14607930629c446087d1a', 'project_id': '929b31fd96c14607930629c446087d1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58539466', 'ctest-vn-21336099'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 10:30:44,841 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eddee46b-5499-4803-8a30-ba430318628a', 'name': '', 'tenant_id': '929b31fd96c14607930629c446087d1a', 'network_id': '1888deaf-04fe-4c54-bd11-a4e37bf29aa0', 'ip_version': 4, 'cidr': '197.114.94.0/26', 'allocation_pools': [{'start': '197.114.94.2', 'end': '197.114.94.62'}], 'gateway_ip': '197.114.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.114.94.2', 'tags': [], 'project_id': '929b31fd96c14607930629c446087d1a'}} 2025-04-25 10:30:44,855 - INFO - Created VN ctest-vn-21336099 2025-04-25 10:30:44,906 - DEBUG - VN ctest-vn-21336099 UUID is 1888deaf-04fe-4c54-bd11-a4e37bf29aa0 2025-04-25 10:30:45,250 - DEBUG - Response for create_network : {'network': {'id': '0eac7c71-a33a-4935-b795-ab6be191ce8d', 'name': 'ctest-vn-34334608', 'tenant_id': '929b31fd96c14607930629c446087d1a', 'project_id': '929b31fd96c14607930629c446087d1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58539466', 'ctest-vn-34334608'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 10:30:45,438 - DEBUG - Response for create_subnet : {'subnet': {'id': '86d308d4-c4b3-498a-bac0-036a79db4dc0', 'name': '', 'tenant_id': '929b31fd96c14607930629c446087d1a', 'network_id': '0eac7c71-a33a-4935-b795-ab6be191ce8d', 'ip_version': 4, 'cidr': '39.19.41.0/26', 'allocation_pools': [{'start': '39.19.41.2', 'end': '39.19.41.62'}], 'gateway_ip': '39.19.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.19.41.2', 'tags': [], 'project_id': '929b31fd96c14607930629c446087d1a'}} 2025-04-25 10:30:45,455 - INFO - Created VN ctest-vn-34334608 2025-04-25 10:30:45,510 - DEBUG - VN ctest-vn-34334608 UUID is 0eac7c71-a33a-4935-b795-ab6be191ce8d 2025-04-25 10:30:45,658 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-21336099, 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-58539466:ctest-vn-34334608, 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-04-25 10:30:45,938 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1888deaf-04fe-4c54-bd11-a4e37bf29aa0', 'name': 'ctest-vn-21336099', 'tenant_id': '929b31fd96c14607930629c446087d1a', 'project_id': '929b31fd96c14607930629c446087d1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eddee46b-5499-4803-8a30-ba430318628a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58539466', 'ctest-vn-21336099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58539466', 'ctest-policy-allow-all-80213709']], 'subnet_ipam': [{'subnet_cidr': '197.114.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 10:30:46,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0eac7c71-a33a-4935-b795-ab6be191ce8d', 'name': 'ctest-vn-34334608', 'tenant_id': '929b31fd96c14607930629c446087d1a', 'project_id': '929b31fd96c14607930629c446087d1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86d308d4-c4b3-498a-bac0-036a79db4dc0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58539466', 'ctest-vn-34334608'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58539466', 'ctest-policy-allow-all-80213709']], 'subnet_ipam': [{'subnet_cidr': '39.19.41.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 10:30:46,326 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-25 10:30:46,583 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-25 10:30:46,608 - DEBUG - Requesting: http://10.0.0.254:8082/domain/42b37280-2860-4f99-8b0b-8a8786ff382e 2025-04-25 10:30:46,621 - DEBUG - Requesting: http://10.0.0.254:8082/project/929b31fd-96c1-4607-9306-29c446087d1a 2025-04-25 10:30:46,692 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1888deaf-04fe-4c54-bd11-a4e37bf29aa0 2025-04-25 10:30:46,703 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1888deaf-04fe-4c54-bd11-a4e37bf29aa0 2025-04-25 10:30:46,713 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a449fe17-891c-4e3e-930b-c776ef897f20 2025-04-25 10:30:46,719 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a449fe17-891c-4e3e-930b-c776ef897f20 2025-04-25 10:30:46,726 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4da5f8c6-72f7-4ae7-9bff-4061e4710d5b 2025-04-25 10:30:46,732 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 10:30:46,732 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1888deaf-04fe-4c54-bd11-a4e37bf29aa0 2025-04-25 10:30:46,740 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a449fe17-891c-4e3e-930b-c776ef897f20 2025-04-25 10:30:46,752 - INFO - Verified VN network id 9 for VN 1888deaf-04fe-4c54-bd11-a4e37bf29aa0 2025-04-25 10:30:46,752 - INFO - Verifications in API Server for VN ctest-vn-21336099 passed 2025-04-25 10:30:46,752 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1888deaf-04fe-4c54-bd11-a4e37bf29aa0 2025-04-25 10:30:46,759 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a449fe17-891c-4e3e-930b-c776ef897f20 2025-04-25 10:30:46,765 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a449fe17-891c-4e3e-930b-c776ef897f20 2025-04-25 10:30:46,770 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4da5f8c6-72f7-4ae7-9bff-4061e4710d5b 2025-04-25 10:30:46,780 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-21336099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58539466', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1767907697027337300', 'uuid-lslong': '13623851644716489376'}, 'enable': 'true', 'created': '2025-04-25T10:30:44', 'last-modified': '2025-04-25T10:30:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860994'} 2025-04-25 10:30:46,785 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 10:30:46,785 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21336099 passed 2025-04-25 10:30:46,785 - DEBUG - ====Verifying policy data for ctest-vn-21336099 in API_Server ====== 2025-04-25 10:30:46,785 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-25 10:30:46,790 - DEBUG - Requesting: http://10.0.0.254:8082/domain/42b37280-2860-4f99-8b0b-8a8786ff382e 2025-04-25 10:30:46,799 - DEBUG - Requesting: http://10.0.0.254:8082/project/929b31fd-96c1-4607-9306-29c446087d1a 2025-04-25 10:30:46,866 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1888deaf-04fe-4c54-bd11-a4e37bf29aa0 2025-04-25 10:30:46,875 - DEBUG - ==>Verifying data for policy with id: b6d6ce73-4744-4fad-a1df-c15460898f77, fqn: ['default-domain', 'ctest-TestBasicPolicy-58539466', 'ctest-policy-allow-all-80213709'] 2025-04-25 10:30:46,875 - INFO - VN ctest-vn-21336099 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 10:30:46,875 - DEBUG - Verifying the vn in opserver 2025-04-25 10:30:46,875 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-21336099 virtual network link through opserver 10.0.0.254 2025-04-25 10:30:46,876 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-25 10:30:47,132 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-25 10:30:47,176 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-21336099', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-21336099?flat'} 2025-04-25 10:30:47,176 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-21336099 is found in opserver 2025-04-25 10:30:47,186 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 10:30:47,190 - DEBUG - VRF ids for VN ctest-vn-21336099: {} 2025-04-25 10:30:47,190 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-25 10:30:47,195 - DEBUG - Requesting: http://10.0.0.254:8082/domain/42b37280-2860-4f99-8b0b-8a8786ff382e 2025-04-25 10:30:47,204 - DEBUG - Requesting: http://10.0.0.254:8082/project/929b31fd-96c1-4607-9306-29c446087d1a 2025-04-25 10:30:47,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0eac7c71-a33a-4935-b795-ab6be191ce8d 2025-04-25 10:30:47,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0eac7c71-a33a-4935-b795-ab6be191ce8d 2025-04-25 10:30:47,289 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dc669cb7-5684-40c8-b8a9-79d6544e1093 2025-04-25 10:30:47,295 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dc669cb7-5684-40c8-b8a9-79d6544e1093 2025-04-25 10:30:47,301 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4ba306eb-c545-42d4-bcc1-cfab89a332f6 2025-04-25 10:30:47,305 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 10:30:47,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0eac7c71-a33a-4935-b795-ab6be191ce8d 2025-04-25 10:30:47,313 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dc669cb7-5684-40c8-b8a9-79d6544e1093 2025-04-25 10:30:47,329 - INFO - Verified VN network id 10 for VN 0eac7c71-a33a-4935-b795-ab6be191ce8d 2025-04-25 10:30:47,329 - INFO - Verifications in API Server for VN ctest-vn-34334608 passed 2025-04-25 10:30:47,329 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0eac7c71-a33a-4935-b795-ab6be191ce8d 2025-04-25 10:30:47,339 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dc669cb7-5684-40c8-b8a9-79d6544e1093 2025-04-25 10:30:47,346 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dc669cb7-5684-40c8-b8a9-79d6544e1093 2025-04-25 10:30:47,351 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4ba306eb-c545-42d4-bcc1-cfab89a332f6 2025-04-25 10:30:47,361 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-34334608', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58539466', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1057356840036878645', 'uuid-lslong': '13228667960304979597'}, 'enable': 'true', 'created': '2025-04-25T10:30:45', 'last-modified': '2025-04-25T10:30:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.218741'} 2025-04-25 10:30:47,366 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 10:30:47,366 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34334608 passed 2025-04-25 10:30:47,367 - DEBUG - ====Verifying policy data for ctest-vn-34334608 in API_Server ====== 2025-04-25 10:30:47,367 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-25 10:30:47,371 - DEBUG - Requesting: http://10.0.0.254:8082/domain/42b37280-2860-4f99-8b0b-8a8786ff382e 2025-04-25 10:30:47,380 - DEBUG - Requesting: http://10.0.0.254:8082/project/929b31fd-96c1-4607-9306-29c446087d1a 2025-04-25 10:30:47,444 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0eac7c71-a33a-4935-b795-ab6be191ce8d 2025-04-25 10:30:47,452 - DEBUG - ==>Verifying data for policy with id: b6d6ce73-4744-4fad-a1df-c15460898f77, fqn: ['default-domain', 'ctest-TestBasicPolicy-58539466', 'ctest-policy-allow-all-80213709'] 2025-04-25 10:30:47,452 - INFO - VN ctest-vn-34334608 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 10:30:47,452 - DEBUG - Verifying the vn in opserver 2025-04-25 10:30:47,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-34334608 virtual network link through opserver 10.0.0.254 2025-04-25 10:30:47,452 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-25 10:30:47,461 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-34334608', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-34334608?flat'} 2025-04-25 10:30:47,461 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58539466:ctest-vn-34334608 is found in opserver 2025-04-25 10:30:47,470 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 10:30:47,474 - DEBUG - VRF ids for VN ctest-vn-34334608: {} 2025-04-25 10:30:47,518 - DEBUG - Services list from nova: [, , ] 2025-04-25 10:30:48,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3215-1) 2025-04-25 10:30:49,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3215-1) 2025-04-25 10:30:49,449 - INFO - Waiting for VM ctest-TestBasicPolicy-58539466-06350374 to be up.. 2025-04-25 10:30:49,517 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 10:30:54,581 - DEBUG - VM is in ACTIVE state now 2025-04-25 10:30:54,581 - INFO - VM name : ctest-TestBasicPolicy-58539466-06350374 2025-04-25 10:30:54,644 - DEBUG - VM ctest-TestBasicPolicy-58539466-06350374 ID is 672b1b0d-cdcc-4649-b4ac-14db55b2e0c3 2025-04-25 10:30:54,660 - DEBUG - VM ctest-TestBasicPolicy-58539466-06350374 launched on Node cn-jenkins-deploy-platform-ansible-os-3215-1 2025-04-25 10:30:54,727 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/672b1b0d-cdcc-4649-b4ac-14db55b2e0c3 2025-04-25 10:30:54,734 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/95e8afb7-6e46-4f94-87c4-cec6e7967b15 2025-04-25 10:30:57,990 - 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=2 ttl=63 time=14.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 14.290/14.290/14.290/0.000 ms') 2025-04-25 10:30:57,990 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58539466-06350374 passed 2025-04-25 10:30:58,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:30:58,138 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58539466-06350374, IP 197.114.94.3, Port 22 2025-04-25 10:30:58,301 - DEBUG - VM ctest-TestBasicPolicy-58539466-06350374 is ready for SSH connections 2025-04-25 10:30:58,302 - INFO - Waiting for VM ctest-TestBasicPolicy-58539466-43706712 to be up.. 2025-04-25 10:30:58,365 - DEBUG - VM is in ACTIVE state now 2025-04-25 10:30:58,365 - INFO - VM name : ctest-TestBasicPolicy-58539466-43706712 2025-04-25 10:30:58,423 - DEBUG - VM ctest-TestBasicPolicy-58539466-43706712 ID is cfc00006-7080-4286-944a-8075cdc7f1ec 2025-04-25 10:30:58,424 - DEBUG - VM ctest-TestBasicPolicy-58539466-43706712 launched on Node cn-jenkins-deploy-platform-ansible-os-3215-1 2025-04-25 10:30:58,482 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cfc00006-7080-4286-944a-8075cdc7f1ec 2025-04-25 10:30:58,489 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1c803bc6-9e27-485a-88d4-c0ceac572f01 2025-04-25 10:30:59,714 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.765 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.765/1.642/2.520/0.877 ms') 2025-04-25 10:30:59,715 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58539466-43706712 passed 2025-04-25 10:30:59,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:30:59,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58539466-43706712, IP 39.19.41.3, Port 22 2025-04-25 10:31:00,014 - DEBUG - VM ctest-TestBasicPolicy-58539466-43706712 is ready for SSH connections 2025-04-25 10:31:00,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:31:00,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.19.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-25 10:31:00,014 - DEBUG - ping -s 56 -c 3 -W 1 39.19.41.3 2025-04-25 10:31:03,884 - DEBUG - PING 39.19.41.3 (39.19.41.3): 56 data bytes 64 bytes from 39.19.41.3: seq=0 ttl=63 time=2.993 ms 64 bytes from 39.19.41.3: seq=1 ttl=63 time=0.727 ms 64 bytes from 39.19.41.3: seq=2 ttl=63 time=0.735 ms --- 39.19.41.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.727/1.485/2.993 ms 2025-04-25 10:31:03,884 - INFO - Ping to IP 39.19.41.3 from VM ctest-TestBasicPolicy-58539466-06350374 passed 2025-04-25 10:31:04,162 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b6d6ce73-4744-4fad-a1df-c15460898f77", "href": "http://10.0.0.254:8082/network-policy/b6d6ce73-4744-4fad-a1df-c15460898f77"}} 2025-04-25 10:31:04,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 10:31:04,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.19.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-25 10:31:04,163 - DEBUG - ping -s 56 -c 3 -W 1 39.19.41.3 2025-04-25 10:31:07,352 - DEBUG - PING 39.19.41.3 (39.19.41.3): 56 data bytes 64 bytes from 39.19.41.3: seq=0 ttl=63 time=1.223 ms --- 39.19.41.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.223/1.223/1.223 ms 2025-04-25 10:31:07,352 - WARNING - Ping to IP 39.19.41.3 from VM ctest-TestBasicPolicy-58539466-06350374 failed 2025-04-25 10:31:07,352 - INFO - Deleting VM ctest-TestBasicPolicy-58539466-43706712 2025-04-25 10:31:07,412 - INFO - Deleting VM ctest-TestBasicPolicy-58539466-06350374 2025-04-25 10:31:07,767 - INFO - Deleted policy ctest-policy-allow-all-80213709 2025-04-25 10:31:07,767 - INFO - Deleting VN ctest-vn-34334608 2025-04-25 10:31:07,800 - DEBUG - VN 0eac7c71-a33a-4935-b795-ab6be191ce8d still in use: Unable to complete operation on network 0eac7c71-a33a-4935-b795-ab6be191ce8d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d14bba9-581c-45f7-bdd6-c1de784e1e3e'] 2025-04-25 10:31:07,801 - WARNING - Deleting VN ctest-vn-34334608 failed..Will retry 2025-04-25 10:31:09,893 - DEBUG - Response for deleting network () 2025-04-25 10:31:09,893 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dc669cb7-5684-40c8-b8a9-79d6544e1093 2025-04-25 10:31:09,900 - DEBUG - Response Code: 404 2025-04-25 10:31:09,900 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-25 10:31:09,905 - DEBUG - Requesting: http://10.0.0.254:8082/domain/42b37280-2860-4f99-8b0b-8a8786ff382e 2025-04-25 10:31:09,961 - DEBUG - Requesting: http://10.0.0.254:8082/project/929b31fd-96c1-4607-9306-29c446087d1a 2025-04-25 10:31:10,036 - INFO - Validated that VN ctest-vn-34334608 is not found in API Server 2025-04-25 10:31:10,048 - DEBUG - VN ctest-vn-34334608 is not present in Agent 10.0.0.254 2025-04-25 10:31:10,048 - INFO - Validated that VN ctest-vn-34334608 is not in any agent 2025-04-25 10:31:10,064 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34334608 info 2025-04-25 10:31:10,064 - INFO - Deleting VN ctest-vn-21336099 2025-04-25 10:31:10,163 - DEBUG - Response for deleting network () 2025-04-25 10:31:10,163 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a449fe17-891c-4e3e-930b-c776ef897f20 2025-04-25 10:31:10,172 - DEBUG - Response Code: 404 2025-04-25 10:31:10,172 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-25 10:31:10,178 - DEBUG - Requesting: http://10.0.0.254:8082/domain/42b37280-2860-4f99-8b0b-8a8786ff382e 2025-04-25 10:31:10,231 - DEBUG - Requesting: http://10.0.0.254:8082/project/929b31fd-96c1-4607-9306-29c446087d1a 2025-04-25 10:31:10,306 - INFO - Validated that VN ctest-vn-21336099 is not found in API Server 2025-04-25 10:31:10,317 - DEBUG - VN ctest-vn-21336099 is not present in Agent 10.0.0.254 2025-04-25 10:31:10,317 - INFO - Validated that VN ctest-vn-21336099 is not in any agent 2025-04-25 10:31:10,333 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21336099 info 2025-04-25 10:31:10,583 - DEBUG - No XMPP flaps were noticed during the test 2025-04-25 10:31:10,583 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27] 2025-04-25 10:31:10,583 - INFO - -------------------------------------------------------------------------------- 2025-04-25 10:31:11,209 - INFO - Deleted project: ctest-TestBasicPolicy-58539466, ID : 929b31fd-96c1-4607-9306-29c446087d1a