2025-04-24 02:05:24,927 - INFO - Domain Default found not creating
2025-04-24 02:05:25,055 - INFO - Project ctest-TestRoutersBasic-76187287 not found, creating it
2025-04-24 02:05:25,479 - INFO - Created Project:ctest-TestRoutersBasic-76187287, ID : dc4a680d-9b97-47d4-8469-68bba351f781
2025-04-24 02:05:26,794 - INFO - ================================================================================
2025-04-24 02:05:26,794 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-24 02:05:26,794 - 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-04-24 02:05:27,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-04-24 02:05:27,046 - INFO - Initial checks done. Running the testcase now
2025-04-24 02:05:27,046 - INFO -
2025-04-24 02:05:27,735 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76187287
2025-04-24 02:05:27,829 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76187287
2025-04-24 02:05:28,153 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76187287', 'default']}
2025-04-24 02:05:28,459 - DEBUG - Response for create_network : {'network': {'id': 'ef401100-14fe-4577-9115-aeb3df6fcdb6', 'name': 'ctest-vn-74072367', 'tenant_id': 'dc4a680d9b9747d4846968bba351f781', 'project_id': 'dc4a680d9b9747d4846968bba351f781', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76187287', 'ctest-vn-74072367'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 02:05:28,677 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f28dffeb-5c9c-4731-b9a0-dbfffec050a0', 'name': '', 'tenant_id': 'dc4a680d9b9747d4846968bba351f781', 'network_id': 'ef401100-14fe-4577-9115-aeb3df6fcdb6', 'ip_version': 4, 'cidr': '46.161.108.0/26', 'allocation_pools': [{'start': '46.161.108.2', 'end': '46.161.108.62'}], 'gateway_ip': '46.161.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.161.108.2', 'tags': [], 'project_id': 'dc4a680d9b9747d4846968bba351f781'}}
2025-04-24 02:05:28,694 - INFO - Created VN ctest-vn-74072367
2025-04-24 02:05:28,745 - DEBUG - VN ctest-vn-74072367 UUID is ef401100-14fe-4577-9115-aeb3df6fcdb6
2025-04-24 02:05:29,074 - DEBUG - Response for create_network : {'network': {'id': 'bd4cf6c7-8539-4633-854c-6c39d5393dd3', 'name': 'ctest-ext_vn-65800127', 'tenant_id': 'dc4a680d9b9747d4846968bba351f781', 'project_id': 'dc4a680d9b9747d4846968bba351f781', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76187287', 'ctest-ext_vn-65800127'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 02:05:29,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0a4c773-337d-4b10-9c8d-f9cb32e6e0ce', 'name': '', 'tenant_id': 'dc4a680d9b9747d4846968bba351f781', 'network_id': 'bd4cf6c7-8539-4633-854c-6c39d5393dd3', 'ip_version': 4, 'cidr': '121.178.24.64/26', 'allocation_pools': [{'start': '121.178.24.66', 'end': '121.178.24.126'}], 'gateway_ip': '121.178.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.178.24.66', 'tags': [], 'project_id': 'dc4a680d9b9747d4846968bba351f781'}}
2025-04-24 02:05:29,305 - INFO - Created VN ctest-ext_vn-65800127
2025-04-24 02:05:29,361 - DEBUG - VN ctest-ext_vn-65800127 UUID is bd4cf6c7-8539-4633-854c-6c39d5393dd3
2025-04-24 02:05:29,557 - DEBUG - Services list from nova: [, , ]
2025-04-24 02:05:30,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3196-1)
2025-04-24 02:05:31,613 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3196-1)
2025-04-24 02:05:31,690 - INFO - Setting gateway for router 17e4419f-2876-4988-bdd0-23002f879c0c to network bd4cf6c7-8539-4633-854c-6c39d5393dd3
2025-04-24 02:05:31,785 - INFO - Adding interface with subnet_id f28dffeb-5c9c-4731-b9a0-dbfffec050a0, port_id None to router 17e4419f-2876-4988-bdd0-23002f879c0c
2025-04-24 02:05:32,166 - INFO - Waiting for VM ctest-TestRoutersBasic-76187287-71229205 to be up..
2025-04-24 02:05:32,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-24 02:05:37,395 - DEBUG - VM is in ACTIVE state now
2025-04-24 02:05:37,395 - INFO - VM name : ctest-TestRoutersBasic-76187287-71229205
2025-04-24 02:05:37,460 - DEBUG - VM ctest-TestRoutersBasic-76187287-71229205 ID is 94111b50-ae56-4a24-ba89-953861b6f361
2025-04-24 02:05:37,476 - DEBUG - VM ctest-TestRoutersBasic-76187287-71229205 launched on Node cn-jenkins-deploy-platform-ansible-os-3196-1
2025-04-24 02:05:37,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/94111b50-ae56-4a24-ba89-953861b6f361
2025-04-24 02:05:37,829 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/94111b50-ae56-4a24-ba89-953861b6f361
2025-04-24 02:05:37,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/22b40b0c-364b-4888-9cfe-48c1552f60eb
2025-04-24 02:05:41,101 - 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 1003ms')
2025-04-24 02:05:41,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76187287-71229205 failed!
2025-04-24 02:05:41,153 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76187287:ctest-vn-74072367 is 46.161.108.1 and allocation pool is NOT set
2025-04-24 02:05:43,213 - 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=2.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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 = 0.417/1.532/2.648/1.115 ms')
2025-04-24 02:05:43,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76187287-71229205 passed
2025-04-24 02:05:43,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:05:43,361 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76187287-71229205, IP 46.161.108.3, Port 22
2025-04-24 02:05:43,512 - DEBUG - VM ctest-TestRoutersBasic-76187287-71229205 is ready for SSH connections
2025-04-24 02:05:43,512 - INFO - Waiting for VM ctest-TestRoutersBasic-76187287-91597203 to be up..
2025-04-24 02:05:43,582 - DEBUG - VM is in ACTIVE state now
2025-04-24 02:05:43,582 - INFO - VM name : ctest-TestRoutersBasic-76187287-91597203
2025-04-24 02:05:43,652 - DEBUG - VM ctest-TestRoutersBasic-76187287-91597203 ID is 6420facb-2bf6-4ea1-973c-682c4128bc49
2025-04-24 02:05:43,652 - DEBUG - VM ctest-TestRoutersBasic-76187287-91597203 launched on Node cn-jenkins-deploy-platform-ansible-os-3196-1
2025-04-24 02:05:43,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6420facb-2bf6-4ea1-973c-682c4128bc49
2025-04-24 02:05:43,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2a593d4e-37da-45e9-a99f-583572f6573a
2025-04-24 02:05:44,963 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 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.310/1.474/2.638/1.164 ms')
2025-04-24 02:05:44,963 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76187287-91597203 passed
2025-04-24 02:05:45,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:05:45,113 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76187287-91597203, IP 121.178.24.67, Port 22
2025-04-24 02:05:45,272 - DEBUG - VM ctest-TestRoutersBasic-76187287-91597203 is ready for SSH connections
2025-04-24 02:05:45,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:05:45,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.178.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-24 02:05:45,273 - DEBUG - ping -s 56 -c 3 -W 1 121.178.24.67
2025-04-24 02:05:48,932 - DEBUG - PING 121.178.24.67 (121.178.24.67): 56 data bytes
64 bytes from 121.178.24.67: seq=0 ttl=62 time=5.341 ms
64 bytes from 121.178.24.67: seq=1 ttl=62 time=0.711 ms
64 bytes from 121.178.24.67: seq=2 ttl=62 time=0.881 ms
--- 121.178.24.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.711/2.311/5.341 ms
2025-04-24 02:05:48,932 - INFO - Ping to IP 121.178.24.67 from VM ctest-TestRoutersBasic-76187287-71229205 passed
2025-04-24 02:05:48,932 - INFO - Deleting interface with subnet_id f28dffeb-5c9c-4731-b9a0-dbfffec050a0, port_id None from router 17e4419f-2876-4988-bdd0-23002f879c0c
2025-04-24 02:05:49,092 - INFO - Deleting VM ctest-TestRoutersBasic-76187287-91597203
2025-04-24 02:05:49,148 - INFO - Deleting VM ctest-TestRoutersBasic-76187287-71229205
2025-04-24 02:05:49,212 - INFO - Deleting VN ctest-ext_vn-65800127
2025-04-24 02:05:49,274 - DEBUG - VN bd4cf6c7-8539-4633-854c-6c39d5393dd3 still in use: Unable to complete operation on network bd4cf6c7-8539-4633-854c-6c39d5393dd3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fcf53c54-0e55-4ac8-871f-ef6121c69dce']
2025-04-24 02:05:49,274 - WARNING - Deleting VN ctest-ext_vn-65800127 failed..Will retry
2025-04-24 02:05:51,375 - DEBUG - Response for deleting network ()
2025-04-24 02:05:51,375 - INFO - Deleting VN ctest-vn-74072367
2025-04-24 02:05:51,471 - DEBUG - Response for deleting network ()
2025-04-24 02:05:51,731 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 02:05:51,732 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-24 02:05:51,732 - INFO - --------------------------------------------------------------------------------
2025-04-24 02:05:52,407 - INFO - Deleted project: ctest-TestRoutersBasic-76187287, ID : dc4a680d-9b97-47d4-8469-68bba351f781