2025-11-07 19:53:45,989 - INFO - Domain Default found not creating
2025-11-07 19:53:46,125 - INFO - Project ctest-TestRoutersBasic-64324525 not found, creating it
2025-11-07 19:53:46,566 - INFO - Created Project:ctest-TestRoutersBasic-64324525, ID : 1736b8e6-5fc1-4405-9f55-7fed8829bdaf
2025-11-07 19:53:48,064 - INFO - ================================================================================
2025-11-07 19:53:48,064 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-07 19:53:48,064 - 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-07 19:53:48,323 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-07 19:53:48,323 - INFO - Initial checks done. Running the testcase now
2025-11-07 19:53:48,323 - INFO -
2025-11-07 19:53:49,078 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64324525
2025-11-07 19:53:49,173 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64324525
2025-11-07 19:53:49,500 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64324525', 'default']}
2025-11-07 19:53:49,788 - DEBUG - Response for create_network : {'network': {'id': '4a2bc8b5-5cae-4d80-9ed8-af3e4fbb00bd', 'name': 'ctest-vn-48162552', 'tenant_id': '1736b8e65fc144059f557fed8829bdaf', 'project_id': '1736b8e65fc144059f557fed8829bdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64324525', 'ctest-vn-48162552'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 19:53:50,000 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2bfa5cd-de42-46d5-8f33-7bb4b6539ad4', 'name': '', 'tenant_id': '1736b8e65fc144059f557fed8829bdaf', 'network_id': '4a2bc8b5-5cae-4d80-9ed8-af3e4fbb00bd', 'ip_version': 4, 'cidr': '67.7.57.192/26', 'allocation_pools': [{'start': '67.7.57.194', 'end': '67.7.57.254'}], 'gateway_ip': '67.7.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.7.57.194', 'tags': [], 'project_id': '1736b8e65fc144059f557fed8829bdaf'}}
2025-11-07 19:53:50,019 - INFO - Created VN ctest-vn-48162552
2025-11-07 19:53:50,073 - DEBUG - VN ctest-vn-48162552 UUID is 4a2bc8b5-5cae-4d80-9ed8-af3e4fbb00bd
2025-11-07 19:53:50,464 - DEBUG - Response for create_network : {'network': {'id': 'ed9f312d-3ab0-43ac-89d7-4dc7e3851b35', 'name': 'ctest-ext_vn-83146332', 'tenant_id': '1736b8e65fc144059f557fed8829bdaf', 'project_id': '1736b8e65fc144059f557fed8829bdaf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64324525', 'ctest-ext_vn-83146332'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 19:53:50,669 - DEBUG - Response for create_subnet : {'subnet': {'id': '720b62ae-5663-445f-8fc7-874c68b09eb7', 'name': '', 'tenant_id': '1736b8e65fc144059f557fed8829bdaf', 'network_id': 'ed9f312d-3ab0-43ac-89d7-4dc7e3851b35', 'ip_version': 4, 'cidr': '50.132.47.128/26', 'allocation_pools': [{'start': '50.132.47.130', 'end': '50.132.47.190'}], 'gateway_ip': '50.132.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.132.47.130', 'tags': [], 'project_id': '1736b8e65fc144059f557fed8829bdaf'}}
2025-11-07 19:53:50,686 - INFO - Created VN ctest-ext_vn-83146332
2025-11-07 19:53:50,744 - DEBUG - VN ctest-ext_vn-83146332 UUID is ed9f312d-3ab0-43ac-89d7-4dc7e3851b35
2025-11-07 19:53:50,945 - DEBUG - Services list from nova: [, , ]
2025-11-07 19:53:52,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4671-1)
2025-11-07 19:53:53,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4671-1)
2025-11-07 19:53:53,485 - INFO - Setting gateway for router e3da9a90-2f1c-4e68-9040-5ae2086a50b2 to network ed9f312d-3ab0-43ac-89d7-4dc7e3851b35
2025-11-07 19:53:53,589 - INFO - Adding interface with subnet_id e2bfa5cd-de42-46d5-8f33-7bb4b6539ad4, port_id None to router e3da9a90-2f1c-4e68-9040-5ae2086a50b2
2025-11-07 19:53:54,013 - INFO - Waiting for VM ctest-TestRoutersBasic-64324525-58142804 to be up..
2025-11-07 19:53:54,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-07 19:53:59,246 - DEBUG - VM is in ACTIVE state now
2025-11-07 19:53:59,246 - INFO - VM name : ctest-TestRoutersBasic-64324525-58142804
2025-11-07 19:53:59,320 - DEBUG - VM ctest-TestRoutersBasic-64324525-58142804 ID is 31cd4bfb-0c16-4e76-8dcc-20439701e1f5
2025-11-07 19:53:59,340 - DEBUG - VM ctest-TestRoutersBasic-64324525-58142804 launched on Node cn-jenkins-deploy-platform-ansible-os-4671-1
2025-11-07 19:53:59,413 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/31cd4bfb-0c16-4e76-8dcc-20439701e1f5
2025-11-07 19:53:59,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/31cd4bfb-0c16-4e76-8dcc-20439701e1f5
2025-11-07 19:53:59,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5b929ef8-39ed-48d3-9765-de1aaa0baaeb
2025-11-07 19:54:03,026 - 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=8.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 8.746/8.746/8.746/0.000 ms')
2025-11-07 19:54:03,026 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64324525-58142804 passed
2025-11-07 19:54:03,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 19:54:03,177 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64324525-58142804, IP 67.7.57.195, Port 22
2025-11-07 19:54:03,242 - 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-07 19:54:03,327 - DEBUG - VM ctest-TestRoutersBasic-64324525-58142804 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-07 19:54:08,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 19:54:08,328 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64324525-58142804, IP 67.7.57.195, Port 22
2025-11-07 19:54:08,484 - DEBUG - VM ctest-TestRoutersBasic-64324525-58142804 is ready for SSH connections
2025-11-07 19:54:08,484 - INFO - Waiting for VM ctest-TestRoutersBasic-64324525-79912928 to be up..
2025-11-07 19:54:08,555 - DEBUG - VM is in ACTIVE state now
2025-11-07 19:54:08,555 - INFO - VM name : ctest-TestRoutersBasic-64324525-79912928
2025-11-07 19:54:08,634 - DEBUG - VM ctest-TestRoutersBasic-64324525-79912928 ID is c3c6b8c8-bc13-426b-b5ad-a5da07055125
2025-11-07 19:54:08,635 - DEBUG - VM ctest-TestRoutersBasic-64324525-79912928 launched on Node cn-jenkins-deploy-platform-ansible-os-4671-1
2025-11-07 19:54:08,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3c6b8c8-bc13-426b-b5ad-a5da07055125
2025-11-07 19:54:08,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6936c292-005d-406f-9837-d54c3ee235b9
2025-11-07 19:54:09,957 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.844/3.237/1.393 ms')
2025-11-07 19:54:09,957 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64324525-79912928 passed
2025-11-07 19:54:10,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 19:54:10,109 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64324525-79912928, IP 50.132.47.131, Port 22
2025-11-07 19:54:10,276 - DEBUG - VM ctest-TestRoutersBasic-64324525-79912928 is ready for SSH connections
2025-11-07 19:54:10,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 19:54:10,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.132.47.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-07 19:54:10,277 - DEBUG - ping -s 56 -c 3 -W 1 50.132.47.131
2025-11-07 19:54:13,923 - DEBUG - PING 50.132.47.131 (50.132.47.131): 56 data bytes
64 bytes from 50.132.47.131: seq=0 ttl=62 time=7.643 ms
64 bytes from 50.132.47.131: seq=1 ttl=62 time=1.370 ms
64 bytes from 50.132.47.131: seq=2 ttl=62 time=1.234 ms
--- 50.132.47.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.234/3.415/7.643 ms
2025-11-07 19:54:13,923 - INFO - Ping to IP 50.132.47.131 from VM ctest-TestRoutersBasic-64324525-58142804 passed
2025-11-07 19:54:13,923 - INFO - Deleting interface with subnet_id e2bfa5cd-de42-46d5-8f33-7bb4b6539ad4, port_id None from router e3da9a90-2f1c-4e68-9040-5ae2086a50b2
2025-11-07 19:54:14,112 - INFO - Deleting VM ctest-TestRoutersBasic-64324525-79912928
2025-11-07 19:54:14,190 - INFO - Deleting VM ctest-TestRoutersBasic-64324525-58142804
2025-11-07 19:54:14,295 - INFO - Deleting VN ctest-ext_vn-83146332
2025-11-07 19:54:14,394 - DEBUG - VN ed9f312d-3ab0-43ac-89d7-4dc7e3851b35 still in use: Unable to complete operation on network ed9f312d-3ab0-43ac-89d7-4dc7e3851b35. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bb13c4fd-6e12-49e8-be2e-b054a5d33066']
2025-11-07 19:54:14,394 - WARNING - Deleting VN ctest-ext_vn-83146332 failed..Will retry
2025-11-07 19:54:16,519 - DEBUG - Response for deleting network ()
2025-11-07 19:54:16,520 - INFO - Deleting VN ctest-vn-48162552
2025-11-07 19:54:16,612 - DEBUG - Response for deleting network ()
2025-11-07 19:54:16,870 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 19:54:16,870 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-11-07 19:54:16,870 - INFO - --------------------------------------------------------------------------------
2025-11-07 19:54:17,602 - INFO - Deleted project: ctest-TestRoutersBasic-64324525, ID : 1736b8e6-5fc1-4405-9f55-7fed8829bdaf