2025-08-20 13:38:26,871 - INFO - Domain Default found not creating
2025-08-20 13:38:26,996 - INFO - Project ctest-TestRoutersBasic-02780827 not found, creating it
2025-08-20 13:38:27,422 - INFO - Created Project:ctest-TestRoutersBasic-02780827, ID : d6d34610-dffd-4a76-86ad-4fa7f4e1b168
2025-08-20 13:38:28,767 - INFO - ================================================================================
2025-08-20 13:38:28,768 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-20 13:38:28,768 - 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-08-20 13:38:29,023 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2025-08-20 13:38:29,023 - INFO - Initial checks done. Running the testcase now
2025-08-20 13:38:29,023 - INFO -
2025-08-20 13:38:29,694 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02780827
2025-08-20 13:38:29,789 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02780827
2025-08-20 13:38:30,105 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02780827', 'default']}
2025-08-20 13:38:30,411 - DEBUG - Response for create_network : {'network': {'id': '99005116-c232-4f61-b815-1996a51716fd', 'name': 'ctest-vn-97379634', 'tenant_id': 'd6d34610dffd4a7686ad4fa7f4e1b168', 'project_id': 'd6d34610dffd4a7686ad4fa7f4e1b168', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02780827', 'ctest-vn-97379634'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 13:38:30,617 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad8ca830-3ae7-4583-988f-700347fdd547', 'name': '', 'tenant_id': 'd6d34610dffd4a7686ad4fa7f4e1b168', 'network_id': '99005116-c232-4f61-b815-1996a51716fd', 'ip_version': 4, 'cidr': '166.77.128.128/26', 'allocation_pools': [{'start': '166.77.128.130', 'end': '166.77.128.190'}], 'gateway_ip': '166.77.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.77.128.130', 'tags': [], 'project_id': 'd6d34610dffd4a7686ad4fa7f4e1b168'}}
2025-08-20 13:38:30,634 - INFO - Created VN ctest-vn-97379634
2025-08-20 13:38:30,685 - DEBUG - VN ctest-vn-97379634 UUID is 99005116-c232-4f61-b815-1996a51716fd
2025-08-20 13:38:31,014 - DEBUG - Response for create_network : {'network': {'id': '7537a5fe-a3ad-4729-b0a3-d56f2c45e5ac', 'name': 'ctest-ext_vn-18398271', 'tenant_id': 'd6d34610dffd4a7686ad4fa7f4e1b168', 'project_id': 'd6d34610dffd4a7686ad4fa7f4e1b168', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02780827', 'ctest-ext_vn-18398271'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 13:38:31,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '5878983a-86b0-4635-a59b-4bfd7d8d2586', 'name': '', 'tenant_id': 'd6d34610dffd4a7686ad4fa7f4e1b168', 'network_id': '7537a5fe-a3ad-4729-b0a3-d56f2c45e5ac', 'ip_version': 4, 'cidr': '215.23.75.192/26', 'allocation_pools': [{'start': '215.23.75.194', 'end': '215.23.75.254'}], 'gateway_ip': '215.23.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.23.75.194', 'tags': [], 'project_id': 'd6d34610dffd4a7686ad4fa7f4e1b168'}}
2025-08-20 13:38:31,233 - INFO - Created VN ctest-ext_vn-18398271
2025-08-20 13:38:31,289 - DEBUG - VN ctest-ext_vn-18398271 UUID is 7537a5fe-a3ad-4729-b0a3-d56f2c45e5ac
2025-08-20 13:38:31,474 - DEBUG - Services list from nova: [, , ]
2025-08-20 13:38:32,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1)
2025-08-20 13:38:33,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1)
2025-08-20 13:38:33,584 - INFO - Setting gateway for router ad7424ca-5ea0-4631-983c-bab43de7cf9e to network 7537a5fe-a3ad-4729-b0a3-d56f2c45e5ac
2025-08-20 13:38:33,645 - INFO - Adding interface with subnet_id ad8ca830-3ae7-4583-988f-700347fdd547, port_id None to router ad7424ca-5ea0-4631-983c-bab43de7cf9e
2025-08-20 13:38:33,950 - INFO - Waiting for VM ctest-TestRoutersBasic-02780827-66679468 to be up..
2025-08-20 13:38:34,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 13:38:39,141 - DEBUG - VM is in ACTIVE state now
2025-08-20 13:38:39,142 - INFO - VM name : ctest-TestRoutersBasic-02780827-66679468
2025-08-20 13:38:39,203 - DEBUG - VM ctest-TestRoutersBasic-02780827-66679468 ID is 16aa3869-4bd1-4c5c-b867-1bca661e101d
2025-08-20 13:38:39,221 - DEBUG - VM ctest-TestRoutersBasic-02780827-66679468 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1
2025-08-20 13:38:39,283 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/16aa3869-4bd1-4c5c-b867-1bca661e101d
2025-08-20 13:38:39,570 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/16aa3869-4bd1-4c5c-b867-1bca661e101d
2025-08-20 13:38:39,601 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5b8b065d-2709-4187-b808-35b2fd167416
2025-08-20 13:38:42,851 - 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 1008ms')
2025-08-20 13:38:42,851 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02780827-66679468 failed!
2025-08-20 13:38:42,905 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02780827:ctest-vn-97379634 is 166.77.128.129 and allocation pool is NOT set
2025-08-20 13:38:44,968 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.014/2.040/3.067/1.026 ms')
2025-08-20 13:38:44,968 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02780827-66679468 passed
2025-08-20 13:38:45,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:45,121 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02780827-66679468, IP 166.77.128.131, Port 22
2025-08-20 13:38:45,277 - DEBUG - VM ctest-TestRoutersBasic-02780827-66679468 is ready for SSH connections
2025-08-20 13:38:45,277 - INFO - Waiting for VM ctest-TestRoutersBasic-02780827-75867681 to be up..
2025-08-20 13:38:45,342 - DEBUG - VM is in ACTIVE state now
2025-08-20 13:38:45,343 - INFO - VM name : ctest-TestRoutersBasic-02780827-75867681
2025-08-20 13:38:45,407 - DEBUG - VM ctest-TestRoutersBasic-02780827-75867681 ID is 499c968b-fc4e-4d34-91c7-98dda29bccb3
2025-08-20 13:38:45,407 - DEBUG - VM ctest-TestRoutersBasic-02780827-75867681 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1
2025-08-20 13:38:45,476 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/499c968b-fc4e-4d34-91c7-98dda29bccb3
2025-08-20 13:38:45,483 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cffdcaf6-539d-4cba-b05a-9bb3e910f4e4
2025-08-20 13:38:46,716 - 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=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.340/1.494/2.649/1.154 ms')
2025-08-20 13:38:46,716 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02780827-75867681 passed
2025-08-20 13:38:46,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:46,869 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02780827-75867681, IP 215.23.75.195, Port 22
2025-08-20 13:38:47,028 - DEBUG - VM ctest-TestRoutersBasic-02780827-75867681 is ready for SSH connections
2025-08-20 13:38:47,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:38:47,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.23.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-20 13:38:47,029 - DEBUG - ping -s 56 -c 3 -W 1 215.23.75.195
2025-08-20 13:38:50,958 - DEBUG - PING 215.23.75.195 (215.23.75.195): 56 data bytes
64 bytes from 215.23.75.195: seq=0 ttl=62 time=6.961 ms
64 bytes from 215.23.75.195: seq=1 ttl=62 time=0.847 ms
64 bytes from 215.23.75.195: seq=2 ttl=62 time=0.807 ms
--- 215.23.75.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.807/2.871/6.961 ms
2025-08-20 13:38:50,958 - INFO - Ping to IP 215.23.75.195 from VM ctest-TestRoutersBasic-02780827-66679468 passed
2025-08-20 13:38:50,958 - INFO - Deleting interface with subnet_id ad8ca830-3ae7-4583-988f-700347fdd547, port_id None from router ad7424ca-5ea0-4631-983c-bab43de7cf9e
2025-08-20 13:38:51,124 - INFO - Deleting VM ctest-TestRoutersBasic-02780827-75867681
2025-08-20 13:38:51,181 - INFO - Deleting VM ctest-TestRoutersBasic-02780827-66679468
2025-08-20 13:38:51,247 - INFO - Deleting VN ctest-ext_vn-18398271
2025-08-20 13:38:51,314 - DEBUG - VN 7537a5fe-a3ad-4729-b0a3-d56f2c45e5ac still in use: Unable to complete operation on network 7537a5fe-a3ad-4729-b0a3-d56f2c45e5ac. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fb0c8e21-6532-4e3b-9678-0f1a8dfabf2b']
2025-08-20 13:38:51,314 - WARNING - Deleting VN ctest-ext_vn-18398271 failed..Will retry
2025-08-20 13:38:53,405 - DEBUG - Response for deleting network ()
2025-08-20 13:38:53,405 - INFO - Deleting VN ctest-vn-97379634
2025-08-20 13:38:53,492 - DEBUG - Response for deleting network ()
2025-08-20 13:38:53,746 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:38:53,746 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-20 13:38:53,746 - INFO - --------------------------------------------------------------------------------
2025-08-20 13:38:54,397 - INFO - Deleted project: ctest-TestRoutersBasic-02780827, ID : d6d34610-dffd-4a76-86ad-4fa7f4e1b168