2025-03-24 11:17:39,102 - INFO - Domain Default found not creating
2025-03-24 11:17:39,262 - INFO - Project ctest-TestRoutersBasic-92521905 not found, creating it
2025-03-24 11:17:39,773 - INFO - Created Project:ctest-TestRoutersBasic-92521905, ID : e64efcbc-698c-44e9-b3d1-ace40cdd67f6
2025-03-24 11:17:41,285 - INFO - ================================================================================
2025-03-24 11:17:41,285 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-24 11:17:41,285 - 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-03-24 11:17:41,545 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.8': '0'}} with
2025-03-24 11:17:41,545 - INFO - Initial checks done. Running the testcase now
2025-03-24 11:17:41,545 - INFO -
2025-03-24 11:17:42,251 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92521905
2025-03-24 11:17:42,351 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92521905
2025-03-24 11:17:42,675 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92521905', 'default']}
2025-03-24 11:17:42,998 - DEBUG - Response for create_network : {'network': {'id': '2aca17b3-c444-463f-a68b-2798d2bd0d43', 'name': 'ctest-vn-69852006', 'tenant_id': 'e64efcbc698c44e9b3d1ace40cdd67f6', 'project_id': 'e64efcbc698c44e9b3d1ace40cdd67f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92521905', 'ctest-vn-69852006'], 'port_security_enabled': True, 'description': ''}}
2025-03-24 11:17:43,161 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab17cdb4-7c22-497e-9936-962a423edfab', 'name': '', 'tenant_id': 'e64efcbc698c44e9b3d1ace40cdd67f6', 'network_id': '2aca17b3-c444-463f-a68b-2798d2bd0d43', 'ip_version': 4, 'cidr': '129.15.8.64/26', 'allocation_pools': [{'start': '129.15.8.66', 'end': '129.15.8.126'}], 'gateway_ip': '129.15.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.15.8.66', 'tags': [], 'project_id': 'e64efcbc698c44e9b3d1ace40cdd67f6'}}
2025-03-24 11:17:43,182 - INFO - Created VN ctest-vn-69852006
2025-03-24 11:17:43,239 - DEBUG - VN ctest-vn-69852006 UUID is 2aca17b3-c444-463f-a68b-2798d2bd0d43
2025-03-24 11:17:43,609 - DEBUG - Response for create_network : {'network': {'id': '2f6ba32a-ca0f-49a0-bee5-c76b33010c3f', 'name': 'ctest-ext_vn-38652091', 'tenant_id': 'e64efcbc698c44e9b3d1ace40cdd67f6', 'project_id': 'e64efcbc698c44e9b3d1ace40cdd67f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92521905', 'ctest-ext_vn-38652091'], 'port_security_enabled': True, 'description': ''}}
2025-03-24 11:17:43,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e189534c-d43a-4ffb-affd-20d273348f38', 'name': '', 'tenant_id': 'e64efcbc698c44e9b3d1ace40cdd67f6', 'network_id': '2f6ba32a-ca0f-49a0-bee5-c76b33010c3f', 'ip_version': 4, 'cidr': '26.133.174.192/26', 'allocation_pools': [{'start': '26.133.174.194', 'end': '26.133.174.254'}], 'gateway_ip': '26.133.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.133.174.194', 'tags': [], 'project_id': 'e64efcbc698c44e9b3d1ace40cdd67f6'}}
2025-03-24 11:17:43,860 - INFO - Created VN ctest-ext_vn-38652091
2025-03-24 11:17:43,919 - DEBUG - VN ctest-ext_vn-38652091 UUID is 2f6ba32a-ca0f-49a0-bee5-c76b33010c3f
2025-03-24 11:17:44,096 - DEBUG - Services list from nova: [, , ]
2025-03-24 11:17:45,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2942-1)
2025-03-24 11:17:46,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2942-1)
2025-03-24 11:17:46,417 - INFO - Setting gateway for router aa4bf210-2d29-4aa3-b215-819ce6e9a32e to network 2f6ba32a-ca0f-49a0-bee5-c76b33010c3f
2025-03-24 11:17:46,532 - INFO - Adding interface with subnet_id ab17cdb4-7c22-497e-9936-962a423edfab, port_id None to router aa4bf210-2d29-4aa3-b215-819ce6e9a32e
2025-03-24 11:17:47,016 - INFO - Waiting for VM ctest-TestRoutersBasic-92521905-16799322 to be up..
2025-03-24 11:17:47,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-24 11:17:52,297 - DEBUG - VM is in ACTIVE state now
2025-03-24 11:17:52,297 - INFO - VM name : ctest-TestRoutersBasic-92521905-16799322
2025-03-24 11:17:52,384 - DEBUG - VM ctest-TestRoutersBasic-92521905-16799322 ID is ce01527e-ebd4-4dee-ba12-b0a49df9bcdf
2025-03-24 11:17:52,407 - DEBUG - VM ctest-TestRoutersBasic-92521905-16799322 launched on Node cn-jenkins-deploy-platform-ansible-os-2942-1
2025-03-24 11:17:52,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce01527e-ebd4-4dee-ba12-b0a49df9bcdf
2025-03-24 11:17:52,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce01527e-ebd4-4dee-ba12-b0a49df9bcdf
2025-03-24 11:17:52,835 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5333e487-0706-4edb-a87b-2489e448c83b
2025-03-24 11:17:56,089 - 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 1006ms')
2025-03-24 11:17:56,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92521905-16799322 failed!
2025-03-24 11:17:56,147 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92521905:ctest-vn-69852006 is 129.15.8.65 and allocation pool is NOT set
2025-03-24 11:17:58,207 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.988 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.988/1.969/2.951/0.981 ms')
2025-03-24 11:17:58,207 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92521905-16799322 passed
2025-03-24 11:17:58,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 11:17:58,363 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92521905-16799322, IP 129.15.8.67, Port 22
2025-03-24 11:17:58,428 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-03-24 11:17:58,514 - DEBUG - VM ctest-TestRoutersBasic-92521905-16799322 is NOT ready for SSH connections, VM status: ACTIVE
2025-03-24 11:18:03,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 11:18:03,515 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92521905-16799322, IP 129.15.8.67, Port 22
2025-03-24 11:18:03,670 - DEBUG - VM ctest-TestRoutersBasic-92521905-16799322 is ready for SSH connections
2025-03-24 11:18:03,670 - INFO - Waiting for VM ctest-TestRoutersBasic-92521905-54128461 to be up..
2025-03-24 11:18:03,759 - DEBUG - VM is in ACTIVE state now
2025-03-24 11:18:03,759 - INFO - VM name : ctest-TestRoutersBasic-92521905-54128461
2025-03-24 11:18:03,844 - DEBUG - VM ctest-TestRoutersBasic-92521905-54128461 ID is cc52a64b-3840-4427-8e62-6cc90de21b3d
2025-03-24 11:18:03,844 - DEBUG - VM ctest-TestRoutersBasic-92521905-54128461 launched on Node cn-jenkins-deploy-platform-ansible-os-2942-1
2025-03-24 11:18:03,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc52a64b-3840-4427-8e62-6cc90de21b3d
2025-03-24 11:18:03,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/812abc66-67a8-448b-a80e-817769dfed82
2025-03-24 11:18:05,207 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.645/2.921/1.275 ms')
2025-03-24 11:18:05,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92521905-54128461 passed
2025-03-24 11:18:05,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 11:18:05,367 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92521905-54128461, IP 26.133.174.195, Port 22
2025-03-24 11:18:05,523 - DEBUG - VM ctest-TestRoutersBasic-92521905-54128461 is ready for SSH connections
2025-03-24 11:18:05,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 11:18:05,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.133.174.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-03-24 11:18:05,523 - DEBUG - ping -s 56 -c 3 -W 1 26.133.174.195
2025-03-24 11:18:09,241 - DEBUG - PING 26.133.174.195 (26.133.174.195): 56 data bytes
64 bytes from 26.133.174.195: seq=0 ttl=62 time=6.891 ms
64 bytes from 26.133.174.195: seq=1 ttl=62 time=1.088 ms
64 bytes from 26.133.174.195: seq=2 ttl=62 time=1.132 ms
--- 26.133.174.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.088/3.037/6.891 ms
2025-03-24 11:18:09,241 - INFO - Ping to IP 26.133.174.195 from VM ctest-TestRoutersBasic-92521905-16799322 passed
2025-03-24 11:18:09,241 - INFO - Deleting interface with subnet_id ab17cdb4-7c22-497e-9936-962a423edfab, port_id None from router aa4bf210-2d29-4aa3-b215-819ce6e9a32e
2025-03-24 11:18:09,445 - INFO - Deleting VM ctest-TestRoutersBasic-92521905-54128461
2025-03-24 11:18:09,518 - INFO - Deleting VM ctest-TestRoutersBasic-92521905-16799322
2025-03-24 11:18:09,615 - INFO - Deleting VN ctest-ext_vn-38652091
2025-03-24 11:18:09,701 - DEBUG - VN 2f6ba32a-ca0f-49a0-bee5-c76b33010c3f still in use: Unable to complete operation on network 2f6ba32a-ca0f-49a0-bee5-c76b33010c3f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0c509999-0f82-42ad-a5ac-d95615bb1707']
2025-03-24 11:18:09,701 - WARNING - Deleting VN ctest-ext_vn-38652091 failed..Will retry
2025-03-24 11:18:11,821 - DEBUG - Response for deleting network ()
2025-03-24 11:18:11,821 - INFO - Deleting VN ctest-vn-69852006
2025-03-24 11:18:11,951 - DEBUG - Response for deleting network ()
2025-03-24 11:18:12,204 - DEBUG - No XMPP flaps were noticed during the test
2025-03-24 11:18:12,204 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-03-24 11:18:12,204 - INFO - --------------------------------------------------------------------------------
2025-03-24 11:18:13,014 - INFO - Deleted project: ctest-TestRoutersBasic-92521905, ID : e64efcbc-698c-44e9-b3d1-ace40cdd67f6