2025-05-27 16:38:16,909 - INFO - Domain Default found not creating
2025-05-27 16:38:17,049 - INFO - Project ctest-TestRoutersBasic-46809146 not found, creating it
2025-05-27 16:38:17,534 - INFO - Created Project:ctest-TestRoutersBasic-46809146, ID : 09fbea50-f28a-4c70-87cf-feafd4823b25
2025-05-27 16:38:19,055 - INFO - ================================================================================
2025-05-27 16:38:19,055 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-27 16:38:19,055 - 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-05-27 16:38:19,311 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-05-27 16:38:19,311 - INFO - Initial checks done. Running the testcase now
2025-05-27 16:38:19,311 - INFO -
2025-05-27 16:38:20,083 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46809146
2025-05-27 16:38:20,189 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46809146
2025-05-27 16:38:20,533 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46809146', 'default']}
2025-05-27 16:38:20,847 - DEBUG - Response for create_network : {'network': {'id': '205edb46-f5c6-4fb8-998b-575e4daec46e', 'name': 'ctest-vn-32203346', 'tenant_id': '09fbea50f28a4c7087cffeafd4823b25', 'project_id': '09fbea50f28a4c7087cffeafd4823b25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46809146', 'ctest-vn-32203346'], 'port_security_enabled': True, 'description': ''}}
2025-05-27 16:38:21,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '8396b4e4-1775-45a1-841c-5a20a351d74d', 'name': '', 'tenant_id': '09fbea50f28a4c7087cffeafd4823b25', 'network_id': '205edb46-f5c6-4fb8-998b-575e4daec46e', 'ip_version': 4, 'cidr': '70.192.68.64/26', 'allocation_pools': [{'start': '70.192.68.66', 'end': '70.192.68.126'}], 'gateway_ip': '70.192.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.192.68.66', 'tags': [], 'project_id': '09fbea50f28a4c7087cffeafd4823b25'}}
2025-05-27 16:38:21,030 - INFO - Created VN ctest-vn-32203346
2025-05-27 16:38:21,081 - DEBUG - VN ctest-vn-32203346 UUID is 205edb46-f5c6-4fb8-998b-575e4daec46e
2025-05-27 16:38:21,438 - DEBUG - Response for create_network : {'network': {'id': '241a7274-b1ca-4e99-a5b1-6a1a5f0d8474', 'name': 'ctest-ext_vn-05418696', 'tenant_id': '09fbea50f28a4c7087cffeafd4823b25', 'project_id': '09fbea50f28a4c7087cffeafd4823b25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46809146', 'ctest-ext_vn-05418696'], 'port_security_enabled': True, 'description': ''}}
2025-05-27 16:38:21,594 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe163623-b7bd-41ef-a30a-791c99975e7d', 'name': '', 'tenant_id': '09fbea50f28a4c7087cffeafd4823b25', 'network_id': '241a7274-b1ca-4e99-a5b1-6a1a5f0d8474', 'ip_version': 4, 'cidr': '41.246.132.192/26', 'allocation_pools': [{'start': '41.246.132.194', 'end': '41.246.132.254'}], 'gateway_ip': '41.246.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.246.132.194', 'tags': [], 'project_id': '09fbea50f28a4c7087cffeafd4823b25'}}
2025-05-27 16:38:21,617 - INFO - Created VN ctest-ext_vn-05418696
2025-05-27 16:38:21,673 - DEBUG - VN ctest-ext_vn-05418696 UUID is 241a7274-b1ca-4e99-a5b1-6a1a5f0d8474
2025-05-27 16:38:21,834 - DEBUG - Services list from nova: [, , ]
2025-05-27 16:38:22,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3348-1)
2025-05-27 16:38:24,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3348-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3348-1)
2025-05-27 16:38:24,219 - INFO - Setting gateway for router 93614b6f-5f3e-48a4-8a23-e272f0860906 to network 241a7274-b1ca-4e99-a5b1-6a1a5f0d8474
2025-05-27 16:38:24,282 - INFO - Adding interface with subnet_id 8396b4e4-1775-45a1-841c-5a20a351d74d, port_id None to router 93614b6f-5f3e-48a4-8a23-e272f0860906
2025-05-27 16:38:24,645 - INFO - Waiting for VM ctest-TestRoutersBasic-46809146-71690361 to be up..
2025-05-27 16:38:24,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-27 16:38:29,893 - DEBUG - VM is in ACTIVE state now
2025-05-27 16:38:29,893 - INFO - VM name : ctest-TestRoutersBasic-46809146-71690361
2025-05-27 16:38:29,970 - DEBUG - VM ctest-TestRoutersBasic-46809146-71690361 ID is df22c0f0-ced5-4363-a3a1-7b303d18a44c
2025-05-27 16:38:29,991 - DEBUG - VM ctest-TestRoutersBasic-46809146-71690361 launched on Node cn-jenkins-deploy-platform-ansible-os-3348-1
2025-05-27 16:38:30,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df22c0f0-ced5-4363-a3a1-7b303d18a44c
2025-05-27 16:38:30,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df22c0f0-ced5-4363-a3a1-7b303d18a44c
2025-05-27 16:38:30,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5c4b7a44-b0f9-475e-be52-6ec4ae744ade
2025-05-27 16:38:33,694 - 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 1023ms')
2025-05-27 16:38:33,694 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46809146-71690361 failed!
2025-05-27 16:38:33,749 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46809146:ctest-vn-32203346 is 70.192.68.65 and allocation pool is NOT set
2025-05-27 16:38:35,807 - 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=4.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.27 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 = 2.270/3.260/4.250/0.990 ms')
2025-05-27 16:38:35,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46809146-71690361 passed
2025-05-27 16:38:35,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 16:38:35,957 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46809146-71690361, IP 70.192.68.67, Port 22
2025-05-27 16:38:36,112 - DEBUG - VM ctest-TestRoutersBasic-46809146-71690361 is ready for SSH connections
2025-05-27 16:38:36,112 - INFO - Waiting for VM ctest-TestRoutersBasic-46809146-45416011 to be up..
2025-05-27 16:38:36,187 - DEBUG - VM is in ACTIVE state now
2025-05-27 16:38:36,187 - INFO - VM name : ctest-TestRoutersBasic-46809146-45416011
2025-05-27 16:38:36,257 - DEBUG - VM ctest-TestRoutersBasic-46809146-45416011 ID is 71c00db0-4295-4936-884c-2f54db5fd046
2025-05-27 16:38:36,257 - DEBUG - VM ctest-TestRoutersBasic-46809146-45416011 launched on Node cn-jenkins-deploy-platform-ansible-os-3348-1
2025-05-27 16:38:36,329 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/71c00db0-4295-4936-884c-2f54db5fd046
2025-05-27 16:38:36,337 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e73106d7-33b7-44cb-9bb6-3bee6ad7f24e
2025-05-27 16:38:37,571 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.409/1.951/3.494/1.542 ms')
2025-05-27 16:38:37,571 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46809146-45416011 passed
2025-05-27 16:38:37,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 16:38:37,721 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46809146-45416011, IP 41.246.132.195, Port 22
2025-05-27 16:38:37,876 - DEBUG - VM ctest-TestRoutersBasic-46809146-45416011 is ready for SSH connections
2025-05-27 16:38:37,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 16:38:37,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.246.132.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-27 16:38:37,876 - DEBUG - ping -s 56 -c 3 -W 1 41.246.132.195
2025-05-27 16:38:41,577 - DEBUG - PING 41.246.132.195 (41.246.132.195): 56 data bytes
64 bytes from 41.246.132.195: seq=0 ttl=62 time=7.945 ms
64 bytes from 41.246.132.195: seq=1 ttl=62 time=0.880 ms
64 bytes from 41.246.132.195: seq=2 ttl=62 time=1.055 ms
--- 41.246.132.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.880/3.293/7.945 ms
2025-05-27 16:38:41,577 - INFO - Ping to IP 41.246.132.195 from VM ctest-TestRoutersBasic-46809146-71690361 passed
2025-05-27 16:38:41,577 - INFO - Deleting interface with subnet_id 8396b4e4-1775-45a1-841c-5a20a351d74d, port_id None from router 93614b6f-5f3e-48a4-8a23-e272f0860906
2025-05-27 16:38:41,765 - INFO - Deleting VM ctest-TestRoutersBasic-46809146-45416011
2025-05-27 16:38:41,833 - INFO - Deleting VM ctest-TestRoutersBasic-46809146-71690361
2025-05-27 16:38:41,921 - INFO - Deleting VN ctest-ext_vn-05418696
2025-05-27 16:38:42,020 - DEBUG - VN 241a7274-b1ca-4e99-a5b1-6a1a5f0d8474 still in use: Unable to complete operation on network 241a7274-b1ca-4e99-a5b1-6a1a5f0d8474. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ab1b6ab9-30e8-461b-87fc-ed77ccc8780b']
2025-05-27 16:38:42,020 - WARNING - Deleting VN ctest-ext_vn-05418696 failed..Will retry
2025-05-27 16:38:44,133 - DEBUG - Response for deleting network ()
2025-05-27 16:38:44,133 - INFO - Deleting VN ctest-vn-32203346
2025-05-27 16:38:44,235 - DEBUG - Response for deleting network ()
2025-05-27 16:38:44,499 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 16:38:44,499 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-27 16:38:44,499 - INFO - --------------------------------------------------------------------------------
2025-05-27 16:38:45,281 - INFO - Deleted project: ctest-TestRoutersBasic-46809146, ID : 09fbea50-f28a-4c70-87cf-feafd4823b25