2024-08-24 02:14:43,968 - INFO - Domain Default found not creating 2024-08-24 02:14:44,641 - INFO - Project ctest-TestBasicPolicy-30126425 not found, creating it 2024-08-24 02:14:45,412 - INFO - Created Project:ctest-TestBasicPolicy-30126425, ID : 3dbaef60-26df-4226-acdf-52bf8beae3a5 2024-08-24 02:14:47,881 - INFO - ================================================================================ 2024-08-24 02:14:47,881 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-24 02:14:47,881 - 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-08-24 02:14:48,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.5': '0'}} with 2024-08-24 02:14:48,162 - INFO - Initial checks done. Running the testcase now 2024-08-24 02:14:48,162 - INFO - 2024-08-24 02:14:48,886 - DEBUG - Response for create_network : {'network': {'id': 'd73295c7-5cad-4836-b752-9ad4029c9d60', 'name': 'ctest-vn-96451025', 'tenant_id': '3dbaef6026df4226acdf52bf8beae3a5', 'project_id': '3dbaef6026df4226acdf52bf8beae3a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30126425', 'ctest-vn-96451025'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:14:49,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eacf74a-b552-4fc4-b056-c624eb083e11', 'name': '', 'tenant_id': '3dbaef6026df4226acdf52bf8beae3a5', 'network_id': 'd73295c7-5cad-4836-b752-9ad4029c9d60', 'ip_version': 4, 'cidr': '24.215.63.64/26', 'allocation_pools': [{'start': '24.215.63.66', 'end': '24.215.63.126'}], 'gateway_ip': '24.215.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.215.63.66', 'tags': [], 'project_id': '3dbaef6026df4226acdf52bf8beae3a5'}} 2024-08-24 02:14:49,160 - INFO - Created VN ctest-vn-96451025 2024-08-24 02:14:49,211 - DEBUG - VN ctest-vn-96451025 UUID is d73295c7-5cad-4836-b752-9ad4029c9d60 2024-08-24 02:14:49,731 - DEBUG - Response for create_network : {'network': {'id': '4d2d04f7-3704-4eb1-8bf0-b10d4d030305', 'name': 'ctest-vn-96868915', 'tenant_id': '3dbaef6026df4226acdf52bf8beae3a5', 'project_id': '3dbaef6026df4226acdf52bf8beae3a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30126425', 'ctest-vn-96868915'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:14:49,981 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6a416cf-ca23-4e9c-a447-34d207d826d9', 'name': '', 'tenant_id': '3dbaef6026df4226acdf52bf8beae3a5', 'network_id': '4d2d04f7-3704-4eb1-8bf0-b10d4d030305', 'ip_version': 4, 'cidr': '188.210.217.128/26', 'allocation_pools': [{'start': '188.210.217.130', 'end': '188.210.217.190'}], 'gateway_ip': '188.210.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.210.217.130', 'tags': [], 'project_id': '3dbaef6026df4226acdf52bf8beae3a5'}} 2024-08-24 02:14:50,008 - INFO - Created VN ctest-vn-96868915 2024-08-24 02:14:50,068 - DEBUG - VN ctest-vn-96868915 UUID is 4d2d04f7-3704-4eb1-8bf0-b10d4d030305 2024-08-24 02:14:50,223 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96451025, 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-30126425:ctest-vn-96868915, 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-08-24 02:14:50,637 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd73295c7-5cad-4836-b752-9ad4029c9d60', 'name': 'ctest-vn-96451025', 'tenant_id': '3dbaef6026df4226acdf52bf8beae3a5', 'project_id': '3dbaef6026df4226acdf52bf8beae3a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0eacf74a-b552-4fc4-b056-c624eb083e11'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30126425', 'ctest-vn-96451025'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30126425', 'ctest-policy-allow-all-77070792']], 'subnet_ipam': [{'subnet_cidr': '24.215.63.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:14:51,068 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d2d04f7-3704-4eb1-8bf0-b10d4d030305', 'name': 'ctest-vn-96868915', 'tenant_id': '3dbaef6026df4226acdf52bf8beae3a5', 'project_id': '3dbaef6026df4226acdf52bf8beae3a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6a416cf-ca23-4e9c-a447-34d207d826d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30126425', 'ctest-vn-96868915'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30126425', 'ctest-policy-allow-all-77070792']], 'subnet_ipam': [{'subnet_cidr': '188.210.217.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:14:51,260 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-24 02:14:51,606 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-24 02:14:51,664 - DEBUG - Requesting: http://10.0.0.56:8082/domain/38e34c85-27f6-4855-8fd4-ed95e89e35ba 2024-08-24 02:14:51,695 - DEBUG - Requesting: http://10.0.0.56:8082/project/3dbaef60-26df-4226-acdf-52bf8beae3a5 2024-08-24 02:14:51,832 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d73295c7-5cad-4836-b752-9ad4029c9d60 2024-08-24 02:14:51,866 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d73295c7-5cad-4836-b752-9ad4029c9d60 2024-08-24 02:14:51,887 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e62002f4-9a1a-4aec-90a8-b5f536cf6bdb 2024-08-24 02:14:51,903 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e62002f4-9a1a-4aec-90a8-b5f536cf6bdb 2024-08-24 02:14:51,917 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/fe6b8b25-915f-49fc-9baa-93b72447c1ef 2024-08-24 02:14:51,932 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-24 02:14:51,932 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d73295c7-5cad-4836-b752-9ad4029c9d60 2024-08-24 02:14:51,954 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e62002f4-9a1a-4aec-90a8-b5f536cf6bdb 2024-08-24 02:14:51,987 - INFO - Verified VN network id 8 for VN d73295c7-5cad-4836-b752-9ad4029c9d60 2024-08-24 02:14:51,987 - INFO - Verifications in API Server for VN ctest-vn-96451025 passed 2024-08-24 02:14:51,987 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d73295c7-5cad-4836-b752-9ad4029c9d60 2024-08-24 02:14:52,012 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e62002f4-9a1a-4aec-90a8-b5f536cf6bdb 2024-08-24 02:14:52,032 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e62002f4-9a1a-4aec-90a8-b5f536cf6bdb 2024-08-24 02:14:52,051 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/fe6b8b25-915f-49fc-9baa-93b72447c1ef 2024-08-24 02:14:52,083 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96451025', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30126425', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15506621150475929654', 'uuid-lslong': '13209790892398648672'}, 'enable': 'true', 'created': '2024-08-24T02:14:48', 'last-modified': '2024-08-24T02:14:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.487041'} 2024-08-24 02:14:52,097 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-24 02:14:52,097 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96451025 passed 2024-08-24 02:14:52,099 - DEBUG - ====Verifying policy data for ctest-vn-96451025 in API_Server ====== 2024-08-24 02:14:52,099 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-24 02:14:52,115 - DEBUG - Requesting: http://10.0.0.56:8082/domain/38e34c85-27f6-4855-8fd4-ed95e89e35ba 2024-08-24 02:14:52,147 - DEBUG - Requesting: http://10.0.0.56:8082/project/3dbaef60-26df-4226-acdf-52bf8beae3a5 2024-08-24 02:14:52,288 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d73295c7-5cad-4836-b752-9ad4029c9d60 2024-08-24 02:14:52,314 - DEBUG - ==>Verifying data for policy with id: 288ac0de-8ef7-4312-98e9-0a3fb24a3cb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-30126425', 'ctest-policy-allow-all-77070792'] 2024-08-24 02:14:52,314 - INFO - VN ctest-vn-96451025 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-24 02:14:52,314 - DEBUG - Verifying the vn in opserver 2024-08-24 02:14:52,315 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96451025 virtual network link through opserver 10.0.0.56 2024-08-24 02:14:52,315 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2024-08-24 02:14:52,656 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2024-08-24 02:14:52,761 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96451025', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96451025?flat'} 2024-08-24 02:14:52,761 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96451025 is found in opserver 2024-08-24 02:14:52,793 - DEBUG - Do not have enough data to verify VN in agent 2024-08-24 02:14:52,811 - DEBUG - VRF ids for VN ctest-vn-96451025: {} 2024-08-24 02:14:52,811 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-24 02:14:52,828 - DEBUG - Requesting: http://10.0.0.56:8082/domain/38e34c85-27f6-4855-8fd4-ed95e89e35ba 2024-08-24 02:14:52,872 - DEBUG - Requesting: http://10.0.0.56:8082/project/3dbaef60-26df-4226-acdf-52bf8beae3a5 2024-08-24 02:14:52,955 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/4d2d04f7-3704-4eb1-8bf0-b10d4d030305 2024-08-24 02:14:52,983 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/4d2d04f7-3704-4eb1-8bf0-b10d4d030305 2024-08-24 02:14:53,004 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/12226751-2d85-4358-ac65-8805e7647ee3 2024-08-24 02:14:53,023 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/12226751-2d85-4358-ac65-8805e7647ee3 2024-08-24 02:14:53,043 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/13f81dff-5657-4643-96f8-0b18809ae9ea 2024-08-24 02:14:53,062 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-24 02:14:53,063 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/4d2d04f7-3704-4eb1-8bf0-b10d4d030305 2024-08-24 02:14:53,082 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/12226751-2d85-4358-ac65-8805e7647ee3 2024-08-24 02:14:53,113 - INFO - Verified VN network id 9 for VN 4d2d04f7-3704-4eb1-8bf0-b10d4d030305 2024-08-24 02:14:53,113 - INFO - Verifications in API Server for VN ctest-vn-96868915 passed 2024-08-24 02:14:53,113 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/4d2d04f7-3704-4eb1-8bf0-b10d4d030305 2024-08-24 02:14:53,136 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/12226751-2d85-4358-ac65-8805e7647ee3 2024-08-24 02:14:53,153 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/12226751-2d85-4358-ac65-8805e7647ee3 2024-08-24 02:14:53,169 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/13f81dff-5657-4643-96f8-0b18809ae9ea 2024-08-24 02:14:53,195 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96868915', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30126425', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5561106574698892977', 'uuid-lslong': '10083754236367274757'}, 'enable': 'true', 'created': '2024-08-24T02:14:49', 'last-modified': '2024-08-24T02:14:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.233788'} 2024-08-24 02:14:53,207 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-24 02:14:53,207 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96868915 passed 2024-08-24 02:14:53,207 - DEBUG - ====Verifying policy data for ctest-vn-96868915 in API_Server ====== 2024-08-24 02:14:53,207 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-24 02:14:53,220 - DEBUG - Requesting: http://10.0.0.56:8082/domain/38e34c85-27f6-4855-8fd4-ed95e89e35ba 2024-08-24 02:14:53,257 - DEBUG - Requesting: http://10.0.0.56:8082/project/3dbaef60-26df-4226-acdf-52bf8beae3a5 2024-08-24 02:14:53,368 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/4d2d04f7-3704-4eb1-8bf0-b10d4d030305 2024-08-24 02:14:53,386 - DEBUG - ==>Verifying data for policy with id: 288ac0de-8ef7-4312-98e9-0a3fb24a3cb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-30126425', 'ctest-policy-allow-all-77070792'] 2024-08-24 02:14:53,386 - INFO - VN ctest-vn-96868915 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-24 02:14:53,386 - DEBUG - Verifying the vn in opserver 2024-08-24 02:14:53,386 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96868915 virtual network link through opserver 10.0.0.56 2024-08-24 02:14:53,386 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2024-08-24 02:14:53,412 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96868915', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96868915?flat'} 2024-08-24 02:14:53,412 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96868915 is found in opserver 2024-08-24 02:14:53,438 - DEBUG - Do not have enough data to verify VN in agent 2024-08-24 02:14:53,450 - DEBUG - VRF ids for VN ctest-vn-96868915: {} 2024-08-24 02:14:53,536 - DEBUG - Services list from nova: [, , ] 2024-08-24 02:14:55,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1737-1) 2024-08-24 02:14:56,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1737-1) 2024-08-24 02:14:56,797 - INFO - Waiting for VM ctest-TestBasicPolicy-30126425-51802911 to be up.. 2024-08-24 02:14:56,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 02:15:02,122 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:15:02,123 - INFO - VM name : ctest-TestBasicPolicy-30126425-51802911 2024-08-24 02:15:02,352 - DEBUG - VM ctest-TestBasicPolicy-30126425-51802911 ID is 9c0c7b47-5781-493b-8e9a-5e5c610c64c2 2024-08-24 02:15:02,387 - DEBUG - VM ctest-TestBasicPolicy-30126425-51802911 launched on Node cn-jenkins-deploy-platform-ansible-os-1737-1 2024-08-24 02:15:02,537 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/9c0c7b47-5781-493b-8e9a-5e5c610c64c2 2024-08-24 02:15:02,558 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/a25b3ca3-4774-4f46-a554-f51b3459e7ff 2024-08-24 02:15:05,875 - 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 1022ms') 2024-08-24 02:15:05,876 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30126425-51802911 failed! 2024-08-24 02:15:05,948 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30126425:ctest-vn-96451025 is 24.215.63.65 and allocation pool is NOT set 2024-08-24 02:15:08,034 - 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=7.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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 = 2.219/4.845/7.472/2.626 ms') 2024-08-24 02:15:08,034 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30126425-51802911 passed 2024-08-24 02:15:08,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:15:08,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30126425-51802911, IP 24.215.63.67, Port 22 2024-08-24 02:15:08,304 - 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': ''} 2024-08-24 02:15:08,471 - DEBUG - VM ctest-TestBasicPolicy-30126425-51802911 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-24 02:15:13,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:15:13,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30126425-51802911, IP 24.215.63.67, Port 22 2024-08-24 02:15:13,645 - DEBUG - VM ctest-TestBasicPolicy-30126425-51802911 is ready for SSH connections 2024-08-24 02:15:13,645 - INFO - Waiting for VM ctest-TestBasicPolicy-30126425-75080864 to be up.. 2024-08-24 02:15:13,828 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:15:13,828 - INFO - VM name : ctest-TestBasicPolicy-30126425-75080864 2024-08-24 02:15:13,955 - DEBUG - VM ctest-TestBasicPolicy-30126425-75080864 ID is b51aab32-6196-4af0-88b3-baec2d7c1f0e 2024-08-24 02:15:13,955 - DEBUG - VM ctest-TestBasicPolicy-30126425-75080864 launched on Node cn-jenkins-deploy-platform-ansible-os-1737-1 2024-08-24 02:15:14,072 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/b51aab32-6196-4af0-88b3-baec2d7c1f0e 2024-08-24 02:15:14,092 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/5441949f-cfb9-447a-b751-1dfe6117fce3 2024-08-24 02:15:15,433 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.767 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.767/4.719/8.671/3.952 ms') 2024-08-24 02:15:15,434 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30126425-75080864 passed 2024-08-24 02:15:15,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:15:15,616 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30126425-75080864, IP 188.210.217.131, Port 22 2024-08-24 02:15:15,822 - DEBUG - VM ctest-TestBasicPolicy-30126425-75080864 is ready for SSH connections 2024-08-24 02:15:15,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:15:15,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.210.217.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2024-08-24 02:15:15,823 - DEBUG - ping -s 56 -c 3 -W 1 188.210.217.131 2024-08-24 02:15:20,334 - DEBUG - PING 188.210.217.131 (188.210.217.131): 56 data bytes 64 bytes from 188.210.217.131: seq=0 ttl=63 time=5.412 ms 64 bytes from 188.210.217.131: seq=1 ttl=63 time=2.039 ms 64 bytes from 188.210.217.131: seq=2 ttl=63 time=1.486 ms --- 188.210.217.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.486/2.979/5.412 ms 2024-08-24 02:15:20,334 - INFO - Ping to IP 188.210.217.131 from VM ctest-TestBasicPolicy-30126425-51802911 passed 2024-08-24 02:15:20,579 - DEBUG - Policy Update Response {"network-policy": {"uuid": "288ac0de-8ef7-4312-98e9-0a3fb24a3cb7", "href": "http://10.0.0.56:8082/network-policy/288ac0de-8ef7-4312-98e9-0a3fb24a3cb7"}} 2024-08-24 02:15:20,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:15:20,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.210.217.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2024-08-24 02:15:20,579 - DEBUG - ping -s 56 -c 3 -W 1 188.210.217.131 2024-08-24 02:15:23,910 - DEBUG - PING 188.210.217.131 (188.210.217.131): 56 data bytes --- 188.210.217.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-08-24 02:15:23,910 - WARNING - Ping to IP 188.210.217.131 from VM ctest-TestBasicPolicy-30126425-51802911 failed 2024-08-24 02:15:23,911 - INFO - Deleting VM ctest-TestBasicPolicy-30126425-75080864 2024-08-24 02:15:24,087 - INFO - Deleting VM ctest-TestBasicPolicy-30126425-51802911 2024-08-24 02:15:24,764 - INFO - Deleted policy ctest-policy-allow-all-77070792 2024-08-24 02:15:24,764 - INFO - Deleting VN ctest-vn-96868915 2024-08-24 02:15:24,806 - DEBUG - VN 4d2d04f7-3704-4eb1-8bf0-b10d4d030305 still in use: Unable to complete operation on network 4d2d04f7-3704-4eb1-8bf0-b10d4d030305. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d5e4908-777d-48d2-8d06-1923aed89614'] 2024-08-24 02:15:24,806 - WARNING - Deleting VN ctest-vn-96868915 failed..Will retry 2024-08-24 02:15:26,974 - DEBUG - Response for deleting network () 2024-08-24 02:15:26,974 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/12226751-2d85-4358-ac65-8805e7647ee3 2024-08-24 02:15:26,986 - DEBUG - Response Code: 404 2024-08-24 02:15:26,986 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-24 02:15:26,998 - DEBUG - Requesting: http://10.0.0.56:8082/domain/38e34c85-27f6-4855-8fd4-ed95e89e35ba 2024-08-24 02:15:27,029 - DEBUG - Requesting: http://10.0.0.56:8082/project/3dbaef60-26df-4226-acdf-52bf8beae3a5 2024-08-24 02:15:27,127 - INFO - Validated that VN ctest-vn-96868915 is not found in API Server 2024-08-24 02:15:27,156 - DEBUG - VN ctest-vn-96868915 is not present in Agent 10.0.0.56 2024-08-24 02:15:27,156 - INFO - Validated that VN ctest-vn-96868915 is not in any agent 2024-08-24 02:15:27,196 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96868915 info 2024-08-24 02:15:27,196 - INFO - Deleting VN ctest-vn-96451025 2024-08-24 02:15:27,395 - DEBUG - Response for deleting network () 2024-08-24 02:15:27,395 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/e62002f4-9a1a-4aec-90a8-b5f536cf6bdb 2024-08-24 02:15:27,406 - DEBUG - Response Code: 404 2024-08-24 02:15:27,406 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-24 02:15:27,414 - DEBUG - Requesting: http://10.0.0.56:8082/domain/38e34c85-27f6-4855-8fd4-ed95e89e35ba 2024-08-24 02:15:27,480 - DEBUG - Requesting: http://10.0.0.56:8082/project/3dbaef60-26df-4226-acdf-52bf8beae3a5 2024-08-24 02:15:27,597 - INFO - Validated that VN ctest-vn-96451025 is not found in API Server 2024-08-24 02:15:27,635 - DEBUG - VN ctest-vn-96451025 is not present in Agent 10.0.0.56 2024-08-24 02:15:27,635 - INFO - Validated that VN ctest-vn-96451025 is not in any agent 2024-08-24 02:15:27,693 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96451025 info 2024-08-24 02:15:28,026 - DEBUG - No XMPP flaps were noticed during the test 2024-08-24 02:15:28,026 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2024-08-24 02:15:28,026 - INFO - -------------------------------------------------------------------------------- 2024-08-24 02:15:28,973 - INFO - Deleted project: ctest-TestBasicPolicy-30126425, ID : 3dbaef60-26df-4226-acdf-52bf8beae3a5