2025-01-05 09:57:15,184 - INFO - Domain Default found not creating 2025-01-05 09:57:15,353 - INFO - Project ctest-TestBasicPolicy-73153747 not found, creating it 2025-01-05 09:57:15,810 - INFO - Created Project:ctest-TestBasicPolicy-73153747, ID : d9975a01-222f-4fb5-a920-9ae60f46ec18 2025-01-05 09:57:17,734 - INFO - ================================================================================ 2025-01-05 09:57:17,734 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-05 09:57:17,734 - 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-05 09:57:17,993 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.6': '0'}} with 2025-01-05 09:57:17,993 - INFO - Initial checks done. Running the testcase now 2025-01-05 09:57:17,993 - INFO - 2025-01-05 09:57:18,528 - DEBUG - Response for create_network : {'network': {'id': 'da323aee-9246-4925-a9a0-39ae83ecef83', 'name': 'ctest-vn-71320692', 'tenant_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'project_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73153747', 'ctest-vn-71320692'], 'port_security_enabled': True, 'description': ''}} 2025-01-05 09:57:18,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c1cdedf-b361-4bc7-b035-251a0b96d642', 'name': '', 'tenant_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'network_id': 'da323aee-9246-4925-a9a0-39ae83ecef83', 'ip_version': 4, 'cidr': '188.59.35.128/26', 'allocation_pools': [{'start': '188.59.35.130', 'end': '188.59.35.190'}], 'gateway_ip': '188.59.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.59.35.130', 'tags': [], 'project_id': 'd9975a01222f4fb5a9209ae60f46ec18'}} 2025-01-05 09:57:18,796 - INFO - Created VN ctest-vn-71320692 2025-01-05 09:57:18,854 - DEBUG - VN ctest-vn-71320692 UUID is da323aee-9246-4925-a9a0-39ae83ecef83 2025-01-05 09:57:19,197 - DEBUG - Response for create_network : {'network': {'id': 'e623c89f-10f5-4b49-8512-c632a700ac4c', 'name': 'ctest-vn-19271819', 'tenant_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'project_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73153747', 'ctest-vn-19271819'], 'port_security_enabled': True, 'description': ''}} 2025-01-05 09:57:19,437 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7538464-dedf-482a-a748-f9a04b529239', 'name': '', 'tenant_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'network_id': 'e623c89f-10f5-4b49-8512-c632a700ac4c', 'ip_version': 4, 'cidr': '150.24.220.192/26', 'allocation_pools': [{'start': '150.24.220.194', 'end': '150.24.220.254'}], 'gateway_ip': '150.24.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.24.220.194', 'tags': [], 'project_id': 'd9975a01222f4fb5a9209ae60f46ec18'}} 2025-01-05 09:57:19,458 - INFO - Created VN ctest-vn-19271819 2025-01-05 09:57:19,513 - DEBUG - VN ctest-vn-19271819 UUID is e623c89f-10f5-4b49-8512-c632a700ac4c 2025-01-05 09:57:19,639 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-71320692, 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-73153747:ctest-vn-19271819, 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-05 09:57:19,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da323aee-9246-4925-a9a0-39ae83ecef83', 'name': 'ctest-vn-71320692', 'tenant_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'project_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c1cdedf-b361-4bc7-b035-251a0b96d642'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73153747', 'ctest-vn-71320692'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73153747', 'ctest-policy-allow-all-14135350']], 'subnet_ipam': [{'subnet_cidr': '188.59.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-05 09:57:20,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e623c89f-10f5-4b49-8512-c632a700ac4c', 'name': 'ctest-vn-19271819', 'tenant_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'project_id': 'd9975a01222f4fb5a9209ae60f46ec18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7538464-dedf-482a-a748-f9a04b529239'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73153747', 'ctest-vn-19271819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73153747', 'ctest-policy-allow-all-14135350']], 'subnet_ipam': [{'subnet_cidr': '150.24.220.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-05 09:57:20,405 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-05 09:57:20,698 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-05 09:57:20,728 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e6172c9e-77c2-439c-81bd-dd492bcbc71b 2025-01-05 09:57:20,743 - DEBUG - Requesting: http://10.0.0.23:8082/project/d9975a01-222f-4fb5-a920-9ae60f46ec18 2025-01-05 09:57:20,821 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/da323aee-9246-4925-a9a0-39ae83ecef83 2025-01-05 09:57:20,833 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/da323aee-9246-4925-a9a0-39ae83ecef83 2025-01-05 09:57:20,844 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c0995492-34f4-43fd-bd8d-6580ecc45c03 2025-01-05 09:57:20,854 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c0995492-34f4-43fd-bd8d-6580ecc45c03 2025-01-05 09:57:20,864 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d36f01d5-942a-4f02-a6f2-f200024e61c8 2025-01-05 09:57:20,874 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-05 09:57:20,874 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/da323aee-9246-4925-a9a0-39ae83ecef83 2025-01-05 09:57:20,884 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c0995492-34f4-43fd-bd8d-6580ecc45c03 2025-01-05 09:57:20,900 - INFO - Verified VN network id 8 for VN da323aee-9246-4925-a9a0-39ae83ecef83 2025-01-05 09:57:20,900 - INFO - Verifications in API Server for VN ctest-vn-71320692 passed 2025-01-05 09:57:20,900 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/da323aee-9246-4925-a9a0-39ae83ecef83 2025-01-05 09:57:20,910 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c0995492-34f4-43fd-bd8d-6580ecc45c03 2025-01-05 09:57:20,918 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c0995492-34f4-43fd-bd8d-6580ecc45c03 2025-01-05 09:57:20,925 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d36f01d5-942a-4f02-a6f2-f200024e61c8 2025-01-05 09:57:20,938 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-71320692', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73153747', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15722694045434530085', 'uuid-lslong': '12222832810383961987'}, 'enable': 'true', 'created': '2025-01-05T09:57:18', 'last-modified': '2025-01-05T09:57:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014333'} 2025-01-05 09:57:20,945 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-05 09:57:20,945 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71320692 passed 2025-01-05 09:57:20,945 - DEBUG - ====Verifying policy data for ctest-vn-71320692 in API_Server ====== 2025-01-05 09:57:20,945 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-05 09:57:20,952 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e6172c9e-77c2-439c-81bd-dd492bcbc71b 2025-01-05 09:57:20,964 - DEBUG - Requesting: http://10.0.0.23:8082/project/d9975a01-222f-4fb5-a920-9ae60f46ec18 2025-01-05 09:57:21,039 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/da323aee-9246-4925-a9a0-39ae83ecef83 2025-01-05 09:57:21,049 - DEBUG - ==>Verifying data for policy with id: f1787c4d-4534-4683-ae2b-d04c4dacc4e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-73153747', 'ctest-policy-allow-all-14135350'] 2025-01-05 09:57:21,049 - INFO - VN ctest-vn-71320692 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-05 09:57:21,050 - DEBUG - Verifying the vn in opserver 2025-01-05 09:57:21,050 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-71320692 virtual network link through opserver 10.0.0.23 2025-01-05 09:57:21,050 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-05 09:57:21,341 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-05 09:57:21,397 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-71320692', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-71320692?flat'} 2025-01-05 09:57:21,397 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-71320692 is found in opserver 2025-01-05 09:57:21,409 - DEBUG - Do not have enough data to verify VN in agent 2025-01-05 09:57:21,414 - DEBUG - VRF ids for VN ctest-vn-71320692: {} 2025-01-05 09:57:21,414 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-05 09:57:21,420 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e6172c9e-77c2-439c-81bd-dd492bcbc71b 2025-01-05 09:57:21,432 - DEBUG - Requesting: http://10.0.0.23:8082/project/d9975a01-222f-4fb5-a920-9ae60f46ec18 2025-01-05 09:57:21,513 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e623c89f-10f5-4b49-8512-c632a700ac4c 2025-01-05 09:57:21,527 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e623c89f-10f5-4b49-8512-c632a700ac4c 2025-01-05 09:57:21,538 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/0971b508-3715-4ea9-9f03-e863d48260bc 2025-01-05 09:57:21,547 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/0971b508-3715-4ea9-9f03-e863d48260bc 2025-01-05 09:57:21,556 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/c90dadab-4f57-49c9-bd9b-470d46c56aa5 2025-01-05 09:57:21,565 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-05 09:57:21,565 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e623c89f-10f5-4b49-8512-c632a700ac4c 2025-01-05 09:57:21,577 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/0971b508-3715-4ea9-9f03-e863d48260bc 2025-01-05 09:57:21,592 - INFO - Verified VN network id 9 for VN e623c89f-10f5-4b49-8512-c632a700ac4c 2025-01-05 09:57:21,592 - INFO - Verifications in API Server for VN ctest-vn-19271819 passed 2025-01-05 09:57:21,592 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e623c89f-10f5-4b49-8512-c632a700ac4c 2025-01-05 09:57:21,604 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/0971b508-3715-4ea9-9f03-e863d48260bc 2025-01-05 09:57:21,613 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/0971b508-3715-4ea9-9f03-e863d48260bc 2025-01-05 09:57:21,623 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/c90dadab-4f57-49c9-bd9b-470d46c56aa5 2025-01-05 09:57:21,637 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-19271819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73153747', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16583318838418164553', 'uuid-lslong': '9588944477477710924'}, 'enable': 'true', 'created': '2025-01-05T09:57:19', 'last-modified': '2025-01-05T09:57:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466179'} 2025-01-05 09:57:21,644 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-05 09:57:21,644 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19271819 passed 2025-01-05 09:57:21,644 - DEBUG - ====Verifying policy data for ctest-vn-19271819 in API_Server ====== 2025-01-05 09:57:21,644 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-05 09:57:21,651 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e6172c9e-77c2-439c-81bd-dd492bcbc71b 2025-01-05 09:57:21,663 - DEBUG - Requesting: http://10.0.0.23:8082/project/d9975a01-222f-4fb5-a920-9ae60f46ec18 2025-01-05 09:57:21,744 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e623c89f-10f5-4b49-8512-c632a700ac4c 2025-01-05 09:57:21,755 - DEBUG - ==>Verifying data for policy with id: f1787c4d-4534-4683-ae2b-d04c4dacc4e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-73153747', 'ctest-policy-allow-all-14135350'] 2025-01-05 09:57:21,755 - INFO - VN ctest-vn-19271819 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-05 09:57:21,755 - DEBUG - Verifying the vn in opserver 2025-01-05 09:57:21,755 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-19271819 virtual network link through opserver 10.0.0.23 2025-01-05 09:57:21,756 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-01-05 09:57:21,767 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-19271819', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-19271819?flat'} 2025-01-05 09:57:21,768 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-19271819 is found in opserver 2025-01-05 09:57:21,780 - DEBUG - Do not have enough data to verify VN in agent 2025-01-05 09:57:21,785 - DEBUG - VRF ids for VN ctest-vn-19271819: {} 2025-01-05 09:57:21,860 - DEBUG - Services list from nova: [, , ] 2025-01-05 09:57:23,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2533-1) 2025-01-05 09:57:24,310 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2533-1) 2025-01-05 09:57:24,311 - INFO - Waiting for VM ctest-TestBasicPolicy-73153747-93620474 to be up.. 2025-01-05 09:57:24,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-05 09:57:29,498 - DEBUG - VM is in ACTIVE state now 2025-01-05 09:57:29,498 - INFO - VM name : ctest-TestBasicPolicy-73153747-93620474 2025-01-05 09:57:29,590 - DEBUG - VM ctest-TestBasicPolicy-73153747-93620474 ID is b255b9f0-ebe6-4f76-af75-b6242460894f 2025-01-05 09:57:29,613 - DEBUG - VM ctest-TestBasicPolicy-73153747-93620474 launched on Node cn-jenkins-deploy-platform-ansible-os-2533-1 2025-01-05 09:57:29,712 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b255b9f0-ebe6-4f76-af75-b6242460894f 2025-01-05 09:57:29,721 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ab3edf21-3763-4d0c-aac3-15005b62c685 2025-01-05 09:57:32,968 - 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 1002ms') 2025-01-05 09:57:32,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73153747-93620474 failed! 2025-01-05 09:57:33,025 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73153747:ctest-vn-71320692 is 188.59.35.129 and allocation pool is NOT set 2025-01-05 09:57:35,087 - 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=2.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/1.684/2.931/1.246 ms') 2025-01-05 09:57:35,087 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73153747-93620474 passed 2025-01-05 09:57:35,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 09:57:35,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73153747-93620474, IP 188.59.35.131, Port 22 2025-01-05 09:57:35,400 - DEBUG - VM ctest-TestBasicPolicy-73153747-93620474 is ready for SSH connections 2025-01-05 09:57:35,400 - INFO - Waiting for VM ctest-TestBasicPolicy-73153747-40733620 to be up.. 2025-01-05 09:57:35,485 - DEBUG - VM is in ACTIVE state now 2025-01-05 09:57:35,486 - INFO - VM name : ctest-TestBasicPolicy-73153747-40733620 2025-01-05 09:57:35,573 - DEBUG - VM ctest-TestBasicPolicy-73153747-40733620 ID is d04e0938-8b12-4f89-83dd-766c9915768f 2025-01-05 09:57:35,573 - DEBUG - VM ctest-TestBasicPolicy-73153747-40733620 launched on Node cn-jenkins-deploy-platform-ansible-os-2533-1 2025-01-05 09:57:35,672 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d04e0938-8b12-4f89-83dd-766c9915768f 2025-01-05 09:57:35,682 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/be9328e3-1bd1-41c2-9b69-0e6d06ce73ae 2025-01-05 09:57:36,938 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.582 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.582/1.733/2.884/1.151 ms') 2025-01-05 09:57:36,938 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73153747-40733620 passed 2025-01-05 09:57:37,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 09:57:37,097 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73153747-40733620, IP 150.24.220.195, Port 22 2025-01-05 09:57:37,263 - DEBUG - VM ctest-TestBasicPolicy-73153747-40733620 is ready for SSH connections 2025-01-05 09:57:37,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 09:57:37,264 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.24.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-05 09:57:37,264 - DEBUG - ping -s 56 -c 3 -W 1 150.24.220.195 2025-01-05 09:57:41,244 - DEBUG - PING 150.24.220.195 (150.24.220.195): 56 data bytes 64 bytes from 150.24.220.195: seq=0 ttl=63 time=3.560 ms 64 bytes from 150.24.220.195: seq=1 ttl=63 time=1.316 ms 64 bytes from 150.24.220.195: seq=2 ttl=63 time=0.805 ms --- 150.24.220.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.893/3.560 ms 2025-01-05 09:57:41,244 - INFO - Ping to IP 150.24.220.195 from VM ctest-TestBasicPolicy-73153747-93620474 passed 2025-01-05 09:57:41,429 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f1787c4d-4534-4683-ae2b-d04c4dacc4e0", "href": "http://10.0.0.23:8082/network-policy/f1787c4d-4534-4683-ae2b-d04c4dacc4e0"}} 2025-01-05 09:57:41,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-05 09:57:41,429 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.24.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-05 09:57:41,429 - DEBUG - ping -s 56 -c 3 -W 1 150.24.220.195 2025-01-05 09:57:44,634 - DEBUG - PING 150.24.220.195 (150.24.220.195): 56 data bytes --- 150.24.220.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-05 09:57:44,634 - WARNING - Ping to IP 150.24.220.195 from VM ctest-TestBasicPolicy-73153747-93620474 failed 2025-01-05 09:57:44,634 - INFO - Deleting VM ctest-TestBasicPolicy-73153747-40733620 2025-01-05 09:57:44,722 - INFO - Deleting VM ctest-TestBasicPolicy-73153747-93620474 2025-01-05 09:57:45,124 - INFO - Deleted policy ctest-policy-allow-all-14135350 2025-01-05 09:57:45,124 - INFO - Deleting VN ctest-vn-19271819 2025-01-05 09:57:45,163 - DEBUG - VN e623c89f-10f5-4b49-8512-c632a700ac4c still in use: Unable to complete operation on network e623c89f-10f5-4b49-8512-c632a700ac4c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1452fd9-caa3-4f8d-aeef-4168302e5cdd'] 2025-01-05 09:57:45,163 - WARNING - Deleting VN ctest-vn-19271819 failed..Will retry 2025-01-05 09:57:47,280 - DEBUG - Response for deleting network () 2025-01-05 09:57:47,280 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/0971b508-3715-4ea9-9f03-e863d48260bc 2025-01-05 09:57:47,285 - DEBUG - Response Code: 404 2025-01-05 09:57:47,285 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-05 09:57:47,292 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e6172c9e-77c2-439c-81bd-dd492bcbc71b 2025-01-05 09:57:47,347 - DEBUG - Requesting: http://10.0.0.23:8082/project/d9975a01-222f-4fb5-a920-9ae60f46ec18 2025-01-05 09:57:47,445 - INFO - Validated that VN ctest-vn-19271819 is not found in API Server 2025-01-05 09:57:47,458 - DEBUG - VN ctest-vn-19271819 is not present in Agent 10.0.0.23 2025-01-05 09:57:47,458 - INFO - Validated that VN ctest-vn-19271819 is not in any agent 2025-01-05 09:57:47,475 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19271819 info 2025-01-05 09:57:47,475 - INFO - Deleting VN ctest-vn-71320692 2025-01-05 09:57:47,595 - DEBUG - Response for deleting network () 2025-01-05 09:57:47,595 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/c0995492-34f4-43fd-bd8d-6580ecc45c03 2025-01-05 09:57:47,603 - DEBUG - Response Code: 404 2025-01-05 09:57:47,603 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-01-05 09:57:47,610 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e6172c9e-77c2-439c-81bd-dd492bcbc71b 2025-01-05 09:57:47,668 - DEBUG - Requesting: http://10.0.0.23:8082/project/d9975a01-222f-4fb5-a920-9ae60f46ec18 2025-01-05 09:57:47,739 - INFO - Validated that VN ctest-vn-71320692 is not found in API Server 2025-01-05 09:57:47,749 - DEBUG - VN ctest-vn-71320692 is not present in Agent 10.0.0.23 2025-01-05 09:57:47,749 - INFO - Validated that VN ctest-vn-71320692 is not in any agent 2025-01-05 09:57:47,765 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71320692 info 2025-01-05 09:57:48,023 - DEBUG - No XMPP flaps were noticed during the test
2025-01-05 09:57:48,023 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-05 09:57:48,023 - INFO - -------------------------------------------------------------------------------- 2025-01-05 09:57:48,722 - INFO - Deleted project: ctest-TestBasicPolicy-73153747, ID : d9975a01-222f-4fb5-a920-9ae60f46ec18