2025-10-09 12:07:12,749 - INFO - Domain Default found not creating
2025-10-09 12:07:12,943 - INFO - Project ctest-TestRoutersBasic-32774443 not found, creating it
2025-10-09 12:07:13,497 - INFO - Created Project:ctest-TestRoutersBasic-32774443, ID : 22af59f2-9a34-48b3-8271-b1bd45e5d816
2025-10-09 12:07:16,043 - INFO - ================================================================================
2025-10-09 12:07:16,043 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-09 12:07:16,043 - 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-10-09 12:07:16,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-10-09 12:07:16,314 - INFO - Initial checks done. Running the testcase now
2025-10-09 12:07:16,314 - INFO -
2025-10-09 12:07:17,128 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32774443
2025-10-09 12:07:17,227 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32774443
2025-10-09 12:07:17,567 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32774443', 'default']}
2025-10-09 12:07:17,901 - DEBUG - Response for create_network : {'network': {'id': '0beb022e-4dfd-4483-89f1-9e8d3e605b86', 'name': 'ctest-vn-90326238', 'tenant_id': '22af59f29a3448b38271b1bd45e5d816', 'project_id': '22af59f29a3448b38271b1bd45e5d816', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32774443', 'ctest-vn-90326238'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 12:07:18,096 - DEBUG - Response for create_subnet : {'subnet': {'id': '49491f11-8d67-43c3-980f-57b9c5408957', 'name': '', 'tenant_id': '22af59f29a3448b38271b1bd45e5d816', 'network_id': '0beb022e-4dfd-4483-89f1-9e8d3e605b86', 'ip_version': 4, 'cidr': '176.145.206.128/26', 'allocation_pools': [{'start': '176.145.206.130', 'end': '176.145.206.190'}], 'gateway_ip': '176.145.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.145.206.130', 'tags': [], 'project_id': '22af59f29a3448b38271b1bd45e5d816'}}
2025-10-09 12:07:18,117 - INFO - Created VN ctest-vn-90326238
2025-10-09 12:07:18,171 - DEBUG - VN ctest-vn-90326238 UUID is 0beb022e-4dfd-4483-89f1-9e8d3e605b86
2025-10-09 12:07:18,534 - DEBUG - Response for create_network : {'network': {'id': '610dae91-060c-42f8-9f79-b8a02cf1e599', 'name': 'ctest-ext_vn-76122270', 'tenant_id': '22af59f29a3448b38271b1bd45e5d816', 'project_id': '22af59f29a3448b38271b1bd45e5d816', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32774443', 'ctest-ext_vn-76122270'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 12:07:18,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e908c9c1-9196-432c-94ef-6af138500d55', 'name': '', 'tenant_id': '22af59f29a3448b38271b1bd45e5d816', 'network_id': '610dae91-060c-42f8-9f79-b8a02cf1e599', 'ip_version': 4, 'cidr': '66.15.112.128/26', 'allocation_pools': [{'start': '66.15.112.130', 'end': '66.15.112.190'}], 'gateway_ip': '66.15.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.15.112.130', 'tags': [], 'project_id': '22af59f29a3448b38271b1bd45e5d816'}}
2025-10-09 12:07:18,781 - INFO - Created VN ctest-ext_vn-76122270
2025-10-09 12:07:18,839 - DEBUG - VN ctest-ext_vn-76122270 UUID is 610dae91-060c-42f8-9f79-b8a02cf1e599
2025-10-09 12:07:19,054 - DEBUG - Services list from nova: [, , ]
2025-10-09 12:07:20,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1)
2025-10-09 12:07:21,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1)
2025-10-09 12:07:21,747 - INFO - Setting gateway for router 4850f955-5f27-47a2-a336-974cfd690bff to network 610dae91-060c-42f8-9f79-b8a02cf1e599
2025-10-09 12:07:21,816 - INFO - Adding interface with subnet_id 49491f11-8d67-43c3-980f-57b9c5408957, port_id None to router 4850f955-5f27-47a2-a336-974cfd690bff
2025-10-09 12:07:22,271 - INFO - Waiting for VM ctest-TestRoutersBasic-32774443-70563522 to be up..
2025-10-09 12:07:22,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 12:07:27,578 - DEBUG - VM is in ACTIVE state now
2025-10-09 12:07:27,579 - INFO - VM name : ctest-TestRoutersBasic-32774443-70563522
2025-10-09 12:07:27,678 - DEBUG - VM ctest-TestRoutersBasic-32774443-70563522 ID is 086a03ba-80a7-4cf8-9767-2c29fdf97866
2025-10-09 12:07:27,702 - DEBUG - VM ctest-TestRoutersBasic-32774443-70563522 launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1
2025-10-09 12:07:27,788 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/086a03ba-80a7-4cf8-9767-2c29fdf97866
2025-10-09 12:07:28,100 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/086a03ba-80a7-4cf8-9767-2c29fdf97866
2025-10-09 12:07:28,145 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3a7ce80d-d42f-4042-9bd9-9084e5781bd3
2025-10-09 12:07:31,408 - 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 1019ms')
2025-10-09 12:07:31,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32774443-70563522 failed!
2025-10-09 12:07:31,468 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32774443:ctest-vn-90326238 is 176.145.206.129 and allocation pool is NOT set
2025-10-09 12:07:35,532 - 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=15.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 15.206/15.206/15.206/0.000 ms')
2025-10-09 12:07:35,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32774443-70563522 passed
2025-10-09 12:07:35,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:07:35,692 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32774443-70563522, IP 176.145.206.131, Port 22
2025-10-09 12:07:35,869 - DEBUG - VM ctest-TestRoutersBasic-32774443-70563522 is ready for SSH connections
2025-10-09 12:07:35,870 - INFO - Waiting for VM ctest-TestRoutersBasic-32774443-68722818 to be up..
2025-10-09 12:07:35,985 - DEBUG - VM is in ACTIVE state now
2025-10-09 12:07:35,985 - INFO - VM name : ctest-TestRoutersBasic-32774443-68722818
2025-10-09 12:07:36,092 - DEBUG - VM ctest-TestRoutersBasic-32774443-68722818 ID is 07f00638-d8ac-40b2-96ea-2bb39def7073
2025-10-09 12:07:36,092 - DEBUG - VM ctest-TestRoutersBasic-32774443-68722818 launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1
2025-10-09 12:07:36,194 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/07f00638-d8ac-40b2-96ea-2bb39def7073
2025-10-09 12:07:36,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8ca71981-c953-4975-b846-26ae4eaa1ff5
2025-10-09 12:07:37,473 - 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=5.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 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 = 1.235/3.537/5.840/2.302 ms')
2025-10-09 12:07:37,473 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32774443-68722818 passed
2025-10-09 12:07:37,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:07:37,636 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32774443-68722818, IP 66.15.112.131, Port 22
2025-10-09 12:07:37,705 - 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-10-09 12:07:37,824 - DEBUG - VM ctest-TestRoutersBasic-32774443-68722818 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 12:07:42,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:07:42,825 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32774443-68722818, IP 66.15.112.131, Port 22
2025-10-09 12:07:43,002 - DEBUG - VM ctest-TestRoutersBasic-32774443-68722818 is ready for SSH connections
2025-10-09 12:07:43,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 12:07:43,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.15.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-09 12:07:43,003 - DEBUG - ping -s 56 -c 3 -W 1 66.15.112.131
2025-10-09 12:07:46,863 - DEBUG - PING 66.15.112.131 (66.15.112.131): 56 data bytes
64 bytes from 66.15.112.131: seq=0 ttl=62 time=6.735 ms
64 bytes from 66.15.112.131: seq=1 ttl=62 time=1.108 ms
64 bytes from 66.15.112.131: seq=2 ttl=62 time=1.249 ms
--- 66.15.112.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.108/3.030/6.735 ms
2025-10-09 12:07:46,863 - INFO - Ping to IP 66.15.112.131 from VM ctest-TestRoutersBasic-32774443-70563522 passed
2025-10-09 12:07:46,863 - INFO - Deleting interface with subnet_id 49491f11-8d67-43c3-980f-57b9c5408957, port_id None from router 4850f955-5f27-47a2-a336-974cfd690bff
2025-10-09 12:07:47,151 - INFO - Deleting VM ctest-TestRoutersBasic-32774443-68722818
2025-10-09 12:07:47,252 - INFO - Deleting VM ctest-TestRoutersBasic-32774443-70563522
2025-10-09 12:07:47,361 - INFO - Deleting VN ctest-ext_vn-76122270
2025-10-09 12:07:47,458 - DEBUG - VN 610dae91-060c-42f8-9f79-b8a02cf1e599 still in use: Unable to complete operation on network 610dae91-060c-42f8-9f79-b8a02cf1e599. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ed6df90e-f7d4-470b-a9bd-df9dfa2ea7d7']
2025-10-09 12:07:47,458 - WARNING - Deleting VN ctest-ext_vn-76122270 failed..Will retry
2025-10-09 12:07:49,589 - DEBUG - Response for deleting network ()
2025-10-09 12:07:49,589 - INFO - Deleting VN ctest-vn-90326238
2025-10-09 12:07:49,733 - DEBUG - Response for deleting network ()
2025-10-09 12:07:50,006 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 12:07:50,007 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-10-09 12:07:50,007 - INFO - --------------------------------------------------------------------------------
2025-10-09 12:07:50,808 - INFO - Deleted project: ctest-TestRoutersBasic-32774443, ID : 22af59f2-9a34-48b3-8271-b1bd45e5d816