2025-12-04 13:45:27,375 - INFO - Domain Default found not creating
2025-12-04 13:45:27,631 - INFO - Project ctest-TestRoutersBasic-32249875 not found, creating it
2025-12-04 13:45:28,178 - INFO - Created Project:ctest-TestRoutersBasic-32249875, ID : 605f07db-bc51-48d9-b877-d4ed73e593b3
2025-12-04 13:45:29,981 - INFO - ================================================================================
2025-12-04 13:45:29,982 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-04 13:45:29,982 - 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-12-04 13:45:30,255 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-12-04 13:45:30,255 - INFO - Initial checks done. Running the testcase now
2025-12-04 13:45:30,255 - INFO -
2025-12-04 13:45:31,065 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32249875
2025-12-04 13:45:31,170 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32249875
2025-12-04 13:45:31,509 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32249875', 'default']}
2025-12-04 13:45:31,886 - DEBUG - Response for create_network : {'network': {'id': '67e45ad9-380d-488b-8f33-400fff9436e1', 'name': 'ctest-vn-23304363', 'tenant_id': '605f07dbbc5148d9b877d4ed73e593b3', 'project_id': '605f07dbbc5148d9b877d4ed73e593b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32249875', 'ctest-vn-23304363'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 13:45:32,102 - DEBUG - Response for create_subnet : {'subnet': {'id': '13a22933-d861-4fc9-9416-468400be7d3e', 'name': '', 'tenant_id': '605f07dbbc5148d9b877d4ed73e593b3', 'network_id': '67e45ad9-380d-488b-8f33-400fff9436e1', 'ip_version': 4, 'cidr': '57.140.67.64/26', 'allocation_pools': [{'start': '57.140.67.66', 'end': '57.140.67.126'}], 'gateway_ip': '57.140.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.140.67.66', 'tags': [], 'project_id': '605f07dbbc5148d9b877d4ed73e593b3'}}
2025-12-04 13:45:32,131 - INFO - Created VN ctest-vn-23304363
2025-12-04 13:45:32,186 - DEBUG - VN ctest-vn-23304363 UUID is 67e45ad9-380d-488b-8f33-400fff9436e1
2025-12-04 13:45:32,582 - DEBUG - Response for create_network : {'network': {'id': 'bfdb4e55-d3e6-494e-b1a6-b863b64a8b6d', 'name': 'ctest-ext_vn-90850240', 'tenant_id': '605f07dbbc5148d9b877d4ed73e593b3', 'project_id': '605f07dbbc5148d9b877d4ed73e593b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32249875', 'ctest-ext_vn-90850240'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 13:45:32,779 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eba846c7-ccb9-4176-9449-8512248edd5f', 'name': '', 'tenant_id': '605f07dbbc5148d9b877d4ed73e593b3', 'network_id': 'bfdb4e55-d3e6-494e-b1a6-b863b64a8b6d', 'ip_version': 4, 'cidr': '16.126.55.0/26', 'allocation_pools': [{'start': '16.126.55.2', 'end': '16.126.55.62'}], 'gateway_ip': '16.126.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.126.55.2', 'tags': [], 'project_id': '605f07dbbc5148d9b877d4ed73e593b3'}}
2025-12-04 13:45:32,808 - INFO - Created VN ctest-ext_vn-90850240
2025-12-04 13:45:32,862 - DEBUG - VN ctest-ext_vn-90850240 UUID is bfdb4e55-d3e6-494e-b1a6-b863b64a8b6d
2025-12-04 13:45:33,079 - DEBUG - Services list from nova: [, , ]
2025-12-04 13:45:34,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4843-1)
2025-12-04 13:45:35,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4843-1)
2025-12-04 13:45:35,894 - INFO - Setting gateway for router b54d9ca1-dda9-4d97-9d6f-f9c6e4b4ad3d to network bfdb4e55-d3e6-494e-b1a6-b863b64a8b6d
2025-12-04 13:45:35,965 - INFO - Adding interface with subnet_id 13a22933-d861-4fc9-9416-468400be7d3e, port_id None to router b54d9ca1-dda9-4d97-9d6f-f9c6e4b4ad3d
2025-12-04 13:45:36,396 - INFO - Waiting for VM ctest-TestRoutersBasic-32249875-07574754 to be up..
2025-12-04 13:45:36,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-04 13:45:41,706 - DEBUG - VM is in ACTIVE state now
2025-12-04 13:45:41,706 - INFO - VM name : ctest-TestRoutersBasic-32249875-07574754
2025-12-04 13:45:41,807 - DEBUG - VM ctest-TestRoutersBasic-32249875-07574754 ID is 30377be4-e8a9-4747-9cfe-876391d7e4a7
2025-12-04 13:45:41,832 - DEBUG - VM ctest-TestRoutersBasic-32249875-07574754 launched on Node cn-jenkins-deploy-platform-ansible-os-4843-1
2025-12-04 13:45:41,950 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/30377be4-e8a9-4747-9cfe-876391d7e4a7
2025-12-04 13:45:42,282 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/30377be4-e8a9-4747-9cfe-876391d7e4a7
2025-12-04 13:45:42,324 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b7cc1576-423b-46b8-8935-de7deffa83b6
2025-12-04 13:45:45,600 - 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 1015ms')
2025-12-04 13:45:45,600 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32249875-07574754 failed!
2025-12-04 13:45:45,658 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32249875:ctest-vn-23304363 is 57.140.67.65 and allocation pool is NOT set
2025-12-04 13:45:47,730 - 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=5.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.040/3.935/5.830/1.895 ms')
2025-12-04 13:45:47,730 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32249875-07574754 passed
2025-12-04 13:45:47,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:47,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32249875-07574754, IP 57.140.67.67, Port 22
2025-12-04 13:45:47,916 - 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-12-04 13:45:48,027 - DEBUG - VM ctest-TestRoutersBasic-32249875-07574754 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 13:45:53,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:53,028 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32249875-07574754, IP 57.140.67.67, Port 22
2025-12-04 13:45:53,201 - DEBUG - VM ctest-TestRoutersBasic-32249875-07574754 is ready for SSH connections
2025-12-04 13:45:53,201 - INFO - Waiting for VM ctest-TestRoutersBasic-32249875-81133421 to be up..
2025-12-04 13:45:53,306 - DEBUG - VM is in ACTIVE state now
2025-12-04 13:45:53,306 - INFO - VM name : ctest-TestRoutersBasic-32249875-81133421
2025-12-04 13:45:53,415 - DEBUG - VM ctest-TestRoutersBasic-32249875-81133421 ID is 8be4c843-0820-4735-b57d-e50bd296e902
2025-12-04 13:45:53,415 - DEBUG - VM ctest-TestRoutersBasic-32249875-81133421 launched on Node cn-jenkins-deploy-platform-ansible-os-4843-1
2025-12-04 13:45:53,535 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8be4c843-0820-4735-b57d-e50bd296e902
2025-12-04 13:45:53,548 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6122b0b1-d481-40ed-90b4-e5e49636d6ac
2025-12-04 13:45:54,818 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.806 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.806/2.838/4.871/2.032 ms')
2025-12-04 13:45:54,818 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32249875-81133421 passed
2025-12-04 13:45:54,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:54,990 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32249875-81133421, IP 16.126.55.3, Port 22
2025-12-04 13:45:55,165 - DEBUG - VM ctest-TestRoutersBasic-32249875-81133421 is ready for SSH connections
2025-12-04 13:45:55,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 13:45:55,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.126.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-04 13:45:55,165 - DEBUG - ping -s 56 -c 3 -W 1 16.126.55.3
2025-12-04 13:45:58,973 - DEBUG - PING 16.126.55.3 (16.126.55.3): 56 data bytes
64 bytes from 16.126.55.3: seq=0 ttl=62 time=6.874 ms
64 bytes from 16.126.55.3: seq=1 ttl=62 time=1.341 ms
64 bytes from 16.126.55.3: seq=2 ttl=62 time=1.274 ms
--- 16.126.55.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.274/3.163/6.874 ms
2025-12-04 13:45:58,974 - INFO - Ping to IP 16.126.55.3 from VM ctest-TestRoutersBasic-32249875-07574754 passed
2025-12-04 13:45:58,974 - INFO - Deleting interface with subnet_id 13a22933-d861-4fc9-9416-468400be7d3e, port_id None from router b54d9ca1-dda9-4d97-9d6f-f9c6e4b4ad3d
2025-12-04 13:45:59,302 - INFO - Deleting VM ctest-TestRoutersBasic-32249875-81133421
2025-12-04 13:45:59,430 - INFO - Deleting VM ctest-TestRoutersBasic-32249875-07574754
2025-12-04 13:45:59,532 - INFO - Deleting VN ctest-ext_vn-90850240
2025-12-04 13:45:59,635 - DEBUG - VN bfdb4e55-d3e6-494e-b1a6-b863b64a8b6d still in use: Unable to complete operation on network bfdb4e55-d3e6-494e-b1a6-b863b64a8b6d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-074bf2a0-2716-41ab-ac11-214fad4f7558']
2025-12-04 13:45:59,635 - WARNING - Deleting VN ctest-ext_vn-90850240 failed..Will retry
2025-12-04 13:46:01,770 - DEBUG - Response for deleting network ()
2025-12-04 13:46:01,770 - INFO - Deleting VN ctest-vn-23304363
2025-12-04 13:46:01,910 - DEBUG - Response for deleting network ()
2025-12-04 13:46:02,192 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 13:46:02,192 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2025-12-04 13:46:02,192 - INFO - --------------------------------------------------------------------------------
2025-12-04 13:46:02,981 - INFO - Deleted project: ctest-TestRoutersBasic-32249875, ID : 605f07db-bc51-48d9-b877-d4ed73e593b3