2024-11-15 01:37:34,513 - INFO - Domain Default found not creating 2024-11-15 01:37:34,683 - INFO - Project ctest-TestBasicPolicy-58174064 not found, creating it 2024-11-15 01:37:35,159 - INFO - Created Project:ctest-TestBasicPolicy-58174064, ID : f8c9f2d3-192f-4ac5-b8c1-26a20a115a61 2024-11-15 01:37:36,689 - INFO - ================================================================================ 2024-11-15 01:37:36,690 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-15 01:37:36,690 - 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 2024-11-15 01:37:36,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.26': '0'}} with 2024-11-15 01:37:36,951 - INFO - Initial checks done. Running the testcase now 2024-11-15 01:37:36,951 - INFO - 2024-11-15 01:37:37,538 - DEBUG - Response for create_network : {'network': {'id': 'dba3d34f-da90-4239-9dbe-840496008a6d', 'name': 'ctest-vn-59142610', 'tenant_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'project_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58174064', 'ctest-vn-59142610'], 'port_security_enabled': True, 'description': ''}} 2024-11-15 01:37:37,700 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd03a6d49-34d8-4aaa-b6df-cb6b83f74fa5', 'name': '', 'tenant_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'network_id': 'dba3d34f-da90-4239-9dbe-840496008a6d', 'ip_version': 4, 'cidr': '184.134.55.0/26', 'allocation_pools': [{'start': '184.134.55.2', 'end': '184.134.55.62'}], 'gateway_ip': '184.134.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.134.55.2', 'tags': [], 'project_id': 'f8c9f2d3192f4ac5b8c126a20a115a61'}} 2024-11-15 01:37:37,720 - INFO - Created VN ctest-vn-59142610 2024-11-15 01:37:37,780 - DEBUG - VN ctest-vn-59142610 UUID is dba3d34f-da90-4239-9dbe-840496008a6d 2024-11-15 01:37:38,098 - DEBUG - Response for create_network : {'network': {'id': 'bcfdc41a-052d-407f-85ce-22545965cbce', 'name': 'ctest-vn-47324412', 'tenant_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'project_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58174064', 'ctest-vn-47324412'], 'port_security_enabled': True, 'description': ''}} 2024-11-15 01:37:38,347 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dbf0455-9f93-4266-b863-cd045aeedfb8', 'name': '', 'tenant_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'network_id': 'bcfdc41a-052d-407f-85ce-22545965cbce', 'ip_version': 4, 'cidr': '63.172.205.0/26', 'allocation_pools': [{'start': '63.172.205.2', 'end': '63.172.205.62'}], 'gateway_ip': '63.172.205.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.172.205.2', 'tags': [], 'project_id': 'f8c9f2d3192f4ac5b8c126a20a115a61'}} 2024-11-15 01:37:38,371 - INFO - Created VN ctest-vn-47324412 2024-11-15 01:37:38,432 - DEBUG - VN ctest-vn-47324412 UUID is bcfdc41a-052d-407f-85ce-22545965cbce 2024-11-15 01:37:38,569 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-59142610, 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-58174064:ctest-vn-47324412, 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] 2024-11-15 01:37:38,901 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dba3d34f-da90-4239-9dbe-840496008a6d', 'name': 'ctest-vn-59142610', 'tenant_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'project_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d03a6d49-34d8-4aaa-b6df-cb6b83f74fa5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58174064', 'ctest-vn-59142610'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58174064', 'ctest-policy-allow-all-03070799']], 'subnet_ipam': [{'subnet_cidr': '184.134.55.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-15 01:37:39,204 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bcfdc41a-052d-407f-85ce-22545965cbce', 'name': 'ctest-vn-47324412', 'tenant_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'project_id': 'f8c9f2d3192f4ac5b8c126a20a115a61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6dbf0455-9f93-4266-b863-cd045aeedfb8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58174064', 'ctest-vn-47324412'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58174064', 'ctest-policy-allow-all-03070799']], 'subnet_ipam': [{'subnet_cidr': '63.172.205.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-15 01:37:39,364 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-15 01:37:39,672 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-15 01:37:39,711 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8f8a73e8-8ee5-40c5-bd64-bafa63d6628b 2024-11-15 01:37:39,728 - DEBUG - Requesting: http://10.0.0.22:8082/project/f8c9f2d3-192f-4ac5-b8c1-26a20a115a61 2024-11-15 01:37:39,826 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dba3d34f-da90-4239-9dbe-840496008a6d 2024-11-15 01:37:39,843 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dba3d34f-da90-4239-9dbe-840496008a6d 2024-11-15 01:37:39,860 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0d0f6dd5-2df8-4697-b362-4ff44b193d99 2024-11-15 01:37:39,871 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0d0f6dd5-2df8-4697-b362-4ff44b193d99 2024-11-15 01:37:39,884 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8e411086-79a2-4bbe-9de1-c0f8c1d2f734 2024-11-15 01:37:39,893 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-15 01:37:39,893 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dba3d34f-da90-4239-9dbe-840496008a6d 2024-11-15 01:37:39,908 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0d0f6dd5-2df8-4697-b362-4ff44b193d99 2024-11-15 01:37:39,932 - INFO - Verified VN network id 8 for VN dba3d34f-da90-4239-9dbe-840496008a6d 2024-11-15 01:37:39,932 - INFO - Verifications in API Server for VN ctest-vn-59142610 passed 2024-11-15 01:37:39,932 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dba3d34f-da90-4239-9dbe-840496008a6d 2024-11-15 01:37:39,946 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0d0f6dd5-2df8-4697-b362-4ff44b193d99 2024-11-15 01:37:39,956 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0d0f6dd5-2df8-4697-b362-4ff44b193d99 2024-11-15 01:37:39,965 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8e411086-79a2-4bbe-9de1-c0f8c1d2f734 2024-11-15 01:37:39,980 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-59142610', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58174064', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15826725855432819257', 'uuid-lslong': '11366667664761064045'}, 'enable': 'true', 'created': '2024-11-15T01:37:37', 'last-modified': '2024-11-15T01:37:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.113103'} 2024-11-15 01:37:39,988 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-15 01:37:39,988 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59142610 passed 2024-11-15 01:37:39,988 - DEBUG - ====Verifying policy data for ctest-vn-59142610 in API_Server ====== 2024-11-15 01:37:39,988 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-15 01:37:39,995 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8f8a73e8-8ee5-40c5-bd64-bafa63d6628b 2024-11-15 01:37:40,009 - DEBUG - Requesting: http://10.0.0.22:8082/project/f8c9f2d3-192f-4ac5-b8c1-26a20a115a61 2024-11-15 01:37:40,096 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dba3d34f-da90-4239-9dbe-840496008a6d 2024-11-15 01:37:40,111 - DEBUG - ==>Verifying data for policy with id: c6ebb8b1-07e9-4c6c-9fc9-d79402b94a07, fqn: ['default-domain', 'ctest-TestBasicPolicy-58174064', 'ctest-policy-allow-all-03070799'] 2024-11-15 01:37:40,111 - INFO - VN ctest-vn-59142610 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-15 01:37:40,111 - DEBUG - Verifying the vn in opserver 2024-11-15 01:37:40,111 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-59142610 virtual network link through opserver 10.0.0.22 2024-11-15 01:37:40,112 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-11-15 01:37:40,411 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-11-15 01:37:40,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-59142610', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-59142610?flat'} 2024-11-15 01:37:40,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-59142610 is found in opserver 2024-11-15 01:37:40,504 - DEBUG - Do not have enough data to verify VN in agent 2024-11-15 01:37:40,510 - DEBUG - VRF ids for VN ctest-vn-59142610: {} 2024-11-15 01:37:40,510 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-15 01:37:40,519 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8f8a73e8-8ee5-40c5-bd64-bafa63d6628b 2024-11-15 01:37:40,533 - DEBUG - Requesting: http://10.0.0.22:8082/project/f8c9f2d3-192f-4ac5-b8c1-26a20a115a61 2024-11-15 01:37:40,633 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bcfdc41a-052d-407f-85ce-22545965cbce 2024-11-15 01:37:40,656 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bcfdc41a-052d-407f-85ce-22545965cbce 2024-11-15 01:37:40,673 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d6686093-c5a3-4a1c-8fad-8ded66cb2db3 2024-11-15 01:37:40,683 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d6686093-c5a3-4a1c-8fad-8ded66cb2db3 2024-11-15 01:37:40,693 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/cd62e127-31f1-4601-bab5-ce710b06b2d7 2024-11-15 01:37:40,701 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-15 01:37:40,702 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bcfdc41a-052d-407f-85ce-22545965cbce 2024-11-15 01:37:40,716 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d6686093-c5a3-4a1c-8fad-8ded66cb2db3 2024-11-15 01:37:40,738 - INFO - Verified VN network id 9 for VN bcfdc41a-052d-407f-85ce-22545965cbce 2024-11-15 01:37:40,738 - INFO - Verifications in API Server for VN ctest-vn-47324412 passed 2024-11-15 01:37:40,738 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bcfdc41a-052d-407f-85ce-22545965cbce 2024-11-15 01:37:40,752 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d6686093-c5a3-4a1c-8fad-8ded66cb2db3 2024-11-15 01:37:40,761 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d6686093-c5a3-4a1c-8fad-8ded66cb2db3 2024-11-15 01:37:40,770 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/cd62e127-31f1-4601-bab5-ce710b06b2d7 2024-11-15 01:37:40,785 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-47324412', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58174064', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13618256464273293439', 'uuid-lslong': '9641681597919251406'}, 'enable': 'true', 'created': '2024-11-15T01:37:38', 'last-modified': '2024-11-15T01:37:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.648367'} 2024-11-15 01:37:40,791 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-15 01:37:40,792 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47324412 passed 2024-11-15 01:37:40,792 - DEBUG - ====Verifying policy data for ctest-vn-47324412 in API_Server ====== 2024-11-15 01:37:40,792 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-15 01:37:40,798 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8f8a73e8-8ee5-40c5-bd64-bafa63d6628b 2024-11-15 01:37:40,813 - DEBUG - Requesting: http://10.0.0.22:8082/project/f8c9f2d3-192f-4ac5-b8c1-26a20a115a61 2024-11-15 01:37:40,901 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bcfdc41a-052d-407f-85ce-22545965cbce 2024-11-15 01:37:40,916 - DEBUG - ==>Verifying data for policy with id: c6ebb8b1-07e9-4c6c-9fc9-d79402b94a07, fqn: ['default-domain', 'ctest-TestBasicPolicy-58174064', 'ctest-policy-allow-all-03070799'] 2024-11-15 01:37:40,916 - INFO - VN ctest-vn-47324412 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-15 01:37:40,916 - DEBUG - Verifying the vn in opserver 2024-11-15 01:37:40,916 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-47324412 virtual network link through opserver 10.0.0.22 2024-11-15 01:37:40,916 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-11-15 01:37:40,933 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-47324412', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-47324412?flat'} 2024-11-15 01:37:40,933 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-47324412 is found in opserver 2024-11-15 01:37:40,944 - DEBUG - Do not have enough data to verify VN in agent 2024-11-15 01:37:40,950 - DEBUG - VRF ids for VN ctest-vn-47324412: {} 2024-11-15 01:37:41,021 - DEBUG - Services list from nova: [, , ] 2024-11-15 01:37:42,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2307-1) 2024-11-15 01:37:43,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2307-1) 2024-11-15 01:37:43,541 - INFO - Waiting for VM ctest-TestBasicPolicy-58174064-13881060 to be up.. 2024-11-15 01:37:43,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-15 01:37:48,743 - DEBUG - VM is in ACTIVE state now 2024-11-15 01:37:48,743 - INFO - VM name : ctest-TestBasicPolicy-58174064-13881060 2024-11-15 01:37:48,836 - DEBUG - VM ctest-TestBasicPolicy-58174064-13881060 ID is d845ff35-10d4-4eb1-824d-70910d2364e5 2024-11-15 01:37:48,857 - DEBUG - VM ctest-TestBasicPolicy-58174064-13881060 launched on Node cn-jenkins-deploy-platform-ansible-os-2307-1 2024-11-15 01:37:48,952 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d845ff35-10d4-4eb1-824d-70910d2364e5 2024-11-15 01:37:48,964 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a3e566f4-0f5d-4ca0-842f-1ad03573130c 2024-11-15 01:37:52,252 - 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 1023ms') 2024-11-15 01:37:52,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58174064-13881060 failed! 2024-11-15 01:37:52,312 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58174064:ctest-vn-59142610 is 184.134.55.1 and allocation pool is NOT set 2024-11-15 01:37:54,370 - 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=4.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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 = 1.333/2.797/4.261/1.464 ms') 2024-11-15 01:37:54,370 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58174064-13881060 passed 2024-11-15 01:37:54,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:37:54,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58174064-13881060, IP 184.134.55.3, Port 22 2024-11-15 01:37:54,696 - DEBUG - VM ctest-TestBasicPolicy-58174064-13881060 is ready for SSH connections 2024-11-15 01:37:54,696 - INFO - Waiting for VM ctest-TestBasicPolicy-58174064-24123530 to be up.. 2024-11-15 01:37:54,798 - DEBUG - VM is in ACTIVE state now 2024-11-15 01:37:54,798 - INFO - VM name : ctest-TestBasicPolicy-58174064-24123530 2024-11-15 01:37:54,891 - DEBUG - VM ctest-TestBasicPolicy-58174064-24123530 ID is 213f4a5c-d90c-4596-a1b1-2a86f5e3a027 2024-11-15 01:37:54,891 - DEBUG - VM ctest-TestBasicPolicy-58174064-24123530 launched on Node cn-jenkins-deploy-platform-ansible-os-2307-1 2024-11-15 01:37:55,000 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/213f4a5c-d90c-4596-a1b1-2a86f5e3a027 2024-11-15 01:37:55,013 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e4542364-1867-44e5-a794-f6ed9723a0f2 2024-11-15 01:37:56,290 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.442/1.602/2.762/1.160 ms') 2024-11-15 01:37:56,290 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58174064-24123530 passed 2024-11-15 01:37:56,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:37:56,452 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58174064-24123530, IP 63.172.205.3, Port 22 2024-11-15 01:37:56,607 - DEBUG - VM ctest-TestBasicPolicy-58174064-24123530 is ready for SSH connections 2024-11-15 01:37:56,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:37:56,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.172.205.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-11-15 01:37:56,608 - DEBUG - ping -s 56 -c 3 -W 1 63.172.205.3 2024-11-15 01:38:00,598 - DEBUG - PING 63.172.205.3 (63.172.205.3): 56 data bytes 64 bytes from 63.172.205.3: seq=0 ttl=63 time=3.217 ms 64 bytes from 63.172.205.3: seq=1 ttl=63 time=1.200 ms 64 bytes from 63.172.205.3: seq=2 ttl=63 time=1.273 ms --- 63.172.205.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.200/1.896/3.217 ms 2024-11-15 01:38:00,598 - INFO - Ping to IP 63.172.205.3 from VM ctest-TestBasicPolicy-58174064-13881060 passed 2024-11-15 01:38:00,791 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c6ebb8b1-07e9-4c6c-9fc9-d79402b94a07", "href": "http://10.0.0.22:8082/network-policy/c6ebb8b1-07e9-4c6c-9fc9-d79402b94a07"}} 2024-11-15 01:38:00,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:38:00,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.172.205.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-11-15 01:38:00,792 - DEBUG - ping -s 56 -c 3 -W 1 63.172.205.3 2024-11-15 01:38:03,998 - DEBUG - PING 63.172.205.3 (63.172.205.3): 56 data bytes 64 bytes from 63.172.205.3: seq=0 ttl=63 time=1.527 ms --- 63.172.205.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.527/1.527/1.527 ms 2024-11-15 01:38:03,998 - WARNING - Ping to IP 63.172.205.3 from VM ctest-TestBasicPolicy-58174064-13881060 failed 2024-11-15 01:38:03,998 - INFO - Deleting VM ctest-TestBasicPolicy-58174064-24123530 2024-11-15 01:38:04,070 - INFO - Deleting VM ctest-TestBasicPolicy-58174064-13881060 2024-11-15 01:38:04,493 - INFO - Deleted policy ctest-policy-allow-all-03070799 2024-11-15 01:38:04,493 - INFO - Deleting VN ctest-vn-47324412 2024-11-15 01:38:04,543 - DEBUG - VN bcfdc41a-052d-407f-85ce-22545965cbce still in use: Unable to complete operation on network bcfdc41a-052d-407f-85ce-22545965cbce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24d4c3d1-1f3a-4223-8970-2ffbec5becab'] 2024-11-15 01:38:04,543 - WARNING - Deleting VN ctest-vn-47324412 failed..Will retry 2024-11-15 01:38:06,656 - DEBUG - Response for deleting network () 2024-11-15 01:38:06,656 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d6686093-c5a3-4a1c-8fad-8ded66cb2db3 2024-11-15 01:38:06,668 - DEBUG - Response Code: 404 2024-11-15 01:38:06,669 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-15 01:38:06,676 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8f8a73e8-8ee5-40c5-bd64-bafa63d6628b 2024-11-15 01:38:06,735 - DEBUG - Requesting: http://10.0.0.22:8082/project/f8c9f2d3-192f-4ac5-b8c1-26a20a115a61 2024-11-15 01:38:06,821 - INFO - Validated that VN ctest-vn-47324412 is not found in API Server 2024-11-15 01:38:06,831 - DEBUG - VN ctest-vn-47324412 is not present in Agent 10.0.0.22 2024-11-15 01:38:06,831 - INFO - Validated that VN ctest-vn-47324412 is not in any agent 2024-11-15 01:38:06,847 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47324412 info 2024-11-15 01:38:06,847 - INFO - Deleting VN ctest-vn-59142610 2024-11-15 01:38:06,963 - DEBUG - Response for deleting network () 2024-11-15 01:38:06,963 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0d0f6dd5-2df8-4697-b362-4ff44b193d99 2024-11-15 01:38:06,971 - DEBUG - Response Code: 404 2024-11-15 01:38:06,971 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-11-15 01:38:06,977 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8f8a73e8-8ee5-40c5-bd64-bafa63d6628b 2024-11-15 01:38:07,030 - DEBUG - Requesting: http://10.0.0.22:8082/project/f8c9f2d3-192f-4ac5-b8c1-26a20a115a61 2024-11-15 01:38:07,111 - INFO - Validated that VN ctest-vn-59142610 is not found in API Server 2024-11-15 01:38:07,124 - DEBUG - VN ctest-vn-59142610 is not present in Agent 10.0.0.22 2024-11-15 01:38:07,124 - INFO - Validated that VN ctest-vn-59142610 is not in any agent 2024-11-15 01:38:07,144 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59142610 info 2024-11-15 01:38:07,397 - DEBUG - No XMPP flaps were noticed during the test 2024-11-15 01:38:07,397 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-11-15 01:38:07,397 - INFO - -------------------------------------------------------------------------------- 2024-11-15 01:38:08,094 - INFO - Deleted project: ctest-TestBasicPolicy-58174064, ID : f8c9f2d3-192f-4ac5-b8c1-26a20a115a61