2025-02-17 02:33:35,729 - INFO - Domain Default found not creating 2025-02-17 02:33:35,899 - INFO - Project ctest-TestRoutersBasic-05897192 not found, creating it 2025-02-17 02:33:36,416 - INFO - Created Project:ctest-TestRoutersBasic-05897192, ID : 7d6e1acf-c07a-42d6-b7db-ae2931aefd39 2025-02-17 02:33:38,011 - INFO - ================================================================================ 2025-02-17 02:33:38,011 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-17 02:33:38,011 - 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-02-17 02:33:38,267 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.0.0.30': '0'}} with 2025-02-17 02:33:38,267 - INFO - Initial checks done. Running the testcase now 2025-02-17 02:33:38,267 - INFO - 2025-02-17 02:33:39,068 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05897192 2025-02-17 02:33:39,168 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05897192 2025-02-17 02:33:39,496 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05897192', 'default']} 2025-02-17 02:33:39,819 - DEBUG - Response for create_network : {'network': {'id': '2b9511f6-27cc-48b8-8c59-38fa7f1ae307', 'name': 'ctest-vn-08164411', 'tenant_id': '7d6e1acfc07a42d6b7dbae2931aefd39', 'project_id': '7d6e1acfc07a42d6b7dbae2931aefd39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05897192', 'ctest-vn-08164411'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:33:40,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc25e072-fd56-446c-9a5e-a31462a21a4b', 'name': '', 'tenant_id': '7d6e1acfc07a42d6b7dbae2931aefd39', 'network_id': '2b9511f6-27cc-48b8-8c59-38fa7f1ae307', 'ip_version': 4, 'cidr': '211.227.51.64/26', 'allocation_pools': [{'start': '211.227.51.66', 'end': '211.227.51.126'}], 'gateway_ip': '211.227.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.227.51.66', 'tags': [], 'project_id': '7d6e1acfc07a42d6b7dbae2931aefd39'}} 2025-02-17 02:33:40,027 - INFO - Created VN ctest-vn-08164411 2025-02-17 02:33:40,084 - DEBUG - VN ctest-vn-08164411 UUID is 2b9511f6-27cc-48b8-8c59-38fa7f1ae307 2025-02-17 02:33:40,423 - DEBUG - Response for create_network : {'network': {'id': '13014277-027f-4b30-9e37-3f326e662604', 'name': 'ctest-ext_vn-14825732', 'tenant_id': '7d6e1acfc07a42d6b7dbae2931aefd39', 'project_id': '7d6e1acfc07a42d6b7dbae2931aefd39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05897192', 'ctest-ext_vn-14825732'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:33:40,625 - DEBUG - Response for create_subnet : {'subnet': {'id': '28a66d34-206c-4987-a82c-873ac00f1ded', 'name': '', 'tenant_id': '7d6e1acfc07a42d6b7dbae2931aefd39', 'network_id': '13014277-027f-4b30-9e37-3f326e662604', 'ip_version': 4, 'cidr': '44.129.43.192/26', 'allocation_pools': [{'start': '44.129.43.194', 'end': '44.129.43.254'}], 'gateway_ip': '44.129.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.129.43.194', 'tags': [], 'project_id': '7d6e1acfc07a42d6b7dbae2931aefd39'}} 2025-02-17 02:33:40,644 - INFO - Created VN ctest-ext_vn-14825732 2025-02-17 02:33:40,696 - DEBUG - VN ctest-ext_vn-14825732 UUID is 13014277-027f-4b30-9e37-3f326e662604 2025-02-17 02:33:40,869 - DEBUG - Services list from nova: [, , ] 2025-02-17 02:33:42,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2742-1) 2025-02-17 02:33:43,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2742-1) 2025-02-17 02:33:43,285 - INFO - Setting gateway for router 4a68eb63-c982-4ed3-971e-a58b13e5819f to network 13014277-027f-4b30-9e37-3f326e662604 2025-02-17 02:33:43,357 - INFO - Adding interface with subnet_id dc25e072-fd56-446c-9a5e-a31462a21a4b, port_id None to router 4a68eb63-c982-4ed3-971e-a58b13e5819f 2025-02-17 02:33:43,887 - INFO - Waiting for VM ctest-TestRoutersBasic-05897192-01433905 to be up.. 2025-02-17 02:33:44,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 02:33:49,200 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:33:49,200 - INFO - VM name : ctest-TestRoutersBasic-05897192-01433905 2025-02-17 02:33:49,286 - DEBUG - VM ctest-TestRoutersBasic-05897192-01433905 ID is f2fffb46-9e96-4871-8d7a-e2a83b5bf38e 2025-02-17 02:33:49,313 - DEBUG - VM ctest-TestRoutersBasic-05897192-01433905 launched on Node cn-jenkins-deploy-platform-ansible-os-2742-1. 2025-02-17 02:33:49,407 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/f2fffb46-9e96-4871-8d7a-e2a83b5bf38e 2025-02-17 02:33:49,944 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/f2fffb46-9e96-4871-8d7a-e2a83b5bf38e 2025-02-17 02:33:49,988 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/a1ea4c26-61ec-4093-af51-2893296c6aad 2025-02-17 02:33:53,264 - 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 1017ms') 2025-02-17 02:33:53,264 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05897192-01433905 failed! 2025-02-17 02:33:53,324 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05897192:ctest-vn-08164411 is 211.227.51.65 and allocation pool is NOT set 2025-02-17 02:33:55,388 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/2.162/3.923/1.761 ms') 2025-02-17 02:33:55,389 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05897192-01433905 passed 2025-02-17 02:33:55,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:33:55,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05897192-01433905, IP 211.227.51.67, Port 22 2025-02-17 02:33:55,710 - DEBUG - VM ctest-TestRoutersBasic-05897192-01433905 is ready for SSH connections 2025-02-17 02:33:55,710 - INFO - Waiting for VM ctest-TestRoutersBasic-05897192-98787167 to be up.. 2025-02-17 02:33:55,789 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:33:55,790 - INFO - VM name : ctest-TestRoutersBasic-05897192-98787167 2025-02-17 02:33:55,871 - DEBUG - VM ctest-TestRoutersBasic-05897192-98787167 ID is 7ef6abb6-acb5-4d99-99ac-f45a4ea60232 2025-02-17 02:33:55,871 - DEBUG - VM ctest-TestRoutersBasic-05897192-98787167 launched on Node cn-jenkins-deploy-platform-ansible-os-2742-1. 2025-02-17 02:33:55,949 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/7ef6abb6-acb5-4d99-99ac-f45a4ea60232 2025-02-17 02:33:55,960 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/6cbadf42-03ef-4a92-b5fb-411c0b913044 2025-02-17 02:33:57,217 - 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=10.6 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.040/5.817/10.595/4.777 ms') 2025-02-17 02:33:57,218 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05897192-98787167 passed 2025-02-17 02:33:57,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:33:57,376 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05897192-98787167, IP 44.129.43.195, Port 22 2025-02-17 02:33:57,535 - DEBUG - VM ctest-TestRoutersBasic-05897192-98787167 is ready for SSH connections 2025-02-17 02:33:57,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:33:57,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.129.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-17 02:33:57,536 - DEBUG - ping -s 56 -c 3 -W 1 44.129.43.195 2025-02-17 02:34:01,284 - DEBUG - PING 44.129.43.195 (44.129.43.195): 56 data bytes 64 bytes from 44.129.43.195: seq=0 ttl=62 time=7.834 ms 64 bytes from 44.129.43.195: seq=1 ttl=62 time=1.031 ms 64 bytes from 44.129.43.195: seq=2 ttl=62 time=0.957 ms --- 44.129.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/3.274/7.834 ms 2025-02-17 02:34:01,284 - INFO - Ping to IP 44.129.43.195 from VM ctest-TestRoutersBasic-05897192-01433905 passed 2025-02-17 02:34:01,284 - INFO - Deleting interface with subnet_id dc25e072-fd56-446c-9a5e-a31462a21a4b, port_id None from router 4a68eb63-c982-4ed3-971e-a58b13e5819f 2025-02-17 02:34:01,541 - INFO - Deleting VM ctest-TestRoutersBasic-05897192-98787167 2025-02-17 02:34:01,644 - INFO - Deleting VM ctest-TestRoutersBasic-05897192-01433905 2025-02-17 02:34:01,752 - INFO - Deleting VN ctest-ext_vn-14825732 2025-02-17 02:34:01,882 - DEBUG - VN 13014277-027f-4b30-9e37-3f326e662604 still in use: Unable to complete operation on network 13014277-027f-4b30-9e37-3f326e662604. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a38c376-bcc3-4021-86af-1ace1bfd907d'] 2025-02-17 02:34:01,883 - WARNING - Deleting VN ctest-ext_vn-14825732 failed..Will retry 2025-02-17 02:34:04,101 - DEBUG - Response for deleting network () 2025-02-17 02:34:04,102 - INFO - Deleting VN ctest-vn-08164411 2025-02-17 02:34:04,224 - DEBUG - Response for deleting network () 2025-02-17 02:34:04,483 - DEBUG - No XMPP flaps were noticed during the test 2025-02-17 02:34:04,483 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-17 02:34:04,484 - INFO - -------------------------------------------------------------------------------- 2025-02-17 02:34:05,228 - INFO - Deleted project: ctest-TestRoutersBasic-05897192, ID : 7d6e1acf-c07a-42d6-b7db-ae2931aefd39