2025-01-09 07:34:53,456 - INFO - Domain Default found not creating 2025-01-09 07:34:53,648 - INFO - Project ctest-TestRoutersBasic-29447371 not found, creating it 2025-01-09 07:34:54,151 - INFO - Created Project:ctest-TestRoutersBasic-29447371, ID : d3f8a1e5-591d-48f4-9410-e467628d141e 2025-01-09 07:34:55,664 - INFO - ================================================================================ 2025-01-09 07:34:55,665 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-09 07:34:55,665 - 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 2025-01-09 07:34:55,926 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.26': '0'}} with 2025-01-09 07:34:55,926 - INFO - Initial checks done. Running the testcase now 2025-01-09 07:34:55,927 - INFO - 2025-01-09 07:34:57,151 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29447371 2025-01-09 07:34:57,252 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29447371 2025-01-09 07:34:57,584 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29447371', 'default']} 2025-01-09 07:34:57,942 - DEBUG - Response for create_network : {'network': {'id': '46c19394-fa04-4db9-9214-1da4390fd011', 'name': 'ctest-vn-10078890', 'tenant_id': 'd3f8a1e5591d48f49410e467628d141e', 'project_id': 'd3f8a1e5591d48f49410e467628d141e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29447371', 'ctest-vn-10078890'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:34:58,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '69501b8f-ef30-4661-b1e9-71c7ce80e548', 'name': '', 'tenant_id': 'd3f8a1e5591d48f49410e467628d141e', 'network_id': '46c19394-fa04-4db9-9214-1da4390fd011', 'ip_version': 4, 'cidr': '24.243.14.192/26', 'allocation_pools': [{'start': '24.243.14.194', 'end': '24.243.14.254'}], 'gateway_ip': '24.243.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.243.14.194', 'tags': [], 'project_id': 'd3f8a1e5591d48f49410e467628d141e'}} 2025-01-09 07:34:58,200 - INFO - Created VN ctest-vn-10078890 2025-01-09 07:34:58,256 - DEBUG - VN ctest-vn-10078890 UUID is 46c19394-fa04-4db9-9214-1da4390fd011 2025-01-09 07:34:58,619 - DEBUG - Response for create_network : {'network': {'id': 'e4eeae97-3c71-4dbc-a4e9-bd6678fffef4', 'name': 'ctest-ext_vn-28960034', 'tenant_id': 'd3f8a1e5591d48f49410e467628d141e', 'project_id': 'd3f8a1e5591d48f49410e467628d141e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29447371', 'ctest-ext_vn-28960034'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:34:58,833 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaf2d072-8864-4036-b8b6-631200d7bfa8', 'name': '', 'tenant_id': 'd3f8a1e5591d48f49410e467628d141e', 'network_id': 'e4eeae97-3c71-4dbc-a4e9-bd6678fffef4', 'ip_version': 4, 'cidr': '184.255.10.64/26', 'allocation_pools': [{'start': '184.255.10.66', 'end': '184.255.10.126'}], 'gateway_ip': '184.255.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.255.10.66', 'tags': [], 'project_id': 'd3f8a1e5591d48f49410e467628d141e'}} 2025-01-09 07:34:58,853 - INFO - Created VN ctest-ext_vn-28960034 2025-01-09 07:34:58,908 - DEBUG - VN ctest-ext_vn-28960034 UUID is e4eeae97-3c71-4dbc-a4e9-bd6678fffef4 2025-01-09 07:34:59,124 - DEBUG - Services list from nova: [, , ] 2025-01-09 07:35:00,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2580-1) 2025-01-09 07:35:01,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2580-1) 2025-01-09 07:35:01,524 - INFO - Setting gateway for router 3e4befe7-3eed-4ec5-8223-57887474abcf to network e4eeae97-3c71-4dbc-a4e9-bd6678fffef4 2025-01-09 07:35:01,582 - INFO - Adding interface with subnet_id 69501b8f-ef30-4661-b1e9-71c7ce80e548, port_id None to router 3e4befe7-3eed-4ec5-8223-57887474abcf 2025-01-09 07:35:02,040 - INFO - Waiting for VM ctest-TestRoutersBasic-29447371-68255481 to be up.. 2025-01-09 07:35:02,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:35:07,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:35:12,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:35:17,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:35:22,595 - DEBUG - VM is in ACTIVE state now 2025-01-09 07:35:22,595 - INFO - VM name : ctest-TestRoutersBasic-29447371-68255481 2025-01-09 07:35:22,675 - DEBUG - VM ctest-TestRoutersBasic-29447371-68255481 ID is 5153ceae-9ae4-4d0a-b3f3-bea7a098040e 2025-01-09 07:35:22,696 - DEBUG - VM ctest-TestRoutersBasic-29447371-68255481 launched on Node cn-jenkins-deploy-platform-ansible-os-2580-1 2025-01-09 07:35:22,799 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5153ceae-9ae4-4d0a-b3f3-bea7a098040e 2025-01-09 07:35:23,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5153ceae-9ae4-4d0a-b3f3-bea7a098040e 2025-01-09 07:35:23,146 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1b7d038f-bb73-4932-9b58-57a167cb5ef6 2025-01-09 07:35:26,427 - 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 1030ms') 2025-01-09 07:35:26,428 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29447371-68255481 failed! 2025-01-09 07:35:26,484 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29447371:ctest-vn-10078890 is 24.243.14.193 and allocation pool is NOT set 2025-01-09 07:35:30,553 - 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 1004ms') 2025-01-09 07:35:30,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29447371-68255481 failed! 2025-01-09 07:35:30,612 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29447371:ctest-vn-10078890 is 24.243.14.193 and allocation pool is NOT set 2025-01-09 07:35:32,677 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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 = 1.897/4.384/6.872/2.487 ms') 2025-01-09 07:35:32,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29447371-68255481 passed 2025-01-09 07:35:32,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:35:32,832 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29447371-68255481, IP 24.243.14.195, Port 22 2025-01-09 07:35:32,987 - DEBUG - VM ctest-TestRoutersBasic-29447371-68255481 is ready for SSH connections 2025-01-09 07:35:32,987 - INFO - Waiting for VM ctest-TestRoutersBasic-29447371-08469308 to be up.. 2025-01-09 07:35:33,103 - DEBUG - VM is in ACTIVE state now 2025-01-09 07:35:33,103 - INFO - VM name : ctest-TestRoutersBasic-29447371-08469308 2025-01-09 07:35:33,182 - DEBUG - VM ctest-TestRoutersBasic-29447371-08469308 ID is 5874dfa8-ca6f-4801-b6fb-a98c94737ba2 2025-01-09 07:35:33,182 - DEBUG - VM ctest-TestRoutersBasic-29447371-08469308 launched on Node cn-jenkins-deploy-platform-ansible-os-2580-1 2025-01-09 07:35:33,261 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5874dfa8-ca6f-4801-b6fb-a98c94737ba2 2025-01-09 07:35:33,271 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3d82b966-e517-49b2-b388-b6c14c32168f 2025-01-09 07:35:34,538 - 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=4.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.423/2.283/4.143/1.860 ms') 2025-01-09 07:35:34,538 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29447371-08469308 passed 2025-01-09 07:35:34,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:35:34,696 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29447371-08469308, IP 184.255.10.67, Port 22 2025-01-09 07:35:34,862 - DEBUG - VM ctest-TestRoutersBasic-29447371-08469308 is ready for SSH connections 2025-01-09 07:35:34,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:35:34,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.255.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-09 07:35:34,862 - DEBUG - ping -s 56 -c 3 -W 1 184.255.10.67 2025-01-09 07:35:38,577 - DEBUG - PING 184.255.10.67 (184.255.10.67): 56 data bytes 64 bytes from 184.255.10.67: seq=0 ttl=62 time=6.568 ms 64 bytes from 184.255.10.67: seq=1 ttl=62 time=0.945 ms 64 bytes from 184.255.10.67: seq=2 ttl=62 time=1.058 ms --- 184.255.10.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.945/2.857/6.568 ms 2025-01-09 07:35:38,577 - INFO - Ping to IP 184.255.10.67 from VM ctest-TestRoutersBasic-29447371-68255481 passed 2025-01-09 07:35:38,578 - INFO - Deleting interface with subnet_id 69501b8f-ef30-4661-b1e9-71c7ce80e548, port_id None from router 3e4befe7-3eed-4ec5-8223-57887474abcf 2025-01-09 07:35:38,854 - INFO - Deleting VM ctest-TestRoutersBasic-29447371-08469308 2025-01-09 07:35:38,920 - INFO - Deleting VM ctest-TestRoutersBasic-29447371-68255481 2025-01-09 07:35:39,021 - INFO - Deleting VN ctest-ext_vn-28960034 2025-01-09 07:35:39,114 - DEBUG - VN e4eeae97-3c71-4dbc-a4e9-bd6678fffef4 still in use: Unable to complete operation on network e4eeae97-3c71-4dbc-a4e9-bd6678fffef4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9235fc70-9932-4cc9-af37-e3c25205eaf2'] 2025-01-09 07:35:39,114 - WARNING - Deleting VN ctest-ext_vn-28960034 failed..Will retry 2025-01-09 07:35:41,233 - DEBUG - Response for deleting network () 2025-01-09 07:35:41,234 - INFO - Deleting VN ctest-vn-10078890 2025-01-09 07:35:41,360 - DEBUG - Response for deleting network () 2025-01-09 07:35:41,619 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 07:35:41,619 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:46]
2025-01-09 07:35:41,619 - INFO - -------------------------------------------------------------------------------- 2025-01-09 07:35:42,332 - INFO - Deleted project: ctest-TestRoutersBasic-29447371, ID : d3f8a1e5-591d-48f4-9410-e467628d141e