2025-10-23 01:45:52,878 - INFO - Domain Default found not creating
2025-10-23 01:45:53,296 - INFO - Project ctest-TestRoutersBasic-95805171 not found, creating it
2025-10-23 01:45:54,039 - INFO - Created Project:ctest-TestRoutersBasic-95805171, ID : 2b0f11eb-e450-4f33-bede-c9a62fdcd039
2025-10-23 01:45:55,410 - INFO - ================================================================================
2025-10-23 01:45:55,410 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-23 01:45:55,410 - 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-23 01:45:55,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-10-23 01:45:55,657 - INFO - Initial checks done. Running the testcase now
2025-10-23 01:45:55,658 - INFO -
2025-10-23 01:45:56,359 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95805171
2025-10-23 01:45:56,453 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95805171
2025-10-23 01:45:56,773 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95805171', 'default']}
2025-10-23 01:45:57,054 - DEBUG - Response for create_network : {'network': {'id': 'ff579ea5-fe9c-47d3-a8ef-5b663dc7ae03', 'name': 'ctest-vn-11962781', 'tenant_id': '2b0f11ebe4504f33bedec9a62fdcd039', 'project_id': '2b0f11ebe4504f33bedec9a62fdcd039', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95805171', 'ctest-vn-11962781'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 01:45:57,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c75aa9b-a5d7-4673-aecd-1b1b83e9544c', 'name': '', 'tenant_id': '2b0f11ebe4504f33bedec9a62fdcd039', 'network_id': 'ff579ea5-fe9c-47d3-a8ef-5b663dc7ae03', 'ip_version': 4, 'cidr': '134.156.140.0/26', 'allocation_pools': [{'start': '134.156.140.2', 'end': '134.156.140.62'}], 'gateway_ip': '134.156.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.156.140.2', 'tags': [], 'project_id': '2b0f11ebe4504f33bedec9a62fdcd039'}}
2025-10-23 01:45:57,271 - INFO - Created VN ctest-vn-11962781
2025-10-23 01:45:57,321 - DEBUG - VN ctest-vn-11962781 UUID is ff579ea5-fe9c-47d3-a8ef-5b663dc7ae03
2025-10-23 01:45:57,655 - DEBUG - Response for create_network : {'network': {'id': '655e97fe-31f1-4516-b39a-7f2b9c7e4e69', 'name': 'ctest-ext_vn-29802180', 'tenant_id': '2b0f11ebe4504f33bedec9a62fdcd039', 'project_id': '2b0f11ebe4504f33bedec9a62fdcd039', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95805171', 'ctest-ext_vn-29802180'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 01:45:57,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '07c39b74-ddc1-42b3-b5e2-5463a4ec78b4', 'name': '', 'tenant_id': '2b0f11ebe4504f33bedec9a62fdcd039', 'network_id': '655e97fe-31f1-4516-b39a-7f2b9c7e4e69', 'ip_version': 4, 'cidr': '188.186.19.64/26', 'allocation_pools': [{'start': '188.186.19.66', 'end': '188.186.19.126'}], 'gateway_ip': '188.186.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.186.19.66', 'tags': [], 'project_id': '2b0f11ebe4504f33bedec9a62fdcd039'}}
2025-10-23 01:45:57,872 - INFO - Created VN ctest-ext_vn-29802180
2025-10-23 01:45:57,925 - DEBUG - VN ctest-ext_vn-29802180 UUID is 655e97fe-31f1-4516-b39a-7f2b9c7e4e69
2025-10-23 01:45:58,129 - DEBUG - Services list from nova: [, , ]
2025-10-23 01:45:59,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4447-1)
2025-10-23 01:46:00,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4447-1)
2025-10-23 01:46:00,244 - INFO - Setting gateway for router 582a3881-4367-4977-b7b6-c3535973d815 to network 655e97fe-31f1-4516-b39a-7f2b9c7e4e69
2025-10-23 01:46:00,324 - INFO - Adding interface with subnet_id 7c75aa9b-a5d7-4673-aecd-1b1b83e9544c, port_id None to router 582a3881-4367-4977-b7b6-c3535973d815
2025-10-23 01:46:00,745 - INFO - Waiting for VM ctest-TestRoutersBasic-95805171-72125333 to be up..
2025-10-23 01:46:00,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 01:46:05,948 - DEBUG - VM is in ACTIVE state now
2025-10-23 01:46:05,949 - INFO - VM name : ctest-TestRoutersBasic-95805171-72125333
2025-10-23 01:46:06,016 - DEBUG - VM ctest-TestRoutersBasic-95805171-72125333 ID is 4e9f9e0b-e3c4-4796-b9f8-2e2ae64ad7b5
2025-10-23 01:46:06,033 - DEBUG - VM ctest-TestRoutersBasic-95805171-72125333 launched on Node cn-jenkins-deploy-platform-ansible-os-4447-1
2025-10-23 01:46:06,103 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4e9f9e0b-e3c4-4796-b9f8-2e2ae64ad7b5
2025-10-23 01:46:06,410 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4e9f9e0b-e3c4-4796-b9f8-2e2ae64ad7b5
2025-10-23 01:46:06,437 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5503b593-4c22-4770-84c9-8a817f4e932a
2025-10-23 01:46:09,666 - 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 1003ms')
2025-10-23 01:46:09,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95805171-72125333 failed!
2025-10-23 01:46:09,721 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95805171:ctest-vn-11962781 is 134.156.140.1 and allocation pool is NOT set
2025-10-23 01:46:11,787 - 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=3.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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 = 0.475/1.741/3.007/1.266 ms')
2025-10-23 01:46:11,787 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95805171-72125333 passed
2025-10-23 01:46:11,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:46:11,937 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95805171-72125333, IP 134.156.140.3, Port 22
2025-10-23 01:46:12,088 - DEBUG - VM ctest-TestRoutersBasic-95805171-72125333 is ready for SSH connections
2025-10-23 01:46:12,089 - INFO - Waiting for VM ctest-TestRoutersBasic-95805171-32236489 to be up..
2025-10-23 01:46:12,156 - DEBUG - VM is in ACTIVE state now
2025-10-23 01:46:12,156 - INFO - VM name : ctest-TestRoutersBasic-95805171-32236489
2025-10-23 01:46:12,221 - DEBUG - VM ctest-TestRoutersBasic-95805171-32236489 ID is bd1edbd2-28bc-47f7-9d5b-8d5cbdc780e0
2025-10-23 01:46:12,221 - DEBUG - VM ctest-TestRoutersBasic-95805171-32236489 launched on Node cn-jenkins-deploy-platform-ansible-os-4447-1
2025-10-23 01:46:12,286 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/bd1edbd2-28bc-47f7-9d5b-8d5cbdc780e0
2025-10-23 01:46:12,293 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3482b02d-0b0d-4fef-aceb-f6943a123d1a
2025-10-23 01:46:13,526 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.63 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 = 1.632/3.327/5.023/1.695 ms')
2025-10-23 01:46:13,527 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95805171-32236489 passed
2025-10-23 01:46:13,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:46:13,673 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95805171-32236489, IP 188.186.19.67, Port 22
2025-10-23 01:46:13,728 - 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-23 01:46:13,808 - DEBUG - VM ctest-TestRoutersBasic-95805171-32236489 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-23 01:46:18,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:46:18,808 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95805171-32236489, IP 188.186.19.67, Port 22
2025-10-23 01:46:18,968 - DEBUG - VM ctest-TestRoutersBasic-95805171-32236489 is ready for SSH connections
2025-10-23 01:46:18,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:46:18,968 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.186.19.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-23 01:46:18,968 - DEBUG - ping -s 56 -c 3 -W 1 188.186.19.67
2025-10-23 01:46:22,647 - DEBUG - PING 188.186.19.67 (188.186.19.67): 56 data bytes
64 bytes from 188.186.19.67: seq=0 ttl=62 time=6.764 ms
64 bytes from 188.186.19.67: seq=1 ttl=62 time=0.761 ms
64 bytes from 188.186.19.67: seq=2 ttl=62 time=1.059 ms
--- 188.186.19.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.761/2.861/6.764 ms
2025-10-23 01:46:22,647 - INFO - Ping to IP 188.186.19.67 from VM ctest-TestRoutersBasic-95805171-72125333 passed
2025-10-23 01:46:22,647 - INFO - Deleting interface with subnet_id 7c75aa9b-a5d7-4673-aecd-1b1b83e9544c, port_id None from router 582a3881-4367-4977-b7b6-c3535973d815
2025-10-23 01:46:22,816 - INFO - Deleting VM ctest-TestRoutersBasic-95805171-32236489
2025-10-23 01:46:22,888 - INFO - Deleting VM ctest-TestRoutersBasic-95805171-72125333
2025-10-23 01:46:22,964 - INFO - Deleting VN ctest-ext_vn-29802180
2025-10-23 01:46:23,018 - DEBUG - VN 655e97fe-31f1-4516-b39a-7f2b9c7e4e69 still in use: Unable to complete operation on network 655e97fe-31f1-4516-b39a-7f2b9c7e4e69. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3450c243-7daa-4fa2-bf48-d659120f0aa4']
2025-10-23 01:46:23,019 - WARNING - Deleting VN ctest-ext_vn-29802180 failed..Will retry
2025-10-23 01:46:25,100 - DEBUG - Response for deleting network ()
2025-10-23 01:46:25,100 - INFO - Deleting VN ctest-vn-11962781
2025-10-23 01:46:25,183 - DEBUG - Response for deleting network ()
2025-10-23 01:46:25,437 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 01:46:25,437 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-10-23 01:46:25,437 - INFO - --------------------------------------------------------------------------------
2025-10-23 01:46:26,100 - INFO - Deleted project: ctest-TestRoutersBasic-95805171, ID : 2b0f11eb-e450-4f33-bede-c9a62fdcd039