2025-03-27 01:10:02,719 - INFO - Domain Default found not creating
2025-03-27 01:10:02,928 - INFO - Project ctest-TestRoutersBasic-58699940 not found, creating it
2025-03-27 01:10:03,436 - INFO - Created Project:ctest-TestRoutersBasic-58699940, ID : 3ff6239c-b633-4b00-a08a-b8dbc5817be2
2025-03-27 01:10:05,145 - INFO - ================================================================================
2025-03-27 01:10:05,146 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-27 01:10:05,146 - 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-27 01:10:05,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.12': '0'}} with
2025-03-27 01:10:05,418 - INFO - Initial checks done. Running the testcase now
2025-03-27 01:10:05,418 - INFO -
2025-03-27 01:10:06,190 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58699940
2025-03-27 01:10:06,292 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58699940
2025-03-27 01:10:06,656 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58699940', 'default']}
2025-03-27 01:10:07,008 - DEBUG - Response for create_network : {'network': {'id': '7aeecb5d-a262-4ffc-a530-28f652a3717d', 'name': 'ctest-vn-91363243', 'tenant_id': '3ff6239cb6334b00a08ab8dbc5817be2', 'project_id': '3ff6239cb6334b00a08ab8dbc5817be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58699940', 'ctest-vn-91363243'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 01:10:07,188 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c72ab108-d96f-4859-a114-a2f60d203ed1', 'name': '', 'tenant_id': '3ff6239cb6334b00a08ab8dbc5817be2', 'network_id': '7aeecb5d-a262-4ffc-a530-28f652a3717d', 'ip_version': 4, 'cidr': '176.77.85.0/26', 'allocation_pools': [{'start': '176.77.85.2', 'end': '176.77.85.62'}], 'gateway_ip': '176.77.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.77.85.2', 'tags': [], 'project_id': '3ff6239cb6334b00a08ab8dbc5817be2'}}
2025-03-27 01:10:07,212 - INFO - Created VN ctest-vn-91363243
2025-03-27 01:10:07,272 - DEBUG - VN ctest-vn-91363243 UUID is 7aeecb5d-a262-4ffc-a530-28f652a3717d
2025-03-27 01:10:07,658 - DEBUG - Response for create_network : {'network': {'id': '83e95c9e-58ca-408c-9195-7deba1e23366', 'name': 'ctest-ext_vn-32073713', 'tenant_id': '3ff6239cb6334b00a08ab8dbc5817be2', 'project_id': '3ff6239cb6334b00a08ab8dbc5817be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58699940', 'ctest-ext_vn-32073713'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 01:10:07,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ce46eaa-ee4e-4803-900a-4455da23b131', 'name': '', 'tenant_id': '3ff6239cb6334b00a08ab8dbc5817be2', 'network_id': '83e95c9e-58ca-408c-9195-7deba1e23366', 'ip_version': 4, 'cidr': '4.225.54.128/26', 'allocation_pools': [{'start': '4.225.54.130', 'end': '4.225.54.190'}], 'gateway_ip': '4.225.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.225.54.130', 'tags': [], 'project_id': '3ff6239cb6334b00a08ab8dbc5817be2'}}
2025-03-27 01:10:07,920 - INFO - Created VN ctest-ext_vn-32073713
2025-03-27 01:10:07,976 - DEBUG - VN ctest-ext_vn-32073713 UUID is 83e95c9e-58ca-408c-9195-7deba1e23366
2025-03-27 01:10:08,178 - DEBUG - Services list from nova: [, , ]
2025-03-27 01:10:09,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2963-1)
2025-03-27 01:10:10,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2963-1)
2025-03-27 01:10:10,780 - INFO - Setting gateway for router 92e952d3-7441-4c51-b533-d894aa7786ef to network 83e95c9e-58ca-408c-9195-7deba1e23366
2025-03-27 01:10:10,878 - INFO - Adding interface with subnet_id c72ab108-d96f-4859-a114-a2f60d203ed1, port_id None to router 92e952d3-7441-4c51-b533-d894aa7786ef
2025-03-27 01:10:11,253 - INFO - Waiting for VM ctest-TestRoutersBasic-58699940-48014670 to be up..
2025-03-27 01:10:11,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-27 01:10:16,536 - DEBUG - VM is in ACTIVE state now
2025-03-27 01:10:16,536 - INFO - VM name : ctest-TestRoutersBasic-58699940-48014670
2025-03-27 01:10:16,623 - DEBUG - VM ctest-TestRoutersBasic-58699940-48014670 ID is 6b63719e-6117-44b1-849a-a44a313f2e1f
2025-03-27 01:10:16,645 - DEBUG - VM ctest-TestRoutersBasic-58699940-48014670 launched on Node cn-jenkins-deploy-platform-ansible-os-2963-1
2025-03-27 01:10:16,765 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/6b63719e-6117-44b1-849a-a44a313f2e1f
2025-03-27 01:10:17,063 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/6b63719e-6117-44b1-849a-a44a313f2e1f
2025-03-27 01:10:17,105 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/5676c807-54a6-470d-ac41-29bf09706d64
2025-03-27 01:10:20,379 - 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')
2025-03-27 01:10:20,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58699940-48014670 failed!
2025-03-27 01:10:20,436 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58699940:ctest-vn-91363243 is 176.77.85.1 and allocation pool is NOT set
2025-03-27 01:10:22,510 - 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=6.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.90 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.903/4.576/6.249/1.673 ms')
2025-03-27 01:10:22,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58699940-48014670 passed
2025-03-27 01:10:22,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 01:10:22,677 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58699940-48014670, IP 176.77.85.3, Port 22
2025-03-27 01:10:22,742 - 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-27 01:10:22,873 - DEBUG - VM ctest-TestRoutersBasic-58699940-48014670 is NOT ready for SSH connections, VM status: ACTIVE
2025-03-27 01:10:27,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 01:10:27,874 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58699940-48014670, IP 176.77.85.3, Port 22
2025-03-27 01:10:27,947 - 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-27 01:10:28,047 - DEBUG - VM ctest-TestRoutersBasic-58699940-48014670 is NOT ready for SSH connections, VM status: ACTIVE
2025-03-27 01:10:33,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 01:10:33,049 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58699940-48014670, IP 176.77.85.3, Port 22
2025-03-27 01:10:33,222 - DEBUG - VM ctest-TestRoutersBasic-58699940-48014670 is ready for SSH connections
2025-03-27 01:10:33,222 - INFO - Waiting for VM ctest-TestRoutersBasic-58699940-68953933 to be up..
2025-03-27 01:10:33,324 - DEBUG - VM is in ACTIVE state now
2025-03-27 01:10:33,324 - INFO - VM name : ctest-TestRoutersBasic-58699940-68953933
2025-03-27 01:10:33,423 - DEBUG - VM ctest-TestRoutersBasic-58699940-68953933 ID is f368b4b5-ffb2-4b97-8304-084c74068048
2025-03-27 01:10:33,423 - DEBUG - VM ctest-TestRoutersBasic-58699940-68953933 launched on Node cn-jenkins-deploy-platform-ansible-os-2963-1
2025-03-27 01:10:33,518 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/f368b4b5-ffb2-4b97-8304-084c74068048
2025-03-27 01:10:33,529 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/452f0f2d-d40e-4a2d-ad93-5c74cf0c3a19
2025-03-27 01:10:34,802 - 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=4.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/2.246/3.999/1.752 ms')
2025-03-27 01:10:34,802 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58699940-68953933 passed
2025-03-27 01:10:34,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 01:10:34,968 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58699940-68953933, IP 4.225.54.131, Port 22
2025-03-27 01:10:35,128 - DEBUG - VM ctest-TestRoutersBasic-58699940-68953933 is ready for SSH connections
2025-03-27 01:10:35,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 01:10:35,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.225.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2025-03-27 01:10:35,128 - DEBUG - ping -s 56 -c 3 -W 1 4.225.54.131
2025-03-27 01:10:39,285 - DEBUG - PING 4.225.54.131 (4.225.54.131): 56 data bytes
64 bytes from 4.225.54.131: seq=0 ttl=62 time=5.088 ms
64 bytes from 4.225.54.131: seq=1 ttl=62 time=1.128 ms
64 bytes from 4.225.54.131: seq=2 ttl=62 time=1.194 ms
--- 4.225.54.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.128/2.470/5.088 ms
2025-03-27 01:10:39,285 - INFO - Ping to IP 4.225.54.131 from VM ctest-TestRoutersBasic-58699940-48014670 passed
2025-03-27 01:10:39,285 - INFO - Deleting interface with subnet_id c72ab108-d96f-4859-a114-a2f60d203ed1, port_id None from router 92e952d3-7441-4c51-b533-d894aa7786ef
2025-03-27 01:10:39,573 - INFO - Deleting VM ctest-TestRoutersBasic-58699940-68953933
2025-03-27 01:10:39,658 - INFO - Deleting VM ctest-TestRoutersBasic-58699940-48014670
2025-03-27 01:10:39,746 - INFO - Deleting VN ctest-ext_vn-32073713
2025-03-27 01:10:39,843 - DEBUG - VN 83e95c9e-58ca-408c-9195-7deba1e23366 still in use: Unable to complete operation on network 83e95c9e-58ca-408c-9195-7deba1e23366. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-45a123c3-7c0e-4ba4-81ae-fda2c80a4856']
2025-03-27 01:10:39,843 - WARNING - Deleting VN ctest-ext_vn-32073713 failed..Will retry
2025-03-27 01:10:42,001 - DEBUG - Response for deleting network ()
2025-03-27 01:10:42,001 - INFO - Deleting VN ctest-vn-91363243
2025-03-27 01:10:42,143 - DEBUG - Response for deleting network ()
2025-03-27 01:10:42,403 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 01:10:42,403 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:37]
2025-03-27 01:10:42,403 - INFO - --------------------------------------------------------------------------------
2025-03-27 01:10:43,151 - INFO - Deleted project: ctest-TestRoutersBasic-58699940, ID : 3ff6239c-b633-4b00-a08a-b8dbc5817be2