2025-08-14 09:58:29,749 - INFO - Domain Default found not creating
2025-08-14 09:58:29,883 - INFO - Project ctest-TestRoutersBasic-25644395 not found, creating it
2025-08-14 09:58:30,338 - INFO - Created Project:ctest-TestRoutersBasic-25644395, ID : 32cb5401-ea57-4032-86cd-b36eadd0e1d4
2025-08-14 09:58:31,721 - INFO - ================================================================================
2025-08-14 09:58:31,721 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-14 09:58:31,721 - 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-14 09:58:31,981 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-14 09:58:31,981 - INFO - Initial checks done. Running the testcase now
2025-08-14 09:58:31,981 - INFO -
2025-08-14 09:58:32,673 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25644395
2025-08-14 09:58:32,771 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25644395
2025-08-14 09:58:33,099 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25644395', 'default']}
2025-08-14 09:58:33,484 - DEBUG - Response for create_network : {'network': {'id': 'a9659664-2039-42f6-90dd-9b6339835960', 'name': 'ctest-vn-35252948', 'tenant_id': '32cb5401ea57403286cdb36eadd0e1d4', 'project_id': '32cb5401ea57403286cdb36eadd0e1d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25644395', 'ctest-vn-35252948'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 09:58:33,645 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e188e91b-6a42-4700-8821-0674ae9be1a8', 'name': '', 'tenant_id': '32cb5401ea57403286cdb36eadd0e1d4', 'network_id': 'a9659664-2039-42f6-90dd-9b6339835960', 'ip_version': 4, 'cidr': '84.40.188.64/26', 'allocation_pools': [{'start': '84.40.188.66', 'end': '84.40.188.126'}], 'gateway_ip': '84.40.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.40.188.66', 'tags': [], 'project_id': '32cb5401ea57403286cdb36eadd0e1d4'}}
2025-08-14 09:58:33,663 - INFO - Created VN ctest-vn-35252948
2025-08-14 09:58:33,715 - DEBUG - VN ctest-vn-35252948 UUID is a9659664-2039-42f6-90dd-9b6339835960
2025-08-14 09:58:34,036 - DEBUG - Response for create_network : {'network': {'id': 'e05e7ffd-a762-43a4-bfe8-97d5f82fa5c4', 'name': 'ctest-ext_vn-77037759', 'tenant_id': '32cb5401ea57403286cdb36eadd0e1d4', 'project_id': '32cb5401ea57403286cdb36eadd0e1d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25644395', 'ctest-ext_vn-77037759'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 09:58:34,201 - DEBUG - Response for create_subnet : {'subnet': {'id': '4355b621-e6f4-4160-bc1d-d8c4ae13ee77', 'name': '', 'tenant_id': '32cb5401ea57403286cdb36eadd0e1d4', 'network_id': 'e05e7ffd-a762-43a4-bfe8-97d5f82fa5c4', 'ip_version': 4, 'cidr': '35.208.238.128/26', 'allocation_pools': [{'start': '35.208.238.130', 'end': '35.208.238.190'}], 'gateway_ip': '35.208.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.208.238.130', 'tags': [], 'project_id': '32cb5401ea57403286cdb36eadd0e1d4'}}
2025-08-14 09:58:34,217 - INFO - Created VN ctest-ext_vn-77037759
2025-08-14 09:58:34,271 - DEBUG - VN ctest-ext_vn-77037759 UUID is e05e7ffd-a762-43a4-bfe8-97d5f82fa5c4
2025-08-14 09:58:34,427 - DEBUG - Services list from nova: [, , ]
2025-08-14 09:58:35,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3853-1)
2025-08-14 09:58:36,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3853-1)
2025-08-14 09:58:36,596 - INFO - Setting gateway for router f3a44f6c-baaa-45a6-a18c-af6b9cbf9805 to network e05e7ffd-a762-43a4-bfe8-97d5f82fa5c4
2025-08-14 09:58:36,662 - INFO - Adding interface with subnet_id e188e91b-6a42-4700-8821-0674ae9be1a8, port_id None to router f3a44f6c-baaa-45a6-a18c-af6b9cbf9805
2025-08-14 09:58:37,038 - INFO - Waiting for VM ctest-TestRoutersBasic-25644395-73229902 to be up..
2025-08-14 09:58:37,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-14 09:58:42,252 - DEBUG - VM is in ACTIVE state now
2025-08-14 09:58:42,252 - INFO - VM name : ctest-TestRoutersBasic-25644395-73229902
2025-08-14 09:58:42,317 - DEBUG - VM ctest-TestRoutersBasic-25644395-73229902 ID is fb4705cd-c605-4c92-99fd-1ea1c307889e
2025-08-14 09:58:42,337 - DEBUG - VM ctest-TestRoutersBasic-25644395-73229902 launched on Node cn-jenkins-deploy-platform-ansible-os-3853-1
2025-08-14 09:58:42,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fb4705cd-c605-4c92-99fd-1ea1c307889e
2025-08-14 09:58:42,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fb4705cd-c605-4c92-99fd-1ea1c307889e
2025-08-14 09:58:42,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/418ec5af-d224-46b6-90ac-81264e9ec9eb
2025-08-14 09:58:46,012 - 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 1027ms')
2025-08-14 09:58:46,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25644395-73229902 failed!
2025-08-14 09:58:46,067 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25644395:ctest-vn-35252948 is 84.40.188.65 and allocation pool is NOT set
2025-08-14 09:58:48,125 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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 = 0.414/2.180/3.946/1.766 ms')
2025-08-14 09:58:48,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25644395-73229902 passed
2025-08-14 09:58:48,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 09:58:48,279 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25644395-73229902, IP 84.40.188.67, Port 22
2025-08-14 09:58:48,438 - DEBUG - VM ctest-TestRoutersBasic-25644395-73229902 is ready for SSH connections
2025-08-14 09:58:48,438 - INFO - Waiting for VM ctest-TestRoutersBasic-25644395-37997546 to be up..
2025-08-14 09:58:48,516 - DEBUG - VM is in ACTIVE state now
2025-08-14 09:58:48,517 - INFO - VM name : ctest-TestRoutersBasic-25644395-37997546
2025-08-14 09:58:48,594 - DEBUG - VM ctest-TestRoutersBasic-25644395-37997546 ID is cbfacc12-2dba-4628-99e4-a00c93ad81da
2025-08-14 09:58:48,594 - DEBUG - VM ctest-TestRoutersBasic-25644395-37997546 launched on Node cn-jenkins-deploy-platform-ansible-os-3853-1
2025-08-14 09:58:48,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cbfacc12-2dba-4628-99e4-a00c93ad81da
2025-08-14 09:58:48,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6eb80dd4-90a4-4930-a196-616388187c2d
2025-08-14 09:58:49,939 - 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=4.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.785 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.785/2.732/4.679/1.947 ms')
2025-08-14 09:58:49,939 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25644395-37997546 passed
2025-08-14 09:58:50,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 09:58:50,095 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25644395-37997546, IP 35.208.238.131, Port 22
2025-08-14 09:58:50,254 - DEBUG - VM ctest-TestRoutersBasic-25644395-37997546 is ready for SSH connections
2025-08-14 09:58:50,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 09:58:50,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.208.238.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-14 09:58:50,254 - DEBUG - ping -s 56 -c 3 -W 1 35.208.238.131
2025-08-14 09:58:54,216 - DEBUG - PING 35.208.238.131 (35.208.238.131): 56 data bytes
64 bytes from 35.208.238.131: seq=0 ttl=62 time=6.301 ms
64 bytes from 35.208.238.131: seq=1 ttl=62 time=0.803 ms
64 bytes from 35.208.238.131: seq=2 ttl=62 time=0.809 ms
--- 35.208.238.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.803/2.637/6.301 ms
2025-08-14 09:58:54,216 - INFO - Ping to IP 35.208.238.131 from VM ctest-TestRoutersBasic-25644395-73229902 passed
2025-08-14 09:58:54,216 - INFO - Deleting interface with subnet_id e188e91b-6a42-4700-8821-0674ae9be1a8, port_id None from router f3a44f6c-baaa-45a6-a18c-af6b9cbf9805
2025-08-14 09:58:54,421 - INFO - Deleting VM ctest-TestRoutersBasic-25644395-37997546
2025-08-14 09:58:54,483 - INFO - Deleting VM ctest-TestRoutersBasic-25644395-73229902
2025-08-14 09:58:54,561 - INFO - Deleting VN ctest-ext_vn-77037759
2025-08-14 09:58:54,625 - DEBUG - VN e05e7ffd-a762-43a4-bfe8-97d5f82fa5c4 still in use: Unable to complete operation on network e05e7ffd-a762-43a4-bfe8-97d5f82fa5c4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4a8e6aca-2a6b-45dc-9d0b-79b0d6d51222']
2025-08-14 09:58:54,625 - WARNING - Deleting VN ctest-ext_vn-77037759 failed..Will retry
2025-08-14 09:58:56,729 - DEBUG - Response for deleting network ()
2025-08-14 09:58:56,729 - INFO - Deleting VN ctest-vn-35252948
2025-08-14 09:58:56,844 - DEBUG - Response for deleting network ()
2025-08-14 09:58:57,101 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 09:58:57,101 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-14 09:58:57,101 - INFO - --------------------------------------------------------------------------------
2025-08-14 09:58:57,794 - INFO - Deleted project: ctest-TestRoutersBasic-25644395, ID : 32cb5401-ea57-4032-86cd-b36eadd0e1d4