2025-11-03 17:55:39,347 - INFO - Domain Default found not creating
2025-11-03 17:55:39,517 - INFO - Project ctest-TestRoutersBasic-66493590 not found, creating it
2025-11-03 17:55:40,041 - INFO - Created Project:ctest-TestRoutersBasic-66493590, ID : c3d674e2-b62f-4184-9220-2f3844c7b526
2025-11-03 17:55:41,613 - INFO - ================================================================================
2025-11-03 17:55:41,613 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-03 17:55:41,613 - 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-03 17:55:41,872 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-11-03 17:55:41,872 - INFO - Initial checks done. Running the testcase now
2025-11-03 17:55:41,872 - INFO -
2025-11-03 17:55:42,616 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66493590
2025-11-03 17:55:42,714 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66493590
2025-11-03 17:55:43,042 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66493590', 'default']}
2025-11-03 17:55:43,369 - DEBUG - Response for create_network : {'network': {'id': 'ef83a0f9-19bf-4475-83c0-ef329efd6aa9', 'name': 'ctest-vn-07371138', 'tenant_id': 'c3d674e2b62f418492202f3844c7b526', 'project_id': 'c3d674e2b62f418492202f3844c7b526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66493590', 'ctest-vn-07371138'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 17:55:43,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d7db869-aad3-4472-b117-340d9d19adf6', 'name': '', 'tenant_id': 'c3d674e2b62f418492202f3844c7b526', 'network_id': 'ef83a0f9-19bf-4475-83c0-ef329efd6aa9', 'ip_version': 4, 'cidr': '97.83.133.64/26', 'allocation_pools': [{'start': '97.83.133.66', 'end': '97.83.133.126'}], 'gateway_ip': '97.83.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.83.133.66', 'tags': [], 'project_id': 'c3d674e2b62f418492202f3844c7b526'}}
2025-11-03 17:55:43,586 - INFO - Created VN ctest-vn-07371138
2025-11-03 17:55:43,638 - DEBUG - VN ctest-vn-07371138 UUID is ef83a0f9-19bf-4475-83c0-ef329efd6aa9
2025-11-03 17:55:43,970 - DEBUG - Response for create_network : {'network': {'id': '7fe281f0-2124-4f4e-aab7-f40947b0ec15', 'name': 'ctest-ext_vn-09361660', 'tenant_id': 'c3d674e2b62f418492202f3844c7b526', 'project_id': 'c3d674e2b62f418492202f3844c7b526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66493590', 'ctest-ext_vn-09361660'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 17:55:44,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '566a850c-f2b6-40d5-a044-e0f9ff06db3b', 'name': '', 'tenant_id': 'c3d674e2b62f418492202f3844c7b526', 'network_id': '7fe281f0-2124-4f4e-aab7-f40947b0ec15', 'ip_version': 4, 'cidr': '72.190.253.64/26', 'allocation_pools': [{'start': '72.190.253.66', 'end': '72.190.253.126'}], 'gateway_ip': '72.190.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.190.253.66', 'tags': [], 'project_id': 'c3d674e2b62f418492202f3844c7b526'}}
2025-11-03 17:55:44,169 - INFO - Created VN ctest-ext_vn-09361660
2025-11-03 17:55:44,222 - DEBUG - VN ctest-ext_vn-09361660 UUID is 7fe281f0-2124-4f4e-aab7-f40947b0ec15
2025-11-03 17:55:44,404 - DEBUG - Services list from nova: [, , ]
2025-11-03 17:55:45,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4611-1)
2025-11-03 17:55:46,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4611-1)
2025-11-03 17:55:46,794 - INFO - Setting gateway for router 0ba597f0-24ad-428a-8983-88cf94baca06 to network 7fe281f0-2124-4f4e-aab7-f40947b0ec15
2025-11-03 17:55:46,891 - INFO - Adding interface with subnet_id 6d7db869-aad3-4472-b117-340d9d19adf6, port_id None to router 0ba597f0-24ad-428a-8983-88cf94baca06
2025-11-03 17:55:47,341 - INFO - Waiting for VM ctest-TestRoutersBasic-66493590-46053485 to be up..
2025-11-03 17:55:47,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-03 17:55:52,653 - DEBUG - VM is in ACTIVE state now
2025-11-03 17:55:52,653 - INFO - VM name : ctest-TestRoutersBasic-66493590-46053485
2025-11-03 17:55:52,744 - DEBUG - VM ctest-TestRoutersBasic-66493590-46053485 ID is ce582772-48f5-4587-bb17-5353f602fa52
2025-11-03 17:55:52,771 - DEBUG - VM ctest-TestRoutersBasic-66493590-46053485 launched on Node cn-jenkins-deploy-platform-ansible-os-4611-1
2025-11-03 17:55:52,881 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ce582772-48f5-4587-bb17-5353f602fa52
2025-11-03 17:55:53,200 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ce582772-48f5-4587-bb17-5353f602fa52
2025-11-03 17:55:53,239 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f3469d87-77e0-4b82-a3b3-ad3e12d32a34
2025-11-03 17:55:56,536 - 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 1031ms')
2025-11-03 17:55:56,536 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66493590-46053485 failed!
2025-11-03 17:55:56,590 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66493590:ctest-vn-07371138 is 97.83.133.65 and allocation pool is NOT set
2025-11-03 17:55:58,658 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.234/3.005/4.776/1.771 ms')
2025-11-03 17:55:58,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66493590-46053485 passed
2025-11-03 17:55:58,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 17:55:58,819 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66493590-46053485, IP 97.83.133.67, Port 22
2025-11-03 17:55:58,889 - 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-11-03 17:55:59,011 - DEBUG - VM ctest-TestRoutersBasic-66493590-46053485 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-03 17:56:04,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 17:56:04,012 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66493590-46053485, IP 97.83.133.67, Port 22
2025-11-03 17:56:04,173 - DEBUG - VM ctest-TestRoutersBasic-66493590-46053485 is ready for SSH connections
2025-11-03 17:56:04,173 - INFO - Waiting for VM ctest-TestRoutersBasic-66493590-13164491 to be up..
2025-11-03 17:56:04,263 - DEBUG - VM is in ACTIVE state now
2025-11-03 17:56:04,263 - INFO - VM name : ctest-TestRoutersBasic-66493590-13164491
2025-11-03 17:56:04,342 - DEBUG - VM ctest-TestRoutersBasic-66493590-13164491 ID is 13c06484-5ec2-4bd2-8f34-ec6fcb99976f
2025-11-03 17:56:04,343 - DEBUG - VM ctest-TestRoutersBasic-66493590-13164491 launched on Node cn-jenkins-deploy-platform-ansible-os-4611-1
2025-11-03 17:56:04,425 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/13c06484-5ec2-4bd2-8f34-ec6fcb99976f
2025-11-03 17:56:04,435 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/61fd9269-0277-44c9-8b64-ab77e0281c06
2025-11-03 17:56:05,687 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.739 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.739/1.944/3.150/1.205 ms')
2025-11-03 17:56:05,688 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66493590-13164491 passed
2025-11-03 17:56:05,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 17:56:05,842 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66493590-13164491, IP 72.190.253.67, Port 22
2025-11-03 17:56:06,008 - DEBUG - VM ctest-TestRoutersBasic-66493590-13164491 is ready for SSH connections
2025-11-03 17:56:06,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 17:56:06,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.190.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-03 17:56:06,009 - DEBUG - ping -s 56 -c 3 -W 1 72.190.253.67
2025-11-03 17:56:09,785 - DEBUG - PING 72.190.253.67 (72.190.253.67): 56 data bytes
64 bytes from 72.190.253.67: seq=0 ttl=62 time=6.773 ms
64 bytes from 72.190.253.67: seq=1 ttl=62 time=1.170 ms
64 bytes from 72.190.253.67: seq=2 ttl=62 time=1.500 ms
--- 72.190.253.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.170/3.147/6.773 ms
2025-11-03 17:56:09,785 - INFO - Ping to IP 72.190.253.67 from VM ctest-TestRoutersBasic-66493590-46053485 passed
2025-11-03 17:56:09,786 - INFO - Deleting interface with subnet_id 6d7db869-aad3-4472-b117-340d9d19adf6, port_id None from router 0ba597f0-24ad-428a-8983-88cf94baca06
2025-11-03 17:56:10,002 - INFO - Deleting VM ctest-TestRoutersBasic-66493590-13164491
2025-11-03 17:56:10,082 - INFO - Deleting VM ctest-TestRoutersBasic-66493590-46053485
2025-11-03 17:56:10,182 - INFO - Deleting VN ctest-ext_vn-09361660
2025-11-03 17:56:10,322 - DEBUG - VN 7fe281f0-2124-4f4e-aab7-f40947b0ec15 still in use: Unable to complete operation on network 7fe281f0-2124-4f4e-aab7-f40947b0ec15. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-21b37abf-0251-414b-a796-21a3987dfa39']
2025-11-03 17:56:10,322 - WARNING - Deleting VN ctest-ext_vn-09361660 failed..Will retry
2025-11-03 17:56:12,425 - DEBUG - Response for deleting network ()
2025-11-03 17:56:12,425 - INFO - Deleting VN ctest-vn-07371138
2025-11-03 17:56:12,533 - DEBUG - Response for deleting network ()
2025-11-03 17:56:12,788 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 17:56:12,788 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-11-03 17:56:12,788 - INFO - --------------------------------------------------------------------------------
2025-11-03 17:56:13,489 - INFO - Deleted project: ctest-TestRoutersBasic-66493590, ID : c3d674e2-b62f-4184-9220-2f3844c7b526