2025-11-14 10:08:32,049 - INFO - Domain Default found not creating
2025-11-14 10:08:32,401 - INFO - Project ctest-TestRoutersBasic-56860145 not found, creating it
2025-11-14 10:08:33,087 - INFO - Created Project:ctest-TestRoutersBasic-56860145, ID : 6085d2ce-60c1-4caf-8740-2890961b5ded
2025-11-14 10:08:34,958 - INFO - ================================================================================
2025-11-14 10:08:34,958 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-14 10:08:34,958 - 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-11-14 10:08:35,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-11-14 10:08:35,229 - INFO - Initial checks done. Running the testcase now
2025-11-14 10:08:35,229 - INFO -
2025-11-14 10:08:36,036 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56860145
2025-11-14 10:08:36,135 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56860145
2025-11-14 10:08:36,470 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56860145', 'default']}
2025-11-14 10:08:36,794 - DEBUG - Response for create_network : {'network': {'id': '73bc6c28-7106-4bdf-a30d-4c17c45ff3fb', 'name': 'ctest-vn-38458347', 'tenant_id': '6085d2ce60c14caf87402890961b5ded', 'project_id': '6085d2ce60c14caf87402890961b5ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56860145', 'ctest-vn-38458347'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 10:08:37,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ce7b5eb-89aa-48e8-95bd-9cbae8fb8513', 'name': '', 'tenant_id': '6085d2ce60c14caf87402890961b5ded', 'network_id': '73bc6c28-7106-4bdf-a30d-4c17c45ff3fb', 'ip_version': 4, 'cidr': '81.249.123.192/26', 'allocation_pools': [{'start': '81.249.123.194', 'end': '81.249.123.254'}], 'gateway_ip': '81.249.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.249.123.194', 'tags': [], 'project_id': '6085d2ce60c14caf87402890961b5ded'}}
2025-11-14 10:08:37,034 - INFO - Created VN ctest-vn-38458347
2025-11-14 10:08:37,090 - DEBUG - VN ctest-vn-38458347 UUID is 73bc6c28-7106-4bdf-a30d-4c17c45ff3fb
2025-11-14 10:08:37,465 - DEBUG - Response for create_network : {'network': {'id': 'b429aab8-52ae-47b5-97ae-0323754ad4ee', 'name': 'ctest-ext_vn-65571324', 'tenant_id': '6085d2ce60c14caf87402890961b5ded', 'project_id': '6085d2ce60c14caf87402890961b5ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56860145', 'ctest-ext_vn-65571324'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 10:08:37,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '87ccb1e4-5371-483a-99e3-9c90a5d8cfea', 'name': '', 'tenant_id': '6085d2ce60c14caf87402890961b5ded', 'network_id': 'b429aab8-52ae-47b5-97ae-0323754ad4ee', 'ip_version': 4, 'cidr': '189.72.125.128/26', 'allocation_pools': [{'start': '189.72.125.130', 'end': '189.72.125.190'}], 'gateway_ip': '189.72.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.72.125.130', 'tags': [], 'project_id': '6085d2ce60c14caf87402890961b5ded'}}
2025-11-14 10:08:37,648 - INFO - Created VN ctest-ext_vn-65571324
2025-11-14 10:08:37,698 - DEBUG - VN ctest-ext_vn-65571324 UUID is b429aab8-52ae-47b5-97ae-0323754ad4ee
2025-11-14 10:08:37,930 - DEBUG - Services list from nova: [, , ]
2025-11-14 10:08:39,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4729-1)
2025-11-14 10:08:40,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4729-1)
2025-11-14 10:08:40,507 - INFO - Setting gateway for router 30d276ff-344e-4e37-9944-fafc728eb09f to network b429aab8-52ae-47b5-97ae-0323754ad4ee
2025-11-14 10:08:40,582 - INFO - Adding interface with subnet_id 7ce7b5eb-89aa-48e8-95bd-9cbae8fb8513, port_id None to router 30d276ff-344e-4e37-9944-fafc728eb09f
2025-11-14 10:08:40,985 - INFO - Waiting for VM ctest-TestRoutersBasic-56860145-65063363 to be up..
2025-11-14 10:08:41,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-14 10:08:46,261 - DEBUG - VM is in ACTIVE state now
2025-11-14 10:08:46,261 - INFO - VM name : ctest-TestRoutersBasic-56860145-65063363
2025-11-14 10:08:46,401 - DEBUG - VM ctest-TestRoutersBasic-56860145-65063363 ID is 77da4033-513a-438a-9b61-30a4841f8858
2025-11-14 10:08:46,435 - DEBUG - VM ctest-TestRoutersBasic-56860145-65063363 launched on Node cn-jenkins-deploy-platform-ansible-os-4729-1
2025-11-14 10:08:46,557 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/77da4033-513a-438a-9b61-30a4841f8858
2025-11-14 10:08:46,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/77da4033-513a-438a-9b61-30a4841f8858
2025-11-14 10:08:46,949 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d990c3a6-34a3-4fa0-a425-191b10b57013
2025-11-14 10:08:50,239 - 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=2 ttl=63 time=11.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 11.868/11.868/11.868/0.000 ms')
2025-11-14 10:08:50,239 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56860145-65063363 passed
2025-11-14 10:08:50,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 10:08:50,419 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56860145-65063363, IP 81.249.123.195, Port 22
2025-11-14 10:08:50,614 - DEBUG - VM ctest-TestRoutersBasic-56860145-65063363 is ready for SSH connections
2025-11-14 10:08:50,614 - INFO - Waiting for VM ctest-TestRoutersBasic-56860145-13171637 to be up..
2025-11-14 10:08:50,779 - DEBUG - VM is in ACTIVE state now
2025-11-14 10:08:50,779 - INFO - VM name : ctest-TestRoutersBasic-56860145-13171637
2025-11-14 10:08:50,913 - DEBUG - VM ctest-TestRoutersBasic-56860145-13171637 ID is b36fabd2-2a7d-44f8-8791-8fb344097a3a
2025-11-14 10:08:50,913 - DEBUG - VM ctest-TestRoutersBasic-56860145-13171637 launched on Node cn-jenkins-deploy-platform-ansible-os-4729-1
2025-11-14 10:08:51,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b36fabd2-2a7d-44f8-8791-8fb344097a3a
2025-11-14 10:08:51,046 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1444443c-5f14-4b1a-a567-b5ca29fcb992
2025-11-14 10:08:52,348 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.57 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 = 3.567/3.593/3.619/0.026 ms')
2025-11-14 10:08:52,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56860145-13171637 passed
2025-11-14 10:08:52,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 10:08:52,524 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56860145-13171637, IP 189.72.125.131, Port 22
2025-11-14 10:08:52,604 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-14 10:08:52,779 - DEBUG - VM ctest-TestRoutersBasic-56860145-13171637 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-14 10:08:57,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 10:08:57,780 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56860145-13171637, IP 189.72.125.131, Port 22
2025-11-14 10:08:57,967 - DEBUG - VM ctest-TestRoutersBasic-56860145-13171637 is ready for SSH connections
2025-11-14 10:08:57,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 10:08:57,968 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.72.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-14 10:08:57,968 - DEBUG - ping -s 56 -c 3 -W 1 189.72.125.131
2025-11-14 10:09:02,032 - DEBUG - PING 189.72.125.131 (189.72.125.131): 56 data bytes
64 bytes from 189.72.125.131: seq=0 ttl=62 time=11.703 ms
64 bytes from 189.72.125.131: seq=1 ttl=62 time=5.151 ms
64 bytes from 189.72.125.131: seq=2 ttl=62 time=1.461 ms
--- 189.72.125.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.461/6.105/11.703 ms
2025-11-14 10:09:02,032 - INFO - Ping to IP 189.72.125.131 from VM ctest-TestRoutersBasic-56860145-65063363 passed
2025-11-14 10:09:02,032 - INFO - Deleting interface with subnet_id 7ce7b5eb-89aa-48e8-95bd-9cbae8fb8513, port_id None from router 30d276ff-344e-4e37-9944-fafc728eb09f
2025-11-14 10:09:02,256 - INFO - Deleting VM ctest-TestRoutersBasic-56860145-13171637
2025-11-14 10:09:02,335 - INFO - Deleting VM ctest-TestRoutersBasic-56860145-65063363
2025-11-14 10:09:02,420 - INFO - Deleting VN ctest-ext_vn-65571324
2025-11-14 10:09:02,492 - DEBUG - VN b429aab8-52ae-47b5-97ae-0323754ad4ee still in use: Unable to complete operation on network b429aab8-52ae-47b5-97ae-0323754ad4ee. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-65b5fc26-29c8-436c-a065-71d28db562d6']
2025-11-14 10:09:02,492 - WARNING - Deleting VN ctest-ext_vn-65571324 failed..Will retry
2025-11-14 10:09:04,690 - DEBUG - Response for deleting network ()
2025-11-14 10:09:04,690 - INFO - Deleting VN ctest-vn-38458347
2025-11-14 10:09:04,848 - DEBUG - Response for deleting network ()
2025-11-14 10:09:05,133 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 10:09:05,133 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-11-14 10:09:05,133 - INFO - --------------------------------------------------------------------------------
2025-11-14 10:09:06,008 - INFO - Deleted project: ctest-TestRoutersBasic-56860145, ID : 6085d2ce-60c1-4caf-8740-2890961b5ded