2024-09-13 21:31:23,329 - INFO - Reading existing Domain with UUID c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:31:23,347 - INFO - Using existing domain ['admin_domain'](c825d847-91d2-46e5-9bb6-0d300075fcb1) 2024-09-13 21:31:23,710 - INFO - Project ctest-TestRoutersBasic-06386406 not found, creating it 2024-09-13 21:31:28,014 - INFO - Created Project:ctest-TestRoutersBasic-06386406, ID : df44a554-a071-4513-91bd-cc6b104c470e 2024-09-13 21:31:32,809 - INFO - ================================================================================ 2024-09-13 21:31:32,810 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-13 21:31:32,811 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2024-09-13 21:31:33,820 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.12': '0', '10.0.0.41': '2'}, '10.0.0.36': {'10.0.0.12': '3', '10.0.0.41': '3'}} with 2024-09-13 21:31:33,821 - INFO - Initial checks done. Running the testcase now 2024-09-13 21:31:33,821 - INFO - 2024-09-13 21:31:35,638 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06386406 2024-09-13 21:31:35,661 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06386406 2024-09-13 21:31:36,002 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-06386406', 'default']} 2024-09-13 21:31:37,083 - DEBUG - Response for create_network : {'network': {'id': '15d5a1dc-a65a-4354-a827-24a2905a6e76', 'name': 'ctest-vn-62591684', 'tenant_id': 'df44a554a071451391bdcc6b104c470e', 'project_id': 'df44a554a071451391bdcc6b104c470e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-06386406', 'ctest-vn-62591684'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-13 21:31:37,716 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbb02bb1-2560-4d57-ab79-c4893db7f4c5', 'name': '', 'tenant_id': 'df44a554a071451391bdcc6b104c470e', 'network_id': '15d5a1dc-a65a-4354-a827-24a2905a6e76', 'ip_version': 4, 'cidr': '195.33.220.128/26', 'allocation_pools': [{'start': '195.33.220.130', 'end': '195.33.220.190'}], 'gateway_ip': '195.33.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-13T21:31:37.306370', 'updated_at': '2024-09-13T21:31:37.306370', 'dns_server_address': '195.33.220.130', 'tags': [], 'project_id': 'df44a554a071451391bdcc6b104c470e'}} 2024-09-13 21:31:37,779 - INFO - Created VN ctest-vn-62591684 2024-09-13 21:31:37,802 - DEBUG - VN ctest-vn-62591684 UUID is 15d5a1dc-a65a-4354-a827-24a2905a6e76 2024-09-13 21:31:39,015 - DEBUG - Response for create_network : {'network': {'id': '8f220c1a-a6f3-44be-bf6f-efe73a6cef49', 'name': 'ctest-ext_vn-08251418', 'tenant_id': 'df44a554a071451391bdcc6b104c470e', 'project_id': 'df44a554a071451391bdcc6b104c470e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-06386406', 'ctest-ext_vn-08251418'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-13 21:31:39,787 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac99c538-3162-4127-8990-86f74a537c43', 'name': '', 'tenant_id': 'df44a554a071451391bdcc6b104c470e', 'network_id': '8f220c1a-a6f3-44be-bf6f-efe73a6cef49', 'ip_version': 4, 'cidr': '39.225.106.128/26', 'allocation_pools': [{'start': '39.225.106.130', 'end': '39.225.106.190'}], 'gateway_ip': '39.225.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-13T21:31:39.371620', 'updated_at': '2024-09-13T21:31:39.371620', 'dns_server_address': '39.225.106.130', 'tags': [], 'project_id': 'df44a554a071451391bdcc6b104c470e'}} 2024-09-13 21:31:39,833 - INFO - Created VN ctest-ext_vn-08251418 2024-09-13 21:31:39,852 - DEBUG - VN ctest-ext_vn-08251418 UUID is 8f220c1a-a6f3-44be-bf6f-efe73a6cef49 2024-09-13 21:31:40,348 - DEBUG - Services list from nova: [, , , ] 2024-09-13 21:31:48,564 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-juju-os-424-1), Zone: (nova:an-jenkins-deploy-platform-juju-os-424-1) 2024-09-13 21:31:54,737 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-juju-os-424-2), Zone: (nova:an-jenkins-deploy-platform-juju-os-424-2) 2024-09-13 21:31:56,462 - INFO - Setting gateway for router 3ace0e4c-37de-4477-846f-1bdef42dd92c to network 8f220c1a-a6f3-44be-bf6f-efe73a6cef49 2024-09-13 21:31:56,631 - INFO - Adding interface with subnet_id dbb02bb1-2560-4d57-ab79-c4893db7f4c5, port_id None to router 3ace0e4c-37de-4477-846f-1bdef42dd92c 2024-09-13 21:31:58,152 - INFO - Waiting for VM ctest-TestRoutersBasic-06386406-15995227 to be up.. 2024-09-13 21:31:58,337 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 21:32:03,692 - DEBUG - VM is in ACTIVE state now 2024-09-13 21:32:03,692 - INFO - VM name : ctest-TestRoutersBasic-06386406-15995227 2024-09-13 21:32:03,831 - DEBUG - VM ctest-TestRoutersBasic-06386406-15995227 ID is bb1aec6a-a553-4f7f-a33a-5e390b220c56 2024-09-13 21:32:03,883 - DEBUG - VM ctest-TestRoutersBasic-06386406-15995227 launched on Node an-jenkins-deploy-platform-juju-os-424-1 2024-09-13 21:32:04,037 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bb1aec6a-a553-4f7f-a33a-5e390b220c56 2024-09-13 21:32:04,381 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bb1aec6a-a553-4f7f-a33a-5e390b220c56 2024-09-13 21:32:04,436 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2974e35e-ea38-461a-b2b0-bf09ea5d81be 2024-09-13 21:32:07,594 - 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 1001ms') 2024-09-13 21:32:07,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06386406-15995227 failed! 2024-09-13 21:32:07,624 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-06386406:ctest-vn-62591684 is 195.33.220.129 and allocation pool is NOT set 2024-09-13 21:32:09,692 - 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=2.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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 = 0.430/1.532/2.635/1.102 ms') 2024-09-13 21:32:09,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06386406-15995227 passed 2024-09-13 21:32:09,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:32:09,731 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06386406-15995227, IP 195.33.220.131, Port 22 2024-09-13 21:32:09,779 - DEBUG - VM ctest-TestRoutersBasic-06386406-15995227 is ready for SSH connections 2024-09-13 21:32:09,779 - INFO - Waiting for VM ctest-TestRoutersBasic-06386406-74433969 to be up.. 2024-09-13 21:32:09,932 - DEBUG - VM is in ACTIVE state now 2024-09-13 21:32:09,932 - INFO - VM name : ctest-TestRoutersBasic-06386406-74433969 2024-09-13 21:32:10,075 - DEBUG - VM ctest-TestRoutersBasic-06386406-74433969 ID is 5536c6cb-3448-4b02-bfa3-6ad6bfad9af2 2024-09-13 21:32:10,075 - DEBUG - VM ctest-TestRoutersBasic-06386406-74433969 launched on Node an-jenkins-deploy-platform-juju-os-424-2 2024-09-13 21:32:10,220 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5536c6cb-3448-4b02-bfa3-6ad6bfad9af2 2024-09-13 21:32:10,234 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/128754b5-f988-4128-b2a3-842bbf95b997 2024-09-13 21:32:11,331 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.495 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.495/4.194/7.894/3.699 ms') 2024-09-13 21:32:11,331 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06386406-74433969 passed 2024-09-13 21:32:11,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:32:11,372 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06386406-74433969, IP 39.225.106.131, Port 22 2024-09-13 21:32:11,473 - DEBUG - VM ctest-TestRoutersBasic-06386406-74433969 is ready for SSH connections 2024-09-13 21:32:11,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:32:11,474 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.225.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-13 21:32:11,474 - DEBUG - ping -s 56 -c 3 -W 1 39.225.106.131 2024-09-13 21:32:15,466 - DEBUG - PING 39.225.106.131 (39.225.106.131): 56 data bytes 64 bytes from 39.225.106.131: seq=0 ttl=62 time=7.639 ms 64 bytes from 39.225.106.131: seq=1 ttl=62 time=1.102 ms 64 bytes from 39.225.106.131: seq=2 ttl=62 time=1.341 ms --- 39.225.106.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.102/3.360/7.639 ms 2024-09-13 21:32:15,467 - INFO - Ping to IP 39.225.106.131 from VM ctest-TestRoutersBasic-06386406-15995227 passed 2024-09-13 21:32:15,468 - INFO - Deleting interface with subnet_id dbb02bb1-2560-4d57-ab79-c4893db7f4c5, port_id None from router 3ace0e4c-37de-4477-846f-1bdef42dd92c 2024-09-13 21:32:15,895 - INFO - Deleting VM ctest-TestRoutersBasic-06386406-74433969 2024-09-13 21:32:16,103 - INFO - Deleting VM ctest-TestRoutersBasic-06386406-15995227 2024-09-13 21:32:16,282 - INFO - Deleting VN ctest-ext_vn-08251418 2024-09-13 21:32:16,422 - DEBUG - VN 8f220c1a-a6f3-44be-bf6f-efe73a6cef49 still in use: Unable to complete operation on network 8f220c1a-a6f3-44be-bf6f-efe73a6cef49. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4244c39-9e83-4ff9-ad73-f2a00963d4f7'] 2024-09-13 21:32:16,422 - WARNING - Deleting VN ctest-ext_vn-08251418 failed..Will retry 2024-09-13 21:32:18,600 - DEBUG - Response for deleting network () 2024-09-13 21:32:18,600 - INFO - Deleting VN ctest-vn-62591684 2024-09-13 21:32:18,802 - DEBUG - Response for deleting network () 2024-09-13 21:32:19,621 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 21:32:19,621 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:47] 2024-09-13 21:32:19,622 - INFO - -------------------------------------------------------------------------------- 2024-09-13 21:32:20,507 - INFO - Deleted project: ctest-TestRoutersBasic-06386406, ID : df44a554-a071-4513-91bd-cc6b104c470e