2025-01-14 06:47:08,946 - INFO - Domain Default found not creating 2025-01-14 06:47:09,091 - INFO - Project ctest-TestBasicPolicy-67445948 not found, creating it 2025-01-14 06:47:09,553 - INFO - Created Project:ctest-TestBasicPolicy-67445948, ID : e566c293-9ddc-4c4c-a25d-66e26db22422 2025-01-14 06:47:11,047 - INFO - ================================================================================ 2025-01-14 06:47:11,048 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-14 06:47:11,048 - 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-14 06:47:11,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.10': '0'}} with 2025-01-14 06:47:11,303 - INFO - Initial checks done. Running the testcase now 2025-01-14 06:47:11,303 - INFO - 2025-01-14 06:47:11,869 - DEBUG - Response for create_network : {'network': {'id': '369c4efa-2e8f-4b5f-b342-90732c586a31', 'name': 'ctest-vn-34148577', 'tenant_id': 'e566c2939ddc4c4ca25d66e26db22422', 'project_id': 'e566c2939ddc4c4ca25d66e26db22422', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67445948', 'ctest-vn-34148577'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 06:47:12,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efb001a5-9145-437a-8712-9340308b80bf', 'name': '', 'tenant_id': 'e566c2939ddc4c4ca25d66e26db22422', 'network_id': '369c4efa-2e8f-4b5f-b342-90732c586a31', 'ip_version': 4, 'cidr': '131.65.145.128/26', 'allocation_pools': [{'start': '131.65.145.130', 'end': '131.65.145.190'}], 'gateway_ip': '131.65.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.65.145.130', 'tags': [], 'project_id': 'e566c2939ddc4c4ca25d66e26db22422'}} 2025-01-14 06:47:12,111 - INFO - Created VN ctest-vn-34148577 2025-01-14 06:47:12,165 - DEBUG - VN ctest-vn-34148577 UUID is 369c4efa-2e8f-4b5f-b342-90732c586a31 2025-01-14 06:47:12,500 - DEBUG - Response for create_network : {'network': {'id': 'aeac5f6c-71c4-4195-a1c5-07a0fe588c57', 'name': 'ctest-vn-99813500', 'tenant_id': 'e566c2939ddc4c4ca25d66e26db22422', 'project_id': 'e566c2939ddc4c4ca25d66e26db22422', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67445948', 'ctest-vn-99813500'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 06:47:12,748 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6db97b1-9f6d-4b83-936c-a6f2b8f91e47', 'name': '', 'tenant_id': 'e566c2939ddc4c4ca25d66e26db22422', 'network_id': 'aeac5f6c-71c4-4195-a1c5-07a0fe588c57', 'ip_version': 4, 'cidr': '17.115.92.64/26', 'allocation_pools': [{'start': '17.115.92.66', 'end': '17.115.92.126'}], 'gateway_ip': '17.115.92.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.115.92.66', 'tags': [], 'project_id': 'e566c2939ddc4c4ca25d66e26db22422'}} 2025-01-14 06:47:12,769 - INFO - Created VN ctest-vn-99813500 2025-01-14 06:47:12,821 - DEBUG - VN ctest-vn-99813500 UUID is aeac5f6c-71c4-4195-a1c5-07a0fe588c57 2025-01-14 06:47:12,948 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-34148577, 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-67445948:ctest-vn-99813500, 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-14 06:47:13,262 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '369c4efa-2e8f-4b5f-b342-90732c586a31', 'name': 'ctest-vn-34148577', 'tenant_id': 'e566c2939ddc4c4ca25d66e26db22422', 'project_id': 'e566c2939ddc4c4ca25d66e26db22422', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['efb001a5-9145-437a-8712-9340308b80bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67445948', 'ctest-vn-34148577'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67445948', 'ctest-policy-allow-all-95253037']], 'subnet_ipam': [{'subnet_cidr': '131.65.145.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-14 06:47:13,486 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aeac5f6c-71c4-4195-a1c5-07a0fe588c57', 'name': 'ctest-vn-99813500', 'tenant_id': 'e566c2939ddc4c4ca25d66e26db22422', 'project_id': 'e566c2939ddc4c4ca25d66e26db22422', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6db97b1-9f6d-4b83-936c-a6f2b8f91e47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67445948', 'ctest-vn-99813500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67445948', 'ctest-policy-allow-all-95253037']], 'subnet_ipam': [{'subnet_cidr': '17.115.92.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-14 06:47:13,649 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-14 06:47:13,962 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-14 06:47:13,996 - DEBUG - Requesting: http://10.0.0.32:8082/domain/db0522b5-5f3c-4f5a-a864-653cc5a74461 2025-01-14 06:47:14,011 - DEBUG - Requesting: http://10.0.0.32:8082/project/e566c293-9ddc-4c4c-a25d-66e26db22422 2025-01-14 06:47:14,091 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/369c4efa-2e8f-4b5f-b342-90732c586a31 2025-01-14 06:47:14,102 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/369c4efa-2e8f-4b5f-b342-90732c586a31 2025-01-14 06:47:14,112 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/326958bc-1205-4981-a0fd-a98f3d571730 2025-01-14 06:47:14,119 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/326958bc-1205-4981-a0fd-a98f3d571730 2025-01-14 06:47:14,127 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/9deeb053-b77d-4bb2-8dd8-1334e7f8e0ae 2025-01-14 06:47:14,134 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-14 06:47:14,135 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/369c4efa-2e8f-4b5f-b342-90732c586a31 2025-01-14 06:47:14,145 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/326958bc-1205-4981-a0fd-a98f3d571730 2025-01-14 06:47:14,161 - INFO - Verified VN network id 8 for VN 369c4efa-2e8f-4b5f-b342-90732c586a31 2025-01-14 06:47:14,161 - INFO - Verifications in API Server for VN ctest-vn-34148577 passed 2025-01-14 06:47:14,161 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/369c4efa-2e8f-4b5f-b342-90732c586a31 2025-01-14 06:47:14,172 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/326958bc-1205-4981-a0fd-a98f3d571730 2025-01-14 06:47:14,181 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/326958bc-1205-4981-a0fd-a98f3d571730 2025-01-14 06:47:14,188 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/9deeb053-b77d-4bb2-8dd8-1334e7f8e0ae 2025-01-14 06:47:14,202 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-34148577', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67445948', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3935107010844904287', 'uuid-lslong': '12917045505591634481'}, 'enable': 'true', 'created': '2025-01-14T06:47:11', 'last-modified': '2025-01-14T06:47:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.963003'} 2025-01-14 06:47:14,208 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-14 06:47:14,208 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34148577 passed 2025-01-14 06:47:14,209 - DEBUG - ====Verifying policy data for ctest-vn-34148577 in API_Server ====== 2025-01-14 06:47:14,209 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-14 06:47:14,214 - DEBUG - Requesting: http://10.0.0.32:8082/domain/db0522b5-5f3c-4f5a-a864-653cc5a74461 2025-01-14 06:47:14,225 - DEBUG - Requesting: http://10.0.0.32:8082/project/e566c293-9ddc-4c4c-a25d-66e26db22422 2025-01-14 06:47:14,298 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/369c4efa-2e8f-4b5f-b342-90732c586a31 2025-01-14 06:47:14,310 - DEBUG - ==>Verifying data for policy with id: ad4975fb-1e13-4175-abc5-682033ddf507, fqn: ['default-domain', 'ctest-TestBasicPolicy-67445948', 'ctest-policy-allow-all-95253037'] 2025-01-14 06:47:14,310 - INFO - VN ctest-vn-34148577 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-14 06:47:14,310 - DEBUG - Verifying the vn in opserver 2025-01-14 06:47:14,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-34148577 virtual network link through opserver 10.0.0.32 2025-01-14 06:47:14,310 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-14 06:47:14,606 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-14 06:47:14,672 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-34148577', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-34148577?flat'} 2025-01-14 06:47:14,672 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-34148577 is found in opserver 2025-01-14 06:47:14,684 - DEBUG - Do not have enough data to verify VN in agent 2025-01-14 06:47:14,689 - DEBUG - VRF ids for VN ctest-vn-34148577: {} 2025-01-14 06:47:14,689 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-14 06:47:14,697 - DEBUG - Requesting: http://10.0.0.32:8082/domain/db0522b5-5f3c-4f5a-a864-653cc5a74461 2025-01-14 06:47:14,709 - DEBUG - Requesting: http://10.0.0.32:8082/project/e566c293-9ddc-4c4c-a25d-66e26db22422 2025-01-14 06:47:14,780 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/aeac5f6c-71c4-4195-a1c5-07a0fe588c57 2025-01-14 06:47:14,793 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/aeac5f6c-71c4-4195-a1c5-07a0fe588c57 2025-01-14 06:47:14,804 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14ba865d-7fcb-4bb3-90aa-9c5ed288fd34 2025-01-14 06:47:14,814 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14ba865d-7fcb-4bb3-90aa-9c5ed288fd34 2025-01-14 06:47:14,821 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/035b2d81-5cfc-4cb8-a3c9-939ec819acbb 2025-01-14 06:47:14,829 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-14 06:47:14,829 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/aeac5f6c-71c4-4195-a1c5-07a0fe588c57 2025-01-14 06:47:14,838 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14ba865d-7fcb-4bb3-90aa-9c5ed288fd34 2025-01-14 06:47:14,854 - INFO - Verified VN network id 9 for VN aeac5f6c-71c4-4195-a1c5-07a0fe588c57 2025-01-14 06:47:14,854 - INFO - Verifications in API Server for VN ctest-vn-99813500 passed 2025-01-14 06:47:14,854 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/aeac5f6c-71c4-4195-a1c5-07a0fe588c57 2025-01-14 06:47:14,865 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14ba865d-7fcb-4bb3-90aa-9c5ed288fd34 2025-01-14 06:47:14,872 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14ba865d-7fcb-4bb3-90aa-9c5ed288fd34 2025-01-14 06:47:14,880 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/035b2d81-5cfc-4cb8-a3c9-939ec819acbb 2025-01-14 06:47:14,897 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-99813500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67445948', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12586539977963487637', 'uuid-lslong': '11656731598561774679'}, 'enable': 'true', 'created': '2025-01-14T06:47:12', 'last-modified': '2025-01-14T06:47:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.423398'} 2025-01-14 06:47:14,904 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-14 06:47:14,904 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99813500 passed 2025-01-14 06:47:14,904 - DEBUG - ====Verifying policy data for ctest-vn-99813500 in API_Server ====== 2025-01-14 06:47:14,904 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-14 06:47:14,912 - DEBUG - Requesting: http://10.0.0.32:8082/domain/db0522b5-5f3c-4f5a-a864-653cc5a74461 2025-01-14 06:47:14,926 - DEBUG - Requesting: http://10.0.0.32:8082/project/e566c293-9ddc-4c4c-a25d-66e26db22422 2025-01-14 06:47:14,998 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/aeac5f6c-71c4-4195-a1c5-07a0fe588c57 2025-01-14 06:47:15,009 - DEBUG - ==>Verifying data for policy with id: ad4975fb-1e13-4175-abc5-682033ddf507, fqn: ['default-domain', 'ctest-TestBasicPolicy-67445948', 'ctest-policy-allow-all-95253037'] 2025-01-14 06:47:15,009 - INFO - VN ctest-vn-99813500 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-14 06:47:15,009 - DEBUG - Verifying the vn in opserver 2025-01-14 06:47:15,009 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-99813500 virtual network link through opserver 10.0.0.32 2025-01-14 06:47:15,009 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-14 06:47:15,020 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-99813500', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-99813500?flat'} 2025-01-14 06:47:15,020 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-99813500 is found in opserver 2025-01-14 06:47:15,032 - DEBUG - Do not have enough data to verify VN in agent 2025-01-14 06:47:15,038 - DEBUG - VRF ids for VN ctest-vn-99813500: {} 2025-01-14 06:47:15,092 - DEBUG - Services list from nova: [, , ] 2025-01-14 06:47:16,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2619-1) 2025-01-14 06:47:17,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2619-1) 2025-01-14 06:47:17,411 - INFO - Waiting for VM ctest-TestBasicPolicy-67445948-60989834 to be up.. 2025-01-14 06:47:17,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 06:47:22,601 - DEBUG - VM is in ACTIVE state now 2025-01-14 06:47:22,601 - INFO - VM name : ctest-TestBasicPolicy-67445948-60989834 2025-01-14 06:47:22,701 - DEBUG - VM ctest-TestBasicPolicy-67445948-60989834 ID is ec482358-bca6-4569-952b-493302c62217 2025-01-14 06:47:22,724 - DEBUG - VM ctest-TestBasicPolicy-67445948-60989834 launched on Node cn-jenkins-deploy-platform-ansible-os-2619-1 2025-01-14 06:47:22,814 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/ec482358-bca6-4569-952b-493302c62217 2025-01-14 06:47:22,825 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/c1a65c45-6636-4239-93ed-545134a4d08c 2025-01-14 06:47:26,046 - 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 1025ms') 2025-01-14 06:47:26,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67445948-60989834 failed! 2025-01-14 06:47:26,101 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67445948:ctest-vn-34148577 is 131.65.145.129 and allocation pool is NOT set 2025-01-14 06:47:28,164 - 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=6.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.343 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.343/3.612/6.881/3.269 ms') 2025-01-14 06:47:28,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67445948-60989834 passed 2025-01-14 06:47:28,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 06:47:28,313 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67445948-60989834, IP 131.65.145.131, Port 22 2025-01-14 06:47:28,383 - 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-01-14 06:47:28,470 - DEBUG - VM ctest-TestBasicPolicy-67445948-60989834 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-14 06:47:33,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 06:47:33,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67445948-60989834, IP 131.65.145.131, Port 22 2025-01-14 06:47:33,638 - DEBUG - VM ctest-TestBasicPolicy-67445948-60989834 is ready for SSH connections 2025-01-14 06:47:33,638 - INFO - Waiting for VM ctest-TestBasicPolicy-67445948-99434369 to be up.. 2025-01-14 06:47:33,716 - DEBUG - VM is in ACTIVE state now 2025-01-14 06:47:33,716 - INFO - VM name : ctest-TestBasicPolicy-67445948-99434369 2025-01-14 06:47:33,800 - DEBUG - VM ctest-TestBasicPolicy-67445948-99434369 ID is a1702ae4-0156-4559-90a8-718036f4b667 2025-01-14 06:47:33,801 - DEBUG - VM ctest-TestBasicPolicy-67445948-99434369 launched on Node cn-jenkins-deploy-platform-ansible-os-2619-1 2025-01-14 06:47:33,962 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/a1702ae4-0156-4559-90a8-718036f4b667 2025-01-14 06:47:33,984 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/e24acd52-c3ad-4c45-b2be-e8c54f4bf522 2025-01-14 06:47:35,268 - 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=3.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.743/3.080/1.337 ms') 2025-01-14 06:47:35,268 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67445948-99434369 passed 2025-01-14 06:47:35,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 06:47:35,425 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67445948-99434369, IP 17.115.92.67, Port 22 2025-01-14 06:47:35,581 - DEBUG - VM ctest-TestBasicPolicy-67445948-99434369 is ready for SSH connections 2025-01-14 06:47:35,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 06:47:35,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.115.92.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-01-14 06:47:35,581 - DEBUG - ping -s 56 -c 3 -W 1 17.115.92.67 2025-01-14 06:47:39,317 - DEBUG - PING 17.115.92.67 (17.115.92.67): 56 data bytes 64 bytes from 17.115.92.67: seq=0 ttl=63 time=4.822 ms 64 bytes from 17.115.92.67: seq=1 ttl=63 time=1.032 ms 64 bytes from 17.115.92.67: seq=2 ttl=63 time=0.881 ms --- 17.115.92.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/2.245/4.822 ms 2025-01-14 06:47:39,317 - INFO - Ping to IP 17.115.92.67 from VM ctest-TestBasicPolicy-67445948-60989834 passed 2025-01-14 06:47:39,500 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ad4975fb-1e13-4175-abc5-682033ddf507", "href": "http://10.0.0.32:8082/network-policy/ad4975fb-1e13-4175-abc5-682033ddf507"}} 2025-01-14 06:47:39,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 06:47:39,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.115.92.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-01-14 06:47:39,501 - DEBUG - ping -s 56 -c 3 -W 1 17.115.92.67 2025-01-14 06:47:42,707 - DEBUG - PING 17.115.92.67 (17.115.92.67): 56 data bytes 64 bytes from 17.115.92.67: seq=0 ttl=63 time=1.398 ms --- 17.115.92.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.398/1.398/1.398 ms 2025-01-14 06:47:42,707 - WARNING - Ping to IP 17.115.92.67 from VM ctest-TestBasicPolicy-67445948-60989834 failed 2025-01-14 06:47:42,707 - INFO - Deleting VM ctest-TestBasicPolicy-67445948-99434369 2025-01-14 06:47:42,772 - INFO - Deleting VM ctest-TestBasicPolicy-67445948-60989834 2025-01-14 06:47:43,146 - INFO - Deleted policy ctest-policy-allow-all-95253037 2025-01-14 06:47:43,146 - INFO - Deleting VN ctest-vn-99813500 2025-01-14 06:47:43,180 - DEBUG - VN aeac5f6c-71c4-4195-a1c5-07a0fe588c57 still in use: Unable to complete operation on network aeac5f6c-71c4-4195-a1c5-07a0fe588c57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92eedf0a-12ed-481d-a729-649fab49dadb'] 2025-01-14 06:47:43,180 - WARNING - Deleting VN ctest-vn-99813500 failed..Will retry 2025-01-14 06:47:45,302 - DEBUG - Response for deleting network () 2025-01-14 06:47:45,302 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14ba865d-7fcb-4bb3-90aa-9c5ed288fd34 2025-01-14 06:47:45,309 - DEBUG - Response Code: 404 2025-01-14 06:47:45,309 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-14 06:47:45,316 - DEBUG - Requesting: http://10.0.0.32:8082/domain/db0522b5-5f3c-4f5a-a864-653cc5a74461 2025-01-14 06:47:45,373 - DEBUG - Requesting: http://10.0.0.32:8082/project/e566c293-9ddc-4c4c-a25d-66e26db22422 2025-01-14 06:47:45,444 - INFO - Validated that VN ctest-vn-99813500 is not found in API Server 2025-01-14 06:47:45,455 - DEBUG - VN ctest-vn-99813500 is not present in Agent 10.0.0.32 2025-01-14 06:47:45,455 - INFO - Validated that VN ctest-vn-99813500 is not in any agent 2025-01-14 06:47:45,471 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99813500 info 2025-01-14 06:47:45,471 - INFO - Deleting VN ctest-vn-34148577 2025-01-14 06:47:45,573 - DEBUG - Response for deleting network () 2025-01-14 06:47:45,573 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/326958bc-1205-4981-a0fd-a98f3d571730 2025-01-14 06:47:45,578 - DEBUG - Response Code: 404 2025-01-14 06:47:45,578 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-14 06:47:45,584 - DEBUG - Requesting: http://10.0.0.32:8082/domain/db0522b5-5f3c-4f5a-a864-653cc5a74461 2025-01-14 06:47:45,638 - DEBUG - Requesting: http://10.0.0.32:8082/project/e566c293-9ddc-4c4c-a25d-66e26db22422 2025-01-14 06:47:45,708 - INFO - Validated that VN ctest-vn-34148577 is not found in API Server 2025-01-14 06:47:45,719 - DEBUG - VN ctest-vn-34148577 is not present in Agent 10.0.0.32 2025-01-14 06:47:45,720 - INFO - Validated that VN ctest-vn-34148577 is not in any agent 2025-01-14 06:47:45,737 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34148577 info 2025-01-14 06:47:45,990 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 06:47:45,990 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-01-14 06:47:45,990 - INFO - -------------------------------------------------------------------------------- 2025-01-14 06:47:46,673 - INFO - Deleted project: ctest-TestBasicPolicy-67445948, ID : e566c293-9ddc-4c4c-a25d-66e26db22422