2025-04-28 15:45:40,246 - INFO - Domain Default found not creating 2025-04-28 15:45:40,421 - INFO - Project ctest-TestBasicPolicy-57136025 not found, creating it 2025-04-28 15:45:41,074 - INFO - Created Project:ctest-TestBasicPolicy-57136025, ID : f490232e-786f-4cee-a01f-9249a970bd43 2025-04-28 15:45:43,574 - INFO - ================================================================================ 2025-04-28 15:45:43,574 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 15:45:43,574 - 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-28 15:45:43,893 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-04-28 15:45:43,893 - INFO - Initial checks done. Running the testcase now 2025-04-28 15:45:43,893 - INFO - 2025-04-28 15:45:44,722 - DEBUG - Response for create_network : {'network': {'id': '5bc2e9b0-6eb3-4fb3-a349-75a168c50500', 'name': 'ctest-vn-84047884', 'tenant_id': 'f490232e786f4ceea01f9249a970bd43', 'project_id': 'f490232e786f4ceea01f9249a970bd43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57136025', 'ctest-vn-84047884'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:45:44,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '4862cb5b-e121-4382-a564-aa61f461b5d5', 'name': '', 'tenant_id': 'f490232e786f4ceea01f9249a970bd43', 'network_id': '5bc2e9b0-6eb3-4fb3-a349-75a168c50500', 'ip_version': 4, 'cidr': '117.110.162.0/26', 'allocation_pools': [{'start': '117.110.162.2', 'end': '117.110.162.62'}], 'gateway_ip': '117.110.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.110.162.2', 'tags': [], 'project_id': 'f490232e786f4ceea01f9249a970bd43'}} 2025-04-28 15:45:45,026 - INFO - Created VN ctest-vn-84047884 2025-04-28 15:45:45,092 - DEBUG - VN ctest-vn-84047884 UUID is 5bc2e9b0-6eb3-4fb3-a349-75a168c50500 2025-04-28 15:45:45,693 - DEBUG - Response for create_network : {'network': {'id': 'fdf1ad14-e71e-40d1-8120-28951de44e9f', 'name': 'ctest-vn-62570126', 'tenant_id': 'f490232e786f4ceea01f9249a970bd43', 'project_id': 'f490232e786f4ceea01f9249a970bd43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57136025', 'ctest-vn-62570126'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:45:45,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '79998581-e404-4239-ac77-57a9a826f85d', 'name': '', 'tenant_id': 'f490232e786f4ceea01f9249a970bd43', 'network_id': 'fdf1ad14-e71e-40d1-8120-28951de44e9f', 'ip_version': 4, 'cidr': '200.175.19.0/26', 'allocation_pools': [{'start': '200.175.19.2', 'end': '200.175.19.62'}], 'gateway_ip': '200.175.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.175.19.2', 'tags': [], 'project_id': 'f490232e786f4ceea01f9249a970bd43'}} 2025-04-28 15:45:45,888 - INFO - Created VN ctest-vn-62570126 2025-04-28 15:45:45,947 - DEBUG - VN ctest-vn-62570126 UUID is fdf1ad14-e71e-40d1-8120-28951de44e9f 2025-04-28 15:45:46,138 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-84047884, 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-57136025:ctest-vn-62570126, 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-28 15:45:46,646 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5bc2e9b0-6eb3-4fb3-a349-75a168c50500', 'name': 'ctest-vn-84047884', 'tenant_id': 'f490232e786f4ceea01f9249a970bd43', 'project_id': 'f490232e786f4ceea01f9249a970bd43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4862cb5b-e121-4382-a564-aa61f461b5d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57136025', 'ctest-vn-84047884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57136025', 'ctest-policy-allow-all-48279967']], 'subnet_ipam': [{'subnet_cidr': '117.110.162.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:45:47,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdf1ad14-e71e-40d1-8120-28951de44e9f', 'name': 'ctest-vn-62570126', 'tenant_id': 'f490232e786f4ceea01f9249a970bd43', 'project_id': 'f490232e786f4ceea01f9249a970bd43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79998581-e404-4239-ac77-57a9a826f85d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57136025', 'ctest-vn-62570126'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57136025', 'ctest-policy-allow-all-48279967']], 'subnet_ipam': [{'subnet_cidr': '200.175.19.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:45:47,263 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-28 15:45:47,581 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-28 15:45:47,894 - DEBUG - Requesting: http://10.0.0.130:8082/domain/66ba7cc8-4980-41db-8134-6180e2e29607 2025-04-28 15:45:47,927 - DEBUG - Requesting: http://10.0.0.130:8082/project/f490232e-786f-4cee-a01f-9249a970bd43 2025-04-28 15:45:48,035 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5bc2e9b0-6eb3-4fb3-a349-75a168c50500 2025-04-28 15:45:48,058 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5bc2e9b0-6eb3-4fb3-a349-75a168c50500 2025-04-28 15:45:48,073 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c470827d-1d66-41bd-b189-35539194b3f1 2025-04-28 15:45:48,084 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c470827d-1d66-41bd-b189-35539194b3f1 2025-04-28 15:45:48,095 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/a83e9c42-7d8d-4283-b187-0c5c044567f3 2025-04-28 15:45:48,105 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 15:45:48,105 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5bc2e9b0-6eb3-4fb3-a349-75a168c50500 2025-04-28 15:45:48,120 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c470827d-1d66-41bd-b189-35539194b3f1 2025-04-28 15:45:48,134 - INFO - Verified VN network id 8 for VN 5bc2e9b0-6eb3-4fb3-a349-75a168c50500 2025-04-28 15:45:48,135 - INFO - Verifications in API Server for VN ctest-vn-84047884 passed 2025-04-28 15:45:48,135 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5bc2e9b0-6eb3-4fb3-a349-75a168c50500 2025-04-28 15:45:48,146 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c470827d-1d66-41bd-b189-35539194b3f1 2025-04-28 15:45:48,156 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c470827d-1d66-41bd-b189-35539194b3f1 2025-04-28 15:45:48,166 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/a83e9c42-7d8d-4283-b187-0c5c044567f3 2025-04-28 15:45:48,184 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-84047884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57136025', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6612104146914070451', 'uuid-lslong': '11766064837590058240'}, 'enable': 'true', 'created': '2025-04-28T15:45:44', 'last-modified': '2025-04-28T15:45:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.585804'} 2025-04-28 15:45:48,194 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 15:45:48,194 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84047884 passed 2025-04-28 15:45:48,194 - DEBUG - ====Verifying policy data for ctest-vn-84047884 in API_Server ====== 2025-04-28 15:45:48,194 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-28 15:45:48,203 - DEBUG - Requesting: http://10.0.0.130:8082/domain/66ba7cc8-4980-41db-8134-6180e2e29607 2025-04-28 15:45:48,218 - DEBUG - Requesting: http://10.0.0.130:8082/project/f490232e-786f-4cee-a01f-9249a970bd43 2025-04-28 15:45:48,319 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5bc2e9b0-6eb3-4fb3-a349-75a168c50500 2025-04-28 15:45:48,334 - DEBUG - ==>Verifying data for policy with id: 78c8904c-147f-4c10-8366-61aa2f189708, fqn: ['default-domain', 'ctest-TestBasicPolicy-57136025', 'ctest-policy-allow-all-48279967'] 2025-04-28 15:45:48,334 - INFO - VN ctest-vn-84047884 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 15:45:48,334 - DEBUG - Verifying the vn in opserver 2025-04-28 15:45:48,334 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-84047884 virtual network link through opserver 10.0.0.130 2025-04-28 15:45:48,334 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-28 15:45:48,675 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-28 15:45:48,766 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-84047884', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-84047884?flat'} 2025-04-28 15:45:48,766 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-84047884 is found in opserver 2025-04-28 15:45:48,786 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 15:45:48,795 - DEBUG - VRF ids for VN ctest-vn-84047884: {} 2025-04-28 15:45:48,795 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-28 15:45:48,808 - DEBUG - Requesting: http://10.0.0.130:8082/domain/66ba7cc8-4980-41db-8134-6180e2e29607 2025-04-28 15:45:48,831 - DEBUG - Requesting: http://10.0.0.130:8082/project/f490232e-786f-4cee-a01f-9249a970bd43 2025-04-28 15:45:48,933 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fdf1ad14-e71e-40d1-8120-28951de44e9f 2025-04-28 15:45:48,952 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fdf1ad14-e71e-40d1-8120-28951de44e9f 2025-04-28 15:45:48,962 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e1eb0a88-5622-41ae-b7ef-0b4f8b6d23d9 2025-04-28 15:45:48,970 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e1eb0a88-5622-41ae-b7ef-0b4f8b6d23d9 2025-04-28 15:45:48,977 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9aee3419-8419-4be8-bc8a-bc3ad4e8c82c 2025-04-28 15:45:48,986 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 15:45:48,986 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fdf1ad14-e71e-40d1-8120-28951de44e9f 2025-04-28 15:45:49,001 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e1eb0a88-5622-41ae-b7ef-0b4f8b6d23d9 2025-04-28 15:45:49,023 - INFO - Verified VN network id 9 for VN fdf1ad14-e71e-40d1-8120-28951de44e9f 2025-04-28 15:45:49,023 - INFO - Verifications in API Server for VN ctest-vn-62570126 passed 2025-04-28 15:45:49,023 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fdf1ad14-e71e-40d1-8120-28951de44e9f 2025-04-28 15:45:49,040 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e1eb0a88-5622-41ae-b7ef-0b4f8b6d23d9 2025-04-28 15:45:49,054 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e1eb0a88-5622-41ae-b7ef-0b4f8b6d23d9 2025-04-28 15:45:49,074 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9aee3419-8419-4be8-bc8a-bc3ad4e8c82c 2025-04-28 15:45:49,098 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-62570126', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57136025', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18298597066271506641', 'uuid-lslong': '9304481451064184479'}, 'enable': 'true', 'created': '2025-04-28T15:45:45', 'last-modified': '2025-04-28T15:45:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.098439'} 2025-04-28 15:45:49,112 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 15:45:49,112 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62570126 passed 2025-04-28 15:45:49,112 - DEBUG - ====Verifying policy data for ctest-vn-62570126 in API_Server ====== 2025-04-28 15:45:49,112 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-28 15:45:49,120 - DEBUG - Requesting: http://10.0.0.130:8082/domain/66ba7cc8-4980-41db-8134-6180e2e29607 2025-04-28 15:45:49,138 - DEBUG - Requesting: http://10.0.0.130:8082/project/f490232e-786f-4cee-a01f-9249a970bd43 2025-04-28 15:45:49,227 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fdf1ad14-e71e-40d1-8120-28951de44e9f 2025-04-28 15:45:49,243 - DEBUG - ==>Verifying data for policy with id: 78c8904c-147f-4c10-8366-61aa2f189708, fqn: ['default-domain', 'ctest-TestBasicPolicy-57136025', 'ctest-policy-allow-all-48279967'] 2025-04-28 15:45:49,243 - INFO - VN ctest-vn-62570126 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 15:45:49,243 - DEBUG - Verifying the vn in opserver 2025-04-28 15:45:49,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-62570126 virtual network link through opserver 10.0.0.130 2025-04-28 15:45:49,244 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-28 15:45:49,256 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-62570126', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-62570126?flat'} 2025-04-28 15:45:49,256 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-62570126 is found in opserver 2025-04-28 15:45:49,269 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 15:45:49,275 - DEBUG - VRF ids for VN ctest-vn-62570126: {} 2025-04-28 15:45:49,343 - DEBUG - Services list from nova: [, , ] 2025-04-28 15:45:50,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3238-1) 2025-04-28 15:45:52,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3238-1) 2025-04-28 15:45:52,028 - INFO - Waiting for VM ctest-TestBasicPolicy-57136025-54667912 to be up.. 2025-04-28 15:45:52,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 15:45:57,337 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:45:57,338 - INFO - VM name : ctest-TestBasicPolicy-57136025-54667912 2025-04-28 15:45:57,471 - DEBUG - VM ctest-TestBasicPolicy-57136025-54667912 ID is b86a4d81-8c37-4692-9a64-548d43bdd4b9 2025-04-28 15:45:57,500 - DEBUG - VM ctest-TestBasicPolicy-57136025-54667912 launched on Node cn-jenkins-deploy-platform-ansible-os-3238-1 2025-04-28 15:45:57,592 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b86a4d81-8c37-4692-9a64-548d43bdd4b9 2025-04-28 15:45:57,605 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6bd791f2-dc8c-4c0a-9cbb-3a94ce50bf2c 2025-04-28 15:46:00,904 - 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 1008ms') 2025-04-28 15:46:00,905 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57136025-54667912 failed! 2025-04-28 15:46:00,971 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57136025:ctest-vn-84047884 is 117.110.162.1 and allocation pool is NOT set 2025-04-28 15:46:03,048 - 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=9.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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 = 1.562/5.447/9.332/3.885 ms') 2025-04-28 15:46:03,049 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57136025-54667912 passed 2025-04-28 15:46:03,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:46:03,252 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57136025-54667912, IP 117.110.162.3, Port 22 2025-04-28 15:46:03,327 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-04-28 15:46:03,530 - DEBUG - VM ctest-TestBasicPolicy-57136025-54667912 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-28 15:46:08,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:46:08,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57136025-54667912, IP 117.110.162.3, Port 22 2025-04-28 15:46:08,734 - DEBUG - VM ctest-TestBasicPolicy-57136025-54667912 is ready for SSH connections 2025-04-28 15:46:08,734 - INFO - Waiting for VM ctest-TestBasicPolicy-57136025-27389198 to be up.. 2025-04-28 15:46:08,863 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:46:08,863 - INFO - VM name : ctest-TestBasicPolicy-57136025-27389198 2025-04-28 15:46:09,033 - DEBUG - VM ctest-TestBasicPolicy-57136025-27389198 ID is 6438c5fb-c667-48e7-a132-5ef401ba88f2 2025-04-28 15:46:09,033 - DEBUG - VM ctest-TestBasicPolicy-57136025-27389198 launched on Node cn-jenkins-deploy-platform-ansible-os-3238-1 2025-04-28 15:46:09,214 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6438c5fb-c667-48e7-a132-5ef401ba88f2 2025-04-28 15:46:09,226 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c1ee82c7-2e51-40c5-8735-e9d2bf84add4 2025-04-28 15:46:10,528 - 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=8.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.721 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.721/4.750/8.780/4.029 ms') 2025-04-28 15:46:10,528 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57136025-27389198 passed 2025-04-28 15:46:10,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:46:10,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57136025-27389198, IP 200.175.19.3, Port 22 2025-04-28 15:46:10,895 - DEBUG - VM ctest-TestBasicPolicy-57136025-27389198 is ready for SSH connections 2025-04-28 15:46:10,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:46:10,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.175.19.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-28 15:46:10,896 - DEBUG - ping -s 56 -c 3 -W 1 200.175.19.3 2025-04-28 15:46:15,458 - DEBUG - PING 200.175.19.3 (200.175.19.3): 56 data bytes 64 bytes from 200.175.19.3: seq=0 ttl=63 time=3.831 ms 64 bytes from 200.175.19.3: seq=1 ttl=63 time=1.998 ms 64 bytes from 200.175.19.3: seq=2 ttl=63 time=1.956 ms --- 200.175.19.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.956/2.595/3.831 ms 2025-04-28 15:46:15,458 - INFO - Ping to IP 200.175.19.3 from VM ctest-TestBasicPolicy-57136025-54667912 passed 2025-04-28 15:46:15,747 - DEBUG - Policy Update Response {"network-policy": {"uuid": "78c8904c-147f-4c10-8366-61aa2f189708", "href": "http://10.0.0.130:8082/network-policy/78c8904c-147f-4c10-8366-61aa2f189708"}} 2025-04-28 15:46:15,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:46:15,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.175.19.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-28 15:46:15,748 - DEBUG - ping -s 56 -c 3 -W 1 200.175.19.3 2025-04-28 15:46:19,050 - DEBUG - PING 200.175.19.3 (200.175.19.3): 56 data bytes --- 200.175.19.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-28 15:46:19,051 - WARNING - Ping to IP 200.175.19.3 from VM ctest-TestBasicPolicy-57136025-54667912 failed 2025-04-28 15:46:19,051 - INFO - Deleting VM ctest-TestBasicPolicy-57136025-27389198 2025-04-28 15:46:19,210 - INFO - Deleting VM ctest-TestBasicPolicy-57136025-54667912 2025-04-28 15:46:19,794 - INFO - Deleted policy ctest-policy-allow-all-48279967 2025-04-28 15:46:19,794 - INFO - Deleting VN ctest-vn-62570126 2025-04-28 15:46:19,835 - DEBUG - VN fdf1ad14-e71e-40d1-8120-28951de44e9f still in use: Unable to complete operation on network fdf1ad14-e71e-40d1-8120-28951de44e9f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a3a7a5f-f021-46df-8d75-ef6882bc7b0d'] 2025-04-28 15:46:19,835 - WARNING - Deleting VN ctest-vn-62570126 failed..Will retry 2025-04-28 15:46:22,027 - DEBUG - Response for deleting network () 2025-04-28 15:46:22,028 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e1eb0a88-5622-41ae-b7ef-0b4f8b6d23d9 2025-04-28 15:46:22,044 - DEBUG - Response Code: 404 2025-04-28 15:46:22,045 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-28 15:46:22,064 - DEBUG - Requesting: http://10.0.0.130:8082/domain/66ba7cc8-4980-41db-8134-6180e2e29607 2025-04-28 15:46:22,081 - DEBUG - Requesting: http://10.0.0.130:8082/project/f490232e-786f-4cee-a01f-9249a970bd43 2025-04-28 15:46:22,166 - INFO - Validated that VN ctest-vn-62570126 is not found in API Server 2025-04-28 15:46:22,183 - DEBUG - VN ctest-vn-62570126 is not present in Agent 10.0.0.130 2025-04-28 15:46:22,184 - INFO - Validated that VN ctest-vn-62570126 is not in any agent 2025-04-28 15:46:22,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62570126 info 2025-04-28 15:46:22,221 - INFO - Deleting VN ctest-vn-84047884 2025-04-28 15:46:22,383 - DEBUG - Response for deleting network () 2025-04-28 15:46:22,384 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c470827d-1d66-41bd-b189-35539194b3f1 2025-04-28 15:46:22,396 - DEBUG - Response Code: 404 2025-04-28 15:46:22,396 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-28 15:46:22,403 - DEBUG - Requesting: http://10.0.0.130:8082/domain/66ba7cc8-4980-41db-8134-6180e2e29607 2025-04-28 15:46:22,460 - DEBUG - Requesting: http://10.0.0.130:8082/project/f490232e-786f-4cee-a01f-9249a970bd43 2025-04-28 15:46:22,592 - INFO - Validated that VN ctest-vn-84047884 is not found in API Server 2025-04-28 15:46:22,612 - DEBUG - VN ctest-vn-84047884 is not present in Agent 10.0.0.130 2025-04-28 15:46:22,612 - INFO - Validated that VN ctest-vn-84047884 is not in any agent 2025-04-28 15:46:22,654 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84047884 info 2025-04-28 15:46:22,987 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 15:46:22,987 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-04-28 15:46:22,988 - INFO - -------------------------------------------------------------------------------- 2025-04-28 15:46:23,886 - INFO - Deleted project: ctest-TestBasicPolicy-57136025, ID : f490232e-786f-4cee-a01f-9249a970bd43