2024-08-23 19:17:50,504 - INFO - Domain Default found not creating 2024-08-23 19:17:50,696 - INFO - Project ctest-TestBasicPolicy-28247349 not found, creating it 2024-08-23 19:17:51,183 - INFO - Created Project:ctest-TestBasicPolicy-28247349, ID : 7e836905-66bd-49d4-ba69-9394603435fb 2024-08-23 19:17:52,930 - INFO - ================================================================================ 2024-08-23 19:17:52,930 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-23 19:17:52,930 - 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-23 19:17:53,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.10': '0'}} with 2024-08-23 19:17:53,191 - INFO - Initial checks done. Running the testcase now 2024-08-23 19:17:53,191 - INFO - 2024-08-23 19:17:53,806 - DEBUG - Response for create_network : {'network': {'id': '32854301-8e5a-4caf-9985-62b4acb889c7', 'name': 'ctest-vn-31521152', 'tenant_id': '7e83690566bd49d4ba699394603435fb', 'project_id': '7e83690566bd49d4ba699394603435fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28247349', 'ctest-vn-31521152'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 19:17:54,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '16b49d70-76ad-411f-bbe2-46d504d7e583', 'name': '', 'tenant_id': '7e83690566bd49d4ba699394603435fb', 'network_id': '32854301-8e5a-4caf-9985-62b4acb889c7', 'ip_version': 4, 'cidr': '151.110.49.128/26', 'allocation_pools': [{'start': '151.110.49.130', 'end': '151.110.49.190'}], 'gateway_ip': '151.110.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.110.49.130', 'tags': [], 'project_id': '7e83690566bd49d4ba699394603435fb'}} 2024-08-23 19:17:54,060 - INFO - Created VN ctest-vn-31521152 2024-08-23 19:17:54,112 - DEBUG - VN ctest-vn-31521152 UUID is 32854301-8e5a-4caf-9985-62b4acb889c7 2024-08-23 19:17:54,447 - DEBUG - Response for create_network : {'network': {'id': 'c539370d-32b4-42c7-a422-6700e06cc3c3', 'name': 'ctest-vn-23619852', 'tenant_id': '7e83690566bd49d4ba699394603435fb', 'project_id': '7e83690566bd49d4ba699394603435fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28247349', 'ctest-vn-23619852'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 19:17:54,624 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8f16473-5b5d-44f7-be75-c2a46b0ed7f4', 'name': '', 'tenant_id': '7e83690566bd49d4ba699394603435fb', 'network_id': 'c539370d-32b4-42c7-a422-6700e06cc3c3', 'ip_version': 4, 'cidr': '83.55.229.64/26', 'allocation_pools': [{'start': '83.55.229.66', 'end': '83.55.229.126'}], 'gateway_ip': '83.55.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.55.229.66', 'tags': [], 'project_id': '7e83690566bd49d4ba699394603435fb'}} 2024-08-23 19:17:54,646 - INFO - Created VN ctest-vn-23619852 2024-08-23 19:17:54,696 - DEBUG - VN ctest-vn-23619852 UUID is c539370d-32b4-42c7-a422-6700e06cc3c3 2024-08-23 19:17:54,844 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-31521152, 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-28247349:ctest-vn-23619852, 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-23 19:17:55,174 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32854301-8e5a-4caf-9985-62b4acb889c7', 'name': 'ctest-vn-31521152', 'tenant_id': '7e83690566bd49d4ba699394603435fb', 'project_id': '7e83690566bd49d4ba699394603435fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16b49d70-76ad-411f-bbe2-46d504d7e583'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28247349', 'ctest-vn-31521152'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28247349', 'ctest-policy-allow-all-92880741']], 'subnet_ipam': [{'subnet_cidr': '151.110.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-23 19:17:55,429 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c539370d-32b4-42c7-a422-6700e06cc3c3', 'name': 'ctest-vn-23619852', 'tenant_id': '7e83690566bd49d4ba699394603435fb', 'project_id': '7e83690566bd49d4ba699394603435fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c8f16473-5b5d-44f7-be75-c2a46b0ed7f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28247349', 'ctest-vn-23619852'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28247349', 'ctest-policy-allow-all-92880741']], 'subnet_ipam': [{'subnet_cidr': '83.55.229.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-23 19:17:55,584 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-23 19:17:55,946 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-23 19:17:55,989 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9af65950-c6c4-4576-b76b-3879f6f00e95 2024-08-23 19:17:56,006 - DEBUG - Requesting: http://10.0.0.29:8082/project/7e836905-66bd-49d4-ba69-9394603435fb 2024-08-23 19:17:56,078 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/32854301-8e5a-4caf-9985-62b4acb889c7 2024-08-23 19:17:56,089 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/32854301-8e5a-4caf-9985-62b4acb889c7 2024-08-23 19:17:56,099 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/ec4263fc-02c3-4648-bbe5-01358fc709f9 2024-08-23 19:17:56,108 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/ec4263fc-02c3-4648-bbe5-01358fc709f9 2024-08-23 19:17:56,116 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/90638bb2-d86b-4516-913d-5db5ee618ff4 2024-08-23 19:17:56,123 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-23 19:17:56,123 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/32854301-8e5a-4caf-9985-62b4acb889c7 2024-08-23 19:17:56,132 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/ec4263fc-02c3-4648-bbe5-01358fc709f9 2024-08-23 19:17:56,145 - INFO - Verified VN network id 7 for VN 32854301-8e5a-4caf-9985-62b4acb889c7 2024-08-23 19:17:56,145 - INFO - Verifications in API Server for VN ctest-vn-31521152 passed 2024-08-23 19:17:56,145 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/32854301-8e5a-4caf-9985-62b4acb889c7 2024-08-23 19:17:56,154 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/ec4263fc-02c3-4648-bbe5-01358fc709f9 2024-08-23 19:17:56,163 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/ec4263fc-02c3-4648-bbe5-01358fc709f9 2024-08-23 19:17:56,172 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/90638bb2-d86b-4516-913d-5db5ee618ff4 2024-08-23 19:17:56,190 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-31521152', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28247349', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3640389547761224879', 'uuid-lslong': '11062356587836901831'}, 'enable': 'true', 'created': '2024-08-23T19:17:53', 'last-modified': '2024-08-23T19:17:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047584'} 2024-08-23 19:17:56,198 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-23 19:17:56,198 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31521152 passed 2024-08-23 19:17:56,198 - DEBUG - ====Verifying policy data for ctest-vn-31521152 in API_Server ====== 2024-08-23 19:17:56,198 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-23 19:17:56,205 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9af65950-c6c4-4576-b76b-3879f6f00e95 2024-08-23 19:17:56,219 - DEBUG - Requesting: http://10.0.0.29:8082/project/7e836905-66bd-49d4-ba69-9394603435fb 2024-08-23 19:17:56,291 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/32854301-8e5a-4caf-9985-62b4acb889c7 2024-08-23 19:17:56,300 - DEBUG - ==>Verifying data for policy with id: 42cc0baa-a86f-4c67-afae-38e573589bec, fqn: ['default-domain', 'ctest-TestBasicPolicy-28247349', 'ctest-policy-allow-all-92880741'] 2024-08-23 19:17:56,300 - INFO - VN ctest-vn-31521152 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-23 19:17:56,300 - DEBUG - Verifying the vn in opserver 2024-08-23 19:17:56,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-31521152 virtual network link through opserver 10.0.0.29 2024-08-23 19:17:56,300 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-08-23 19:17:56,641 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-08-23 19:17:56,715 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-31521152', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-31521152?flat'} 2024-08-23 19:17:56,715 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-31521152 is found in opserver 2024-08-23 19:17:56,727 - DEBUG - Do not have enough data to verify VN in agent 2024-08-23 19:17:56,733 - DEBUG - VRF ids for VN ctest-vn-31521152: {} 2024-08-23 19:17:56,734 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-23 19:17:56,741 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9af65950-c6c4-4576-b76b-3879f6f00e95 2024-08-23 19:17:56,755 - DEBUG - Requesting: http://10.0.0.29:8082/project/7e836905-66bd-49d4-ba69-9394603435fb 2024-08-23 19:17:56,828 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c539370d-32b4-42c7-a422-6700e06cc3c3 2024-08-23 19:17:56,841 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c539370d-32b4-42c7-a422-6700e06cc3c3 2024-08-23 19:17:56,852 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/1b586475-6c2b-4d13-b871-307dd51fd6be 2024-08-23 19:17:56,862 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/1b586475-6c2b-4d13-b871-307dd51fd6be 2024-08-23 19:17:56,870 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/ca83640f-2c61-4ff1-99d1-56cb5208c4a3 2024-08-23 19:17:56,877 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-23 19:17:56,878 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c539370d-32b4-42c7-a422-6700e06cc3c3 2024-08-23 19:17:56,887 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/1b586475-6c2b-4d13-b871-307dd51fd6be 2024-08-23 19:17:56,900 - INFO - Verified VN network id 8 for VN c539370d-32b4-42c7-a422-6700e06cc3c3 2024-08-23 19:17:56,900 - INFO - Verifications in API Server for VN ctest-vn-23619852 passed 2024-08-23 19:17:56,900 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c539370d-32b4-42c7-a422-6700e06cc3c3 2024-08-23 19:17:56,909 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/1b586475-6c2b-4d13-b871-307dd51fd6be 2024-08-23 19:17:56,917 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/1b586475-6c2b-4d13-b871-307dd51fd6be 2024-08-23 19:17:56,923 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/ca83640f-2c61-4ff1-99d1-56cb5208c4a3 2024-08-23 19:17:56,937 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-23619852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28247349', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14211450628969087687', 'uuid-lslong': '11827128824891229123'}, 'enable': 'true', 'created': '2024-08-23T19:17:54', 'last-modified': '2024-08-23T19:17:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.532502'} 2024-08-23 19:17:56,944 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-23 19:17:56,944 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23619852 passed 2024-08-23 19:17:56,945 - DEBUG - ====Verifying policy data for ctest-vn-23619852 in API_Server ====== 2024-08-23 19:17:56,945 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-23 19:17:56,952 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9af65950-c6c4-4576-b76b-3879f6f00e95 2024-08-23 19:17:56,965 - DEBUG - Requesting: http://10.0.0.29:8082/project/7e836905-66bd-49d4-ba69-9394603435fb 2024-08-23 19:17:57,036 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/c539370d-32b4-42c7-a422-6700e06cc3c3 2024-08-23 19:17:57,047 - DEBUG - ==>Verifying data for policy with id: 42cc0baa-a86f-4c67-afae-38e573589bec, fqn: ['default-domain', 'ctest-TestBasicPolicy-28247349', 'ctest-policy-allow-all-92880741'] 2024-08-23 19:17:57,047 - INFO - VN ctest-vn-23619852 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-23 19:17:57,047 - DEBUG - Verifying the vn in opserver 2024-08-23 19:17:57,047 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-23619852 virtual network link through opserver 10.0.0.29 2024-08-23 19:17:57,048 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-08-23 19:17:57,060 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-23619852', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-23619852?flat'} 2024-08-23 19:17:57,060 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-23619852 is found in opserver 2024-08-23 19:17:57,072 - DEBUG - Do not have enough data to verify VN in agent 2024-08-23 19:17:57,078 - DEBUG - VRF ids for VN ctest-vn-23619852: {} 2024-08-23 19:17:57,140 - DEBUG - Services list from nova: [, , ] 2024-08-23 19:17:58,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1725-1) 2024-08-23 19:17:59,826 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1725-1) 2024-08-23 19:17:59,826 - INFO - Waiting for VM ctest-TestBasicPolicy-28247349-06138441 to be up.. 2024-08-23 19:17:59,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 19:18:05,029 - DEBUG - VM is in ACTIVE state now 2024-08-23 19:18:05,030 - INFO - VM name : ctest-TestBasicPolicy-28247349-06138441 2024-08-23 19:18:05,128 - DEBUG - VM ctest-TestBasicPolicy-28247349-06138441 ID is fa7e6c3e-e6f4-4016-a4d1-692ccaef6d68 2024-08-23 19:18:05,162 - DEBUG - VM ctest-TestBasicPolicy-28247349-06138441 launched on Node cn-jenkins-deploy-platform-ansible-os-1725-1 2024-08-23 19:18:05,254 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/fa7e6c3e-e6f4-4016-a4d1-692ccaef6d68 2024-08-23 19:18:05,264 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/65d58ade-08d5-4f41-adfb-77708a88085a 2024-08-23 19:18:08,542 - 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') 2024-08-23 19:18:08,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28247349-06138441 failed! 2024-08-23 19:18:08,604 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28247349:ctest-vn-31521152 is 151.110.49.129 and allocation pool is NOT set 2024-08-23 19:18:10,676 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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 = 2.462/6.752/11.043/4.290 ms') 2024-08-23 19:18:10,676 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28247349-06138441 passed 2024-08-23 19:18:10,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:18:10,832 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28247349-06138441, IP 151.110.49.131, Port 22 2024-08-23 19:18:10,897 - 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-23 19:18:10,993 - DEBUG - VM ctest-TestBasicPolicy-28247349-06138441 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-23 19:18:15,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:18:15,993 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28247349-06138441, IP 151.110.49.131, Port 22 2024-08-23 19:18:16,166 - DEBUG - VM ctest-TestBasicPolicy-28247349-06138441 is ready for SSH connections 2024-08-23 19:18:16,166 - INFO - Waiting for VM ctest-TestBasicPolicy-28247349-12917756 to be up.. 2024-08-23 19:18:16,264 - DEBUG - VM is in ACTIVE state now 2024-08-23 19:18:16,264 - INFO - VM name : ctest-TestBasicPolicy-28247349-12917756 2024-08-23 19:18:16,367 - DEBUG - VM ctest-TestBasicPolicy-28247349-12917756 ID is 13e700c6-c5ff-4313-900f-aabe2a6562e8 2024-08-23 19:18:16,367 - DEBUG - VM ctest-TestBasicPolicy-28247349-12917756 launched on Node cn-jenkins-deploy-platform-ansible-os-1725-1 2024-08-23 19:18:16,466 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/13e700c6-c5ff-4313-900f-aabe2a6562e8 2024-08-23 19:18:16,477 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/b17399e1-50a4-48dd-89b6-14d01b77a773 2024-08-23 19:18:17,718 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.873/3.278/1.405 ms') 2024-08-23 19:18:17,718 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28247349-12917756 passed 2024-08-23 19:18:17,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:18:17,868 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28247349-12917756, IP 83.55.229.67, Port 22 2024-08-23 19:18:18,039 - DEBUG - VM ctest-TestBasicPolicy-28247349-12917756 is ready for SSH connections 2024-08-23 19:18:18,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:18:18,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.55.229.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-08-23 19:18:18,040 - DEBUG - ping -s 56 -c 3 -W 1 83.55.229.67 2024-08-23 19:18:21,779 - DEBUG - PING 83.55.229.67 (83.55.229.67): 56 data bytes 64 bytes from 83.55.229.67: seq=0 ttl=63 time=4.380 ms 64 bytes from 83.55.229.67: seq=1 ttl=63 time=1.292 ms 64 bytes from 83.55.229.67: seq=2 ttl=63 time=1.015 ms --- 83.55.229.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/2.229/4.380 ms 2024-08-23 19:18:21,779 - INFO - Ping to IP 83.55.229.67 from VM ctest-TestBasicPolicy-28247349-06138441 passed 2024-08-23 19:18:21,960 - DEBUG - Policy Update Response {"network-policy": {"uuid": "42cc0baa-a86f-4c67-afae-38e573589bec", "href": "http://10.0.0.29:8082/network-policy/42cc0baa-a86f-4c67-afae-38e573589bec"}} 2024-08-23 19:18:21,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:18:21,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.55.229.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-08-23 19:18:21,960 - DEBUG - ping -s 56 -c 3 -W 1 83.55.229.67 2024-08-23 19:18:25,200 - DEBUG - PING 83.55.229.67 (83.55.229.67): 56 data bytes --- 83.55.229.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-08-23 19:18:25,200 - WARNING - Ping to IP 83.55.229.67 from VM ctest-TestBasicPolicy-28247349-06138441 failed 2024-08-23 19:18:25,200 - INFO - Deleting VM ctest-TestBasicPolicy-28247349-12917756 2024-08-23 19:18:25,272 - INFO - Deleting VM ctest-TestBasicPolicy-28247349-06138441 2024-08-23 19:18:25,780 - INFO - Deleted policy ctest-policy-allow-all-92880741 2024-08-23 19:18:25,780 - INFO - Deleting VN ctest-vn-23619852 2024-08-23 19:18:25,830 - DEBUG - VN c539370d-32b4-42c7-a422-6700e06cc3c3 still in use: Unable to complete operation on network c539370d-32b4-42c7-a422-6700e06cc3c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88f73703-1b83-4c66-83c9-93e0043f17c9'] 2024-08-23 19:18:25,830 - WARNING - Deleting VN ctest-vn-23619852 failed..Will retry 2024-08-23 19:18:27,949 - DEBUG - Response for deleting network () 2024-08-23 19:18:27,949 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/1b586475-6c2b-4d13-b871-307dd51fd6be 2024-08-23 19:18:27,961 - DEBUG - Response Code: 404 2024-08-23 19:18:27,961 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-23 19:18:27,967 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9af65950-c6c4-4576-b76b-3879f6f00e95 2024-08-23 19:18:28,024 - DEBUG - Requesting: http://10.0.0.29:8082/project/7e836905-66bd-49d4-ba69-9394603435fb 2024-08-23 19:18:28,101 - INFO - Validated that VN ctest-vn-23619852 is not found in API Server 2024-08-23 19:18:28,115 - DEBUG - VN ctest-vn-23619852 is not present in Agent 10.0.0.29 2024-08-23 19:18:28,115 - INFO - Validated that VN ctest-vn-23619852 is not in any agent 2024-08-23 19:18:28,136 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23619852 info 2024-08-23 19:18:28,137 - INFO - Deleting VN ctest-vn-31521152 2024-08-23 19:18:28,260 - DEBUG - Response for deleting network () 2024-08-23 19:18:28,260 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/ec4263fc-02c3-4648-bbe5-01358fc709f9 2024-08-23 19:18:28,270 - DEBUG - Response Code: 404 2024-08-23 19:18:28,270 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-23 19:18:28,277 - DEBUG - Requesting: http://10.0.0.29:8082/domain/9af65950-c6c4-4576-b76b-3879f6f00e95 2024-08-23 19:18:28,338 - DEBUG - Requesting: http://10.0.0.29:8082/project/7e836905-66bd-49d4-ba69-9394603435fb 2024-08-23 19:18:28,409 - INFO - Validated that VN ctest-vn-31521152 is not found in API Server 2024-08-23 19:18:28,424 - DEBUG - VN ctest-vn-31521152 is not present in Agent 10.0.0.29 2024-08-23 19:18:28,424 - INFO - Validated that VN ctest-vn-31521152 is not in any agent 2024-08-23 19:18:28,442 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31521152 info 2024-08-23 19:18:28,714 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 19:18:28,714 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2024-08-23 19:18:28,714 - INFO - -------------------------------------------------------------------------------- 2024-08-23 19:18:29,459 - INFO - Deleted project: ctest-TestBasicPolicy-28247349, ID : 7e836905-66bd-49d4-ba69-9394603435fb