2025-07-21 14:21:13,641 - INFO - Domain Default found not creating
2025-07-21 14:21:14,076 - INFO - Project ctest-TestRoutersBasic-94938471 not found, creating it
2025-07-21 14:21:14,834 - INFO - Created Project:ctest-TestRoutersBasic-94938471, ID : 8d8fde8d-328d-4700-b74d-afaef3d0d2b3
2025-07-21 14:21:17,097 - INFO - ================================================================================
2025-07-21 14:21:17,098 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-21 14:21:17,098 - 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-07-21 14:21:17,422 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-07-21 14:21:17,422 - INFO - Initial checks done. Running the testcase now
2025-07-21 14:21:17,422 - INFO -
2025-07-21 14:21:18,451 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94938471
2025-07-21 14:21:18,571 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94938471
2025-07-21 14:21:19,019 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94938471', 'default']}
2025-07-21 14:21:19,463 - DEBUG - Response for create_network : {'network': {'id': 'cedd5f33-c2d3-423e-bdad-931813e751bb', 'name': 'ctest-vn-38985508', 'tenant_id': '8d8fde8d328d4700b74dafaef3d0d2b3', 'project_id': '8d8fde8d328d4700b74dafaef3d0d2b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94938471', 'ctest-vn-38985508'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 14:21:19,662 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6a795bb-c9d6-4ca4-a3be-42d65ae551c5', 'name': '', 'tenant_id': '8d8fde8d328d4700b74dafaef3d0d2b3', 'network_id': 'cedd5f33-c2d3-423e-bdad-931813e751bb', 'ip_version': 4, 'cidr': '223.68.106.128/26', 'allocation_pools': [{'start': '223.68.106.130', 'end': '223.68.106.190'}], 'gateway_ip': '223.68.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.68.106.130', 'tags': [], 'project_id': '8d8fde8d328d4700b74dafaef3d0d2b3'}}
2025-07-21 14:21:19,682 - INFO - Created VN ctest-vn-38985508
2025-07-21 14:21:19,735 - DEBUG - VN ctest-vn-38985508 UUID is cedd5f33-c2d3-423e-bdad-931813e751bb
2025-07-21 14:21:20,177 - DEBUG - Response for create_network : {'network': {'id': 'c512a814-73bf-4c4c-a94a-cfed340ad9d7', 'name': 'ctest-ext_vn-04819784', 'tenant_id': '8d8fde8d328d4700b74dafaef3d0d2b3', 'project_id': '8d8fde8d328d4700b74dafaef3d0d2b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94938471', 'ctest-ext_vn-04819784'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 14:21:20,367 - DEBUG - Response for create_subnet : {'subnet': {'id': '1540b818-15a4-4831-abe7-6684effb917d', 'name': '', 'tenant_id': '8d8fde8d328d4700b74dafaef3d0d2b3', 'network_id': 'c512a814-73bf-4c4c-a94a-cfed340ad9d7', 'ip_version': 4, 'cidr': '89.41.128.128/26', 'allocation_pools': [{'start': '89.41.128.130', 'end': '89.41.128.190'}], 'gateway_ip': '89.41.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.41.128.130', 'tags': [], 'project_id': '8d8fde8d328d4700b74dafaef3d0d2b3'}}
2025-07-21 14:21:20,394 - INFO - Created VN ctest-ext_vn-04819784
2025-07-21 14:21:20,455 - DEBUG - VN ctest-ext_vn-04819784 UUID is c512a814-73bf-4c4c-a94a-cfed340ad9d7
2025-07-21 14:21:20,794 - DEBUG - Services list from nova: [, , ]
2025-07-21 14:21:22,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3681-1)
2025-07-21 14:21:24,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3681-1)
2025-07-21 14:21:24,278 - INFO - Setting gateway for router bbf203b0-2e91-44a9-8870-011d74a3813f to network c512a814-73bf-4c4c-a94a-cfed340ad9d7
2025-07-21 14:21:24,371 - INFO - Adding interface with subnet_id d6a795bb-c9d6-4ca4-a3be-42d65ae551c5, port_id None to router bbf203b0-2e91-44a9-8870-011d74a3813f
2025-07-21 14:21:24,834 - INFO - Waiting for VM ctest-TestRoutersBasic-94938471-34231603 to be up..
2025-07-21 14:21:25,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-21 14:21:30,131 - DEBUG - VM is in ACTIVE state now
2025-07-21 14:21:30,131 - INFO - VM name : ctest-TestRoutersBasic-94938471-34231603
2025-07-21 14:21:30,262 - DEBUG - VM ctest-TestRoutersBasic-94938471-34231603 ID is 4f5f3ddb-54cc-4c79-bbef-a44bfa28c376
2025-07-21 14:21:30,286 - DEBUG - VM ctest-TestRoutersBasic-94938471-34231603 launched on Node cn-jenkins-deploy-platform-ansible-os-3681-1
2025-07-21 14:21:30,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f5f3ddb-54cc-4c79-bbef-a44bfa28c376
2025-07-21 14:21:30,717 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f5f3ddb-54cc-4c79-bbef-a44bfa28c376
2025-07-21 14:21:30,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/21abbc51-fb2c-4689-9590-593b403e9295
2025-07-21 14:21:34,085 - 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 1002ms')
2025-07-21 14:21:34,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94938471-34231603 failed!
2025-07-21 14:21:34,167 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94938471:ctest-vn-38985508 is 223.68.106.129 and allocation pool is NOT set
2025-07-21 14:21:36,255 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.25 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 = 3.245/3.491/3.737/0.246 ms')
2025-07-21 14:21:36,255 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94938471-34231603 passed
2025-07-21 14:21:36,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 14:21:36,439 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94938471-34231603, IP 223.68.106.131, Port 22
2025-07-21 14:21:36,617 - DEBUG - VM ctest-TestRoutersBasic-94938471-34231603 is ready for SSH connections
2025-07-21 14:21:36,618 - INFO - Waiting for VM ctest-TestRoutersBasic-94938471-52706649 to be up..
2025-07-21 14:21:36,725 - DEBUG - VM is in ACTIVE state now
2025-07-21 14:21:36,725 - INFO - VM name : ctest-TestRoutersBasic-94938471-52706649
2025-07-21 14:21:36,852 - DEBUG - VM ctest-TestRoutersBasic-94938471-52706649 ID is 05ee867e-c6f6-4835-961c-fb32dfb9f398
2025-07-21 14:21:36,852 - DEBUG - VM ctest-TestRoutersBasic-94938471-52706649 launched on Node cn-jenkins-deploy-platform-ansible-os-3681-1
2025-07-21 14:21:36,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/05ee867e-c6f6-4835-961c-fb32dfb9f398
2025-07-21 14:21:37,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/28209a90-1776-4639-b567-39f115e399ab
2025-07-21 14:21:38,331 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.932 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.932/3.370/5.808/2.438 ms')
2025-07-21 14:21:38,331 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94938471-52706649 passed
2025-07-21 14:21:38,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 14:21:38,528 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94938471-52706649, IP 89.41.128.131, Port 22
2025-07-21 14:21:38,739 - DEBUG - VM ctest-TestRoutersBasic-94938471-52706649 is ready for SSH connections
2025-07-21 14:21:38,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 14:21:38,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.41.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-07-21 14:21:38,740 - DEBUG - ping -s 56 -c 3 -W 1 89.41.128.131
2025-07-21 14:21:43,228 - DEBUG - PING 89.41.128.131 (89.41.128.131): 56 data bytes
64 bytes from 89.41.128.131: seq=0 ttl=62 time=13.191 ms
64 bytes from 89.41.128.131: seq=1 ttl=62 time=2.350 ms
64 bytes from 89.41.128.131: seq=2 ttl=62 time=2.212 ms
--- 89.41.128.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.212/5.917/13.191 ms
2025-07-21 14:21:43,228 - INFO - Ping to IP 89.41.128.131 from VM ctest-TestRoutersBasic-94938471-34231603 passed
2025-07-21 14:21:43,228 - INFO - Deleting interface with subnet_id d6a795bb-c9d6-4ca4-a3be-42d65ae551c5, port_id None from router bbf203b0-2e91-44a9-8870-011d74a3813f
2025-07-21 14:21:43,579 - INFO - Deleting VM ctest-TestRoutersBasic-94938471-52706649
2025-07-21 14:21:43,704 - INFO - Deleting VM ctest-TestRoutersBasic-94938471-34231603
2025-07-21 14:21:43,780 - INFO - Deleting VN ctest-ext_vn-04819784
2025-07-21 14:21:43,861 - DEBUG - VN c512a814-73bf-4c4c-a94a-cfed340ad9d7 still in use: Unable to complete operation on network c512a814-73bf-4c4c-a94a-cfed340ad9d7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-46bdfce4-1e04-4a56-b694-e7f6065c0f32']
2025-07-21 14:21:43,861 - WARNING - Deleting VN ctest-ext_vn-04819784 failed..Will retry
2025-07-21 14:21:46,089 - DEBUG - Response for deleting network ()
2025-07-21 14:21:46,089 - INFO - Deleting VN ctest-vn-38985508
2025-07-21 14:21:46,249 - DEBUG - Response for deleting network ()
2025-07-21 14:21:46,550 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 14:21:46,551 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-07-21 14:21:46,551 - INFO - --------------------------------------------------------------------------------
2025-07-21 14:21:47,536 - INFO - Deleted project: ctest-TestRoutersBasic-94938471, ID : 8d8fde8d-328d-4700-b74d-afaef3d0d2b3