2025-06-26 23:11:14,313 - INFO - Domain Default found not creating
2025-06-26 23:11:14,457 - INFO - Project ctest-TestRoutersBasic-22993588 not found, creating it
2025-06-26 23:11:14,931 - INFO - Created Project:ctest-TestRoutersBasic-22993588, ID : 605a1468-ab9e-4a60-a16a-b4c74f2305e3
2025-06-26 23:11:16,516 - INFO - ================================================================================
2025-06-26 23:11:16,516 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-26 23:11:16,516 - 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-06-26 23:11:16,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-26 23:11:16,772 - INFO - Initial checks done. Running the testcase now
2025-06-26 23:11:16,772 - INFO -
2025-06-26 23:11:17,563 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22993588
2025-06-26 23:11:17,664 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22993588
2025-06-26 23:11:18,028 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22993588', 'default']}
2025-06-26 23:11:18,327 - DEBUG - Response for create_network : {'network': {'id': '29466c25-3845-4477-a783-5b827084aa79', 'name': 'ctest-vn-07809043', 'tenant_id': '605a1468ab9e4a60a16ab4c74f2305e3', 'project_id': '605a1468ab9e4a60a16ab4c74f2305e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22993588', 'ctest-vn-07809043'], 'port_security_enabled': True, 'description': ''}}
2025-06-26 23:11:18,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbe74ae6-1772-4298-b992-2bb0ab0ff92d', 'name': '', 'tenant_id': '605a1468ab9e4a60a16ab4c74f2305e3', 'network_id': '29466c25-3845-4477-a783-5b827084aa79', 'ip_version': 4, 'cidr': '194.100.221.192/26', 'allocation_pools': [{'start': '194.100.221.194', 'end': '194.100.221.254'}], 'gateway_ip': '194.100.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.100.221.194', 'tags': [], 'project_id': '605a1468ab9e4a60a16ab4c74f2305e3'}}
2025-06-26 23:11:18,522 - INFO - Created VN ctest-vn-07809043
2025-06-26 23:11:18,577 - DEBUG - VN ctest-vn-07809043 UUID is 29466c25-3845-4477-a783-5b827084aa79
2025-06-26 23:11:18,912 - DEBUG - Response for create_network : {'network': {'id': 'ee3d0b9b-1bce-4f5d-8305-4a5408c0f416', 'name': 'ctest-ext_vn-67001827', 'tenant_id': '605a1468ab9e4a60a16ab4c74f2305e3', 'project_id': '605a1468ab9e4a60a16ab4c74f2305e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22993588', 'ctest-ext_vn-67001827'], 'port_security_enabled': True, 'description': ''}}
2025-06-26 23:11:19,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '755a6d30-6046-406b-9d65-dcec7b4e20d6', 'name': '', 'tenant_id': '605a1468ab9e4a60a16ab4c74f2305e3', 'network_id': 'ee3d0b9b-1bce-4f5d-8305-4a5408c0f416', 'ip_version': 4, 'cidr': '42.103.24.128/26', 'allocation_pools': [{'start': '42.103.24.130', 'end': '42.103.24.190'}], 'gateway_ip': '42.103.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.103.24.130', 'tags': [], 'project_id': '605a1468ab9e4a60a16ab4c74f2305e3'}}
2025-06-26 23:11:19,116 - INFO - Created VN ctest-ext_vn-67001827
2025-06-26 23:11:19,172 - DEBUG - VN ctest-ext_vn-67001827 UUID is ee3d0b9b-1bce-4f5d-8305-4a5408c0f416
2025-06-26 23:11:19,345 - DEBUG - Services list from nova: [, , ]
2025-06-26 23:11:20,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3563-1)
2025-06-26 23:11:21,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3563-1)
2025-06-26 23:11:21,785 - INFO - Setting gateway for router 1b2279ee-89a0-4631-9c4a-5e5690a50eb0 to network ee3d0b9b-1bce-4f5d-8305-4a5408c0f416
2025-06-26 23:11:21,870 - INFO - Adding interface with subnet_id dbe74ae6-1772-4298-b992-2bb0ab0ff92d, port_id None to router 1b2279ee-89a0-4631-9c4a-5e5690a50eb0
2025-06-26 23:11:22,392 - INFO - Waiting for VM ctest-TestRoutersBasic-22993588-90175768 to be up..
2025-06-26 23:11:22,563 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-26 23:11:27,651 - DEBUG - VM is in ACTIVE state now
2025-06-26 23:11:27,651 - INFO - VM name : ctest-TestRoutersBasic-22993588-90175768
2025-06-26 23:11:27,731 - DEBUG - VM ctest-TestRoutersBasic-22993588-90175768 ID is 0f1b797c-4195-47f0-bb21-d89a12cdb9da
2025-06-26 23:11:27,752 - DEBUG - VM ctest-TestRoutersBasic-22993588-90175768 launched on Node cn-jenkins-deploy-platform-ansible-os-3563-1
2025-06-26 23:11:27,831 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f1b797c-4195-47f0-bb21-d89a12cdb9da
2025-06-26 23:11:28,168 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f1b797c-4195-47f0-bb21-d89a12cdb9da
2025-06-26 23:11:28,214 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9b1e1a4a-621c-47e8-8dc3-da52f0d29ba0
2025-06-26 23:11:31,467 - 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-06-26 23:11:31,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22993588-90175768 failed!
2025-06-26 23:11:31,524 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22993588:ctest-vn-07809043 is 194.100.221.193 and allocation pool is NOT set
2025-06-26 23:11:33,587 - 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=4.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 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 = 1.637/3.073/4.509/1.436 ms')
2025-06-26 23:11:33,588 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22993588-90175768 passed
2025-06-26 23:11:33,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 23:11:33,744 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22993588-90175768, IP 194.100.221.195, Port 22
2025-06-26 23:11:33,904 - DEBUG - VM ctest-TestRoutersBasic-22993588-90175768 is ready for SSH connections
2025-06-26 23:11:33,904 - INFO - Waiting for VM ctest-TestRoutersBasic-22993588-08478172 to be up..
2025-06-26 23:11:33,987 - DEBUG - VM is in ACTIVE state now
2025-06-26 23:11:33,988 - INFO - VM name : ctest-TestRoutersBasic-22993588-08478172
2025-06-26 23:11:34,069 - DEBUG - VM ctest-TestRoutersBasic-22993588-08478172 ID is 04fc79fb-c65e-4f95-895b-5f5212fc65a0
2025-06-26 23:11:34,069 - DEBUG - VM ctest-TestRoutersBasic-22993588-08478172 launched on Node cn-jenkins-deploy-platform-ansible-os-3563-1
2025-06-26 23:11:34,150 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/04fc79fb-c65e-4f95-895b-5f5212fc65a0
2025-06-26 23:11:34,159 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/11c355ff-a8c1-48b1-a6da-90c3c13c9d7f
2025-06-26 23:11:35,401 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.807/3.216/1.409 ms')
2025-06-26 23:11:35,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22993588-08478172 passed
2025-06-26 23:11:35,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 23:11:35,557 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22993588-08478172, IP 42.103.24.131, Port 22
2025-06-26 23:11:35,711 - DEBUG - VM ctest-TestRoutersBasic-22993588-08478172 is ready for SSH connections
2025-06-26 23:11:35,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-26 23:11:35,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.103.24.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-26 23:11:35,712 - DEBUG - ping -s 56 -c 3 -W 1 42.103.24.131
2025-06-26 23:11:39,813 - DEBUG - PING 42.103.24.131 (42.103.24.131): 56 data bytes
64 bytes from 42.103.24.131: seq=0 ttl=62 time=5.102 ms
64 bytes from 42.103.24.131: seq=1 ttl=62 time=1.031 ms
64 bytes from 42.103.24.131: seq=2 ttl=62 time=0.876 ms
--- 42.103.24.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.876/2.336/5.102 ms
2025-06-26 23:11:39,813 - INFO - Ping to IP 42.103.24.131 from VM ctest-TestRoutersBasic-22993588-90175768 passed
2025-06-26 23:11:39,813 - INFO - Deleting interface with subnet_id dbe74ae6-1772-4298-b992-2bb0ab0ff92d, port_id None from router 1b2279ee-89a0-4631-9c4a-5e5690a50eb0
2025-06-26 23:11:40,032 - INFO - Deleting VM ctest-TestRoutersBasic-22993588-08478172
2025-06-26 23:11:40,115 - INFO - Deleting VM ctest-TestRoutersBasic-22993588-90175768
2025-06-26 23:11:40,210 - INFO - Deleting VN ctest-ext_vn-67001827
2025-06-26 23:11:40,297 - DEBUG - VN ee3d0b9b-1bce-4f5d-8305-4a5408c0f416 still in use: Unable to complete operation on network ee3d0b9b-1bce-4f5d-8305-4a5408c0f416. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d99d6910-047b-464c-bfaf-3f8dc47cdeba']
2025-06-26 23:11:40,297 - WARNING - Deleting VN ctest-ext_vn-67001827 failed..Will retry
2025-06-26 23:11:42,425 - DEBUG - Response for deleting network ()
2025-06-26 23:11:42,425 - INFO - Deleting VN ctest-vn-07809043
2025-06-26 23:11:42,538 - DEBUG - Response for deleting network ()
2025-06-26 23:11:42,798 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 23:11:42,799 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-26 23:11:42,799 - INFO - --------------------------------------------------------------------------------
2025-06-26 23:11:43,515 - INFO - Deleted project: ctest-TestRoutersBasic-22993588, ID : 605a1468-ab9e-4a60-a16a-b4c74f2305e3