2024-09-03 10:36:52,918 - INFO - Domain Default found not creating 2024-09-03 10:36:53,084 - INFO - Project ctest-TestRoutersBasic-89042877 not found, creating it 2024-09-03 10:36:53,545 - INFO - Created Project:ctest-TestRoutersBasic-89042877, ID : 87987448-a8e7-418c-80c6-07b28ef06b95 2024-09-03 10:36:55,076 - INFO - ================================================================================ 2024-09-03 10:36:55,076 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-03 10:36:55,076 - 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-03 10:36:55,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2024-09-03 10:36:55,330 - INFO - Initial checks done. Running the testcase now 2024-09-03 10:36:55,330 - INFO - 2024-09-03 10:36:56,037 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89042877 2024-09-03 10:36:56,131 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89042877 2024-09-03 10:36:56,459 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89042877', 'default']} 2024-09-03 10:36:56,768 - DEBUG - Response for create_network : {'network': {'id': 'a01ec742-a4fd-497b-a6eb-949318e734cf', 'name': 'ctest-vn-08034153', 'tenant_id': '87987448a8e7418c80c607b28ef06b95', 'project_id': '87987448a8e7418c80c607b28ef06b95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89042877', 'ctest-vn-08034153'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 10:36:56,973 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef53f7b6-b0ff-40ee-9104-d475491ee0ec', 'name': '', 'tenant_id': '87987448a8e7418c80c607b28ef06b95', 'network_id': 'a01ec742-a4fd-497b-a6eb-949318e734cf', 'ip_version': 4, 'cidr': '36.169.243.192/26', 'allocation_pools': [{'start': '36.169.243.194', 'end': '36.169.243.254'}], 'gateway_ip': '36.169.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.169.243.194', 'tags': [], 'project_id': '87987448a8e7418c80c607b28ef06b95'}} 2024-09-03 10:36:56,992 - INFO - Created VN ctest-vn-08034153 2024-09-03 10:36:57,043 - DEBUG - VN ctest-vn-08034153 UUID is a01ec742-a4fd-497b-a6eb-949318e734cf 2024-09-03 10:36:57,367 - DEBUG - Response for create_network : {'network': {'id': 'e13c3292-5bed-488a-b64a-6511cf87106a', 'name': 'ctest-ext_vn-23186451', 'tenant_id': '87987448a8e7418c80c607b28ef06b95', 'project_id': '87987448a8e7418c80c607b28ef06b95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89042877', 'ctest-ext_vn-23186451'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 10:36:57,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '98036ff6-30e9-42b8-9669-01668f0d58dd', 'name': '', 'tenant_id': '87987448a8e7418c80c607b28ef06b95', 'network_id': 'e13c3292-5bed-488a-b64a-6511cf87106a', 'ip_version': 4, 'cidr': '43.62.33.64/26', 'allocation_pools': [{'start': '43.62.33.66', 'end': '43.62.33.126'}], 'gateway_ip': '43.62.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.62.33.66', 'tags': [], 'project_id': '87987448a8e7418c80c607b28ef06b95'}} 2024-09-03 10:36:57,598 - INFO - Created VN ctest-ext_vn-23186451 2024-09-03 10:36:57,651 - DEBUG - VN ctest-ext_vn-23186451 UUID is e13c3292-5bed-488a-b64a-6511cf87106a 2024-09-03 10:36:57,827 - DEBUG - Services list from nova: [, , ] 2024-09-03 10:36:58,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1833-1) 2024-09-03 10:36:59,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1833-1) 2024-09-03 10:37:00,108 - INFO - Setting gateway for router 6cbb3753-8074-4a5d-baaa-47e89b848ae7 to network e13c3292-5bed-488a-b64a-6511cf87106a 2024-09-03 10:37:00,166 - INFO - Adding interface with subnet_id ef53f7b6-b0ff-40ee-9104-d475491ee0ec, port_id None to router 6cbb3753-8074-4a5d-baaa-47e89b848ae7 2024-09-03 10:37:00,504 - INFO - Waiting for VM ctest-TestRoutersBasic-89042877-04472237 to be up.. 2024-09-03 10:37:00,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 10:37:05,778 - DEBUG - VM is in ACTIVE state now 2024-09-03 10:37:05,779 - INFO - VM name : ctest-TestRoutersBasic-89042877-04472237 2024-09-03 10:37:05,877 - DEBUG - VM ctest-TestRoutersBasic-89042877-04472237 ID is bc46851c-645f-4291-bb8d-0adee02dd1b4 2024-09-03 10:37:05,896 - DEBUG - VM ctest-TestRoutersBasic-89042877-04472237 launched on Node cn-jenkins-deploy-platform-ansible-os-1833-1 2024-09-03 10:37:05,978 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/bc46851c-645f-4291-bb8d-0adee02dd1b4 2024-09-03 10:37:06,276 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/bc46851c-645f-4291-bb8d-0adee02dd1b4 2024-09-03 10:37:06,310 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/0ef2e8cc-cd32-4321-a45a-0aeb1d426bb0 2024-09-03 10:37:09,557 - 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 1008ms') 2024-09-03 10:37:09,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89042877-04472237 failed! 2024-09-03 10:37:09,611 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89042877:ctest-vn-08034153 is 36.169.243.193 and allocation pool is NOT set 2024-09-03 10:37:11,666 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/1.746/3.098/1.351 ms') 2024-09-03 10:37:11,666 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89042877-04472237 passed 2024-09-03 10:37:11,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:37:11,815 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89042877-04472237, IP 36.169.243.195, Port 22 2024-09-03 10:37:11,966 - DEBUG - VM ctest-TestRoutersBasic-89042877-04472237 is ready for SSH connections 2024-09-03 10:37:11,966 - INFO - Waiting for VM ctest-TestRoutersBasic-89042877-06980826 to be up.. 2024-09-03 10:37:12,052 - DEBUG - VM is in ACTIVE state now 2024-09-03 10:37:12,053 - INFO - VM name : ctest-TestRoutersBasic-89042877-06980826 2024-09-03 10:37:12,131 - DEBUG - VM ctest-TestRoutersBasic-89042877-06980826 ID is 6cae97ea-23c2-488f-99ca-d7990e8d9269 2024-09-03 10:37:12,131 - DEBUG - VM ctest-TestRoutersBasic-89042877-06980826 launched on Node cn-jenkins-deploy-platform-ansible-os-1833-1 2024-09-03 10:37:12,212 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/6cae97ea-23c2-488f-99ca-d7990e8d9269 2024-09-03 10:37:12,221 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/627b436b-180f-4f65-8063-75e8eb352144 2024-09-03 10:37:13,468 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/1.842/3.209/1.367 ms') 2024-09-03 10:37:13,468 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89042877-06980826 passed 2024-09-03 10:37:13,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:37:13,619 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89042877-06980826, IP 43.62.33.67, Port 22 2024-09-03 10:37:13,778 - DEBUG - VM ctest-TestRoutersBasic-89042877-06980826 is ready for SSH connections 2024-09-03 10:37:13,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:37:13,779 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.62.33.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:37:13,779 - DEBUG - ping -s 56 -c 3 -W 1 43.62.33.67 2024-09-03 10:37:17,812 - DEBUG - PING 43.62.33.67 (43.62.33.67): 56 data bytes 64 bytes from 43.62.33.67: seq=0 ttl=62 time=6.091 ms 64 bytes from 43.62.33.67: seq=1 ttl=62 time=0.948 ms 64 bytes from 43.62.33.67: seq=2 ttl=62 time=1.067 ms --- 43.62.33.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.702/6.091 ms 2024-09-03 10:37:17,812 - INFO - Ping to IP 43.62.33.67 from VM ctest-TestRoutersBasic-89042877-04472237 passed 2024-09-03 10:37:17,812 - INFO - Deleting interface with subnet_id ef53f7b6-b0ff-40ee-9104-d475491ee0ec, port_id None from router 6cbb3753-8074-4a5d-baaa-47e89b848ae7 2024-09-03 10:37:18,087 - INFO - Deleting VM ctest-TestRoutersBasic-89042877-06980826 2024-09-03 10:37:18,159 - INFO - Deleting VM ctest-TestRoutersBasic-89042877-04472237 2024-09-03 10:37:18,242 - INFO - Deleting VN ctest-ext_vn-23186451 2024-09-03 10:37:18,342 - DEBUG - VN e13c3292-5bed-488a-b64a-6511cf87106a still in use: Unable to complete operation on network e13c3292-5bed-488a-b64a-6511cf87106a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ab74ffb-4ca0-4f94-a540-4803625067cf'] 2024-09-03 10:37:18,342 - WARNING - Deleting VN ctest-ext_vn-23186451 failed..Will retry 2024-09-03 10:37:20,452 - DEBUG - Response for deleting network () 2024-09-03 10:37:20,452 - INFO - Deleting VN ctest-vn-08034153 2024-09-03 10:37:20,563 - DEBUG - Response for deleting network () 2024-09-03 10:37:20,818 - DEBUG - No XMPP flaps were noticed during the test
2024-09-03 10:37:20,818 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-09-03 10:37:20,818 - INFO - -------------------------------------------------------------------------------- 2024-09-03 10:37:21,477 - INFO - Deleted project: ctest-TestRoutersBasic-89042877, ID : 87987448-a8e7-418c-80c6-07b28ef06b95