2024-11-07 02:31:05,970 - INFO - Domain Default found not creating
2024-11-07 02:31:06,140 - INFO - Project ctest-TestRoutersBasic-18272899 not found, creating it
2024-11-07 02:31:06,673 - INFO - Created Project:ctest-TestRoutersBasic-18272899, ID : a8aa1e50-ff08-422a-8c6f-697fac299e9a
2024-11-07 02:31:08,244 - INFO - ================================================================================
2024-11-07 02:31:08,244 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-07 02:31:08,245 - 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-11-07 02:31:08,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.29': '0'}} with
2024-11-07 02:31:08,501 - INFO - Initial checks done. Running the testcase now
2024-11-07 02:31:08,501 - INFO -
2024-11-07 02:31:09,217 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18272899
2024-11-07 02:31:09,315 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18272899
2024-11-07 02:31:09,651 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18272899', 'default']}
2024-11-07 02:31:09,984 - DEBUG - Response for create_network : {'network': {'id': '4f262ca9-b375-4a5a-839a-c92c13ac304e', 'name': 'ctest-vn-65456401', 'tenant_id': 'a8aa1e50ff08422a8c6f697fac299e9a', 'project_id': 'a8aa1e50ff08422a8c6f697fac299e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18272899', 'ctest-vn-65456401'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 02:31:10,185 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb6d7184-3a7e-4a51-8f81-099456f4e1a1', 'name': '', 'tenant_id': 'a8aa1e50ff08422a8c6f697fac299e9a', 'network_id': '4f262ca9-b375-4a5a-839a-c92c13ac304e', 'ip_version': 4, 'cidr': '5.244.230.0/26', 'allocation_pools': [{'start': '5.244.230.2', 'end': '5.244.230.62'}], 'gateway_ip': '5.244.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.244.230.2', 'tags': [], 'project_id': 'a8aa1e50ff08422a8c6f697fac299e9a'}}
2024-11-07 02:31:10,332 - INFO - Created VN ctest-vn-65456401
2024-11-07 02:31:10,391 - DEBUG - VN ctest-vn-65456401 UUID is 4f262ca9-b375-4a5a-839a-c92c13ac304e
2024-11-07 02:31:10,758 - DEBUG - Response for create_network : {'network': {'id': '562e0e74-19cc-4049-8ac7-fdde79c20413', 'name': 'ctest-ext_vn-45978341', 'tenant_id': 'a8aa1e50ff08422a8c6f697fac299e9a', 'project_id': 'a8aa1e50ff08422a8c6f697fac299e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18272899', 'ctest-ext_vn-45978341'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 02:31:11,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3888e6d-6ec9-46c3-9480-5f18d112453b', 'name': '', 'tenant_id': 'a8aa1e50ff08422a8c6f697fac299e9a', 'network_id': '562e0e74-19cc-4049-8ac7-fdde79c20413', 'ip_version': 4, 'cidr': '56.161.166.0/26', 'allocation_pools': [{'start': '56.161.166.2', 'end': '56.161.166.62'}], 'gateway_ip': '56.161.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.161.166.2', 'tags': [], 'project_id': 'a8aa1e50ff08422a8c6f697fac299e9a'}}
2024-11-07 02:31:11,026 - INFO - Created VN ctest-ext_vn-45978341
2024-11-07 02:31:11,087 - DEBUG - VN ctest-ext_vn-45978341 UUID is 562e0e74-19cc-4049-8ac7-fdde79c20413
2024-11-07 02:31:11,295 - DEBUG - Services list from nova: [, , ]
2024-11-07 02:31:12,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2208-1)
2024-11-07 02:31:13,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2208-1)
2024-11-07 02:31:13,701 - INFO - Setting gateway for router b15faa33-0fdd-4908-8dd4-1543deae11b9 to network 562e0e74-19cc-4049-8ac7-fdde79c20413
2024-11-07 02:31:13,775 - INFO - Adding interface with subnet_id bb6d7184-3a7e-4a51-8f81-099456f4e1a1, port_id None to router b15faa33-0fdd-4908-8dd4-1543deae11b9
2024-11-07 02:31:14,121 - INFO - Waiting for VM ctest-TestRoutersBasic-18272899-53635485 to be up..
2024-11-07 02:31:14,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-07 02:31:19,353 - DEBUG - VM is in ACTIVE state now
2024-11-07 02:31:19,353 - INFO - VM name : ctest-TestRoutersBasic-18272899-53635485
2024-11-07 02:31:19,431 - DEBUG - VM ctest-TestRoutersBasic-18272899-53635485 ID is 40dae0a0-0b8e-4c70-a211-354008fba6cd
2024-11-07 02:31:19,451 - DEBUG - VM ctest-TestRoutersBasic-18272899-53635485 launched on Node cn-jenkins-deploy-platform-ansible-os-2208-1
2024-11-07 02:31:19,528 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/40dae0a0-0b8e-4c70-a211-354008fba6cd
2024-11-07 02:31:19,835 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/40dae0a0-0b8e-4c70-a211-354008fba6cd
2024-11-07 02:31:19,873 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/23427fc5-929b-42e3-903e-80b3f4d41e0c
2024-11-07 02:31:23,183 - 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 1015ms')
2024-11-07 02:31:23,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18272899-53635485 failed!
2024-11-07 02:31:23,251 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18272899:ctest-vn-65456401 is 5.244.230.1 and allocation pool is NOT set
2024-11-07 02:31:25,314 - 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=3.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.361 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.361/1.807/3.254/1.446 ms')
2024-11-07 02:31:25,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18272899-53635485 passed
2024-11-07 02:31:25,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 02:31:25,471 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18272899-53635485, IP 5.244.230.3, Port 22
2024-11-07 02:31:25,623 - DEBUG - VM ctest-TestRoutersBasic-18272899-53635485 is ready for SSH connections
2024-11-07 02:31:25,623 - INFO - Waiting for VM ctest-TestRoutersBasic-18272899-46171187 to be up..
2024-11-07 02:31:25,700 - DEBUG - VM is in ACTIVE state now
2024-11-07 02:31:25,700 - INFO - VM name : ctest-TestRoutersBasic-18272899-46171187
2024-11-07 02:31:25,774 - DEBUG - VM ctest-TestRoutersBasic-18272899-46171187 ID is d06c3275-608f-448f-910c-2c207ab9403e
2024-11-07 02:31:25,774 - DEBUG - VM ctest-TestRoutersBasic-18272899-46171187 launched on Node cn-jenkins-deploy-platform-ansible-os-2208-1
2024-11-07 02:31:25,855 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d06c3275-608f-448f-910c-2c207ab9403e
2024-11-07 02:31:25,867 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fc6eb64a-96d9-48b8-9617-c6748ea3dc86
2024-11-07 02:31:27,116 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.652/2.980/1.327 ms')
2024-11-07 02:31:27,117 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18272899-46171187 passed
2024-11-07 02:31:27,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 02:31:27,271 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18272899-46171187, IP 56.161.166.3, Port 22
2024-11-07 02:31:27,435 - DEBUG - VM ctest-TestRoutersBasic-18272899-46171187 is ready for SSH connections
2024-11-07 02:31:27,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 02:31:27,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.161.166.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2024-11-07 02:31:27,435 - DEBUG - ping -s 56 -c 3 -W 1 56.161.166.3
2024-11-07 02:31:31,387 - DEBUG - PING 56.161.166.3 (56.161.166.3): 56 data bytes
64 bytes from 56.161.166.3: seq=0 ttl=62 time=7.276 ms
64 bytes from 56.161.166.3: seq=1 ttl=62 time=0.822 ms
64 bytes from 56.161.166.3: seq=2 ttl=62 time=0.791 ms
--- 56.161.166.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.791/2.963/7.276 ms
2024-11-07 02:31:31,387 - INFO - Ping to IP 56.161.166.3 from VM ctest-TestRoutersBasic-18272899-53635485 passed
2024-11-07 02:31:31,387 - INFO - Deleting interface with subnet_id bb6d7184-3a7e-4a51-8f81-099456f4e1a1, port_id None from router b15faa33-0fdd-4908-8dd4-1543deae11b9
2024-11-07 02:31:31,593 - INFO - Deleting VM ctest-TestRoutersBasic-18272899-46171187
2024-11-07 02:31:31,655 - INFO - Deleting VM ctest-TestRoutersBasic-18272899-53635485
2024-11-07 02:31:31,721 - INFO - Deleting VN ctest-ext_vn-45978341
2024-11-07 02:31:31,795 - DEBUG - VN 562e0e74-19cc-4049-8ac7-fdde79c20413 still in use: Unable to complete operation on network 562e0e74-19cc-4049-8ac7-fdde79c20413. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a6d67ad5-533a-470d-a7d6-2a4e226b8880']
2024-11-07 02:31:31,795 - WARNING - Deleting VN ctest-ext_vn-45978341 failed..Will retry
2024-11-07 02:31:33,900 - DEBUG - Response for deleting network ()
2024-11-07 02:31:33,900 - INFO - Deleting VN ctest-vn-65456401
2024-11-07 02:31:34,003 - DEBUG - Response for deleting network ()
2024-11-07 02:31:34,260 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 02:31:34,260 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-07 02:31:34,260 - INFO - --------------------------------------------------------------------------------
2024-11-07 02:31:34,946 - INFO - Deleted project: ctest-TestRoutersBasic-18272899, ID : a8aa1e50-ff08-422a-8c6f-697fac299e9a