2025-04-08 16:55:49,259 - INFO - Domain Default found not creating
2025-04-08 16:55:49,414 - INFO - Project ctest-TestRoutersBasic-36888533 not found, creating it
2025-04-08 16:55:49,934 - INFO - Created Project:ctest-TestRoutersBasic-36888533, ID : 31f5c1a3-4079-4ec9-a775-c04c87d26c7b
2025-04-08 16:55:51,375 - INFO - ================================================================================
2025-04-08 16:55:51,375 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-08 16:55:51,375 - 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-08 16:55:51,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.8': '0'}} with
2025-04-08 16:55:51,631 - INFO - Initial checks done. Running the testcase now
2025-04-08 16:55:51,631 - INFO -
2025-04-08 16:55:52,324 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36888533
2025-04-08 16:55:52,424 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36888533
2025-04-08 16:55:52,747 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36888533', 'default']}
2025-04-08 16:55:53,053 - DEBUG - Response for create_network : {'network': {'id': 'ad90c054-2158-406f-99f3-824c4f19d966', 'name': 'ctest-vn-42011163', 'tenant_id': '31f5c1a340794ec9a775c04c87d26c7b', 'project_id': '31f5c1a340794ec9a775c04c87d26c7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36888533', 'ctest-vn-42011163'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 16:55:53,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '969bcf60-9c33-4b7e-ba0c-55636d479c91', 'name': '', 'tenant_id': '31f5c1a340794ec9a775c04c87d26c7b', 'network_id': 'ad90c054-2158-406f-99f3-824c4f19d966', 'ip_version': 4, 'cidr': '27.179.134.192/26', 'allocation_pools': [{'start': '27.179.134.194', 'end': '27.179.134.254'}], 'gateway_ip': '27.179.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.179.134.194', 'tags': [], 'project_id': '31f5c1a340794ec9a775c04c87d26c7b'}}
2025-04-08 16:55:53,295 - INFO - Created VN ctest-vn-42011163
2025-04-08 16:55:53,359 - DEBUG - VN ctest-vn-42011163 UUID is ad90c054-2158-406f-99f3-824c4f19d966
2025-04-08 16:55:53,678 - DEBUG - Response for create_network : {'network': {'id': '295cbe88-8a55-422b-9142-9d11fb0d0982', 'name': 'ctest-ext_vn-20158575', 'tenant_id': '31f5c1a340794ec9a775c04c87d26c7b', 'project_id': '31f5c1a340794ec9a775c04c87d26c7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36888533', 'ctest-ext_vn-20158575'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 16:55:53,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '83719364-fc65-46d5-9f7b-2ff794d8055b', 'name': '', 'tenant_id': '31f5c1a340794ec9a775c04c87d26c7b', 'network_id': '295cbe88-8a55-422b-9142-9d11fb0d0982', 'ip_version': 4, 'cidr': '146.196.115.128/26', 'allocation_pools': [{'start': '146.196.115.130', 'end': '146.196.115.190'}], 'gateway_ip': '146.196.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.196.115.130', 'tags': [], 'project_id': '31f5c1a340794ec9a775c04c87d26c7b'}}
2025-04-08 16:55:53,856 - INFO - Created VN ctest-ext_vn-20158575
2025-04-08 16:55:53,911 - DEBUG - VN ctest-ext_vn-20158575 UUID is 295cbe88-8a55-422b-9142-9d11fb0d0982
2025-04-08 16:55:54,081 - DEBUG - Services list from nova: [, , ]
2025-04-08 16:55:55,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3057-1)
2025-04-08 16:55:56,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3057-1)
2025-04-08 16:55:56,295 - INFO - Setting gateway for router 3e57e791-3b0b-4f8f-a8c7-21e04850356c to network 295cbe88-8a55-422b-9142-9d11fb0d0982
2025-04-08 16:55:56,365 - INFO - Adding interface with subnet_id 969bcf60-9c33-4b7e-ba0c-55636d479c91, port_id None to router 3e57e791-3b0b-4f8f-a8c7-21e04850356c
2025-04-08 16:55:56,773 - INFO - Waiting for VM ctest-TestRoutersBasic-36888533-61185523 to be up..
2025-04-08 16:55:56,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-08 16:56:02,025 - DEBUG - VM is in ACTIVE state now
2025-04-08 16:56:02,025 - INFO - VM name : ctest-TestRoutersBasic-36888533-61185523
2025-04-08 16:56:02,106 - DEBUG - VM ctest-TestRoutersBasic-36888533-61185523 ID is 73ba1b75-3ce3-4803-8f8f-9712c5d80487
2025-04-08 16:56:02,127 - DEBUG - VM ctest-TestRoutersBasic-36888533-61185523 launched on Node cn-jenkins-deploy-platform-ansible-os-3057-1
2025-04-08 16:56:02,212 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/73ba1b75-3ce3-4803-8f8f-9712c5d80487
2025-04-08 16:56:02,505 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/73ba1b75-3ce3-4803-8f8f-9712c5d80487
2025-04-08 16:56:02,539 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/c3386db4-7c9e-4ae9-97ba-1f93982f8232
2025-04-08 16:56:05,798 - 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 1011ms')
2025-04-08 16:56:05,798 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36888533-61185523 failed!
2025-04-08 16:56:05,851 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36888533:ctest-vn-42011163 is 27.179.134.193 and allocation pool is NOT set
2025-04-08 16:56:07,909 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.618 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 = 0.618/2.505/4.392/1.887 ms')
2025-04-08 16:56:07,910 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36888533-61185523 passed
2025-04-08 16:56:08,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 16:56:08,060 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36888533-61185523, IP 27.179.134.195, Port 22
2025-04-08 16:56:08,215 - DEBUG - VM ctest-TestRoutersBasic-36888533-61185523 is ready for SSH connections
2025-04-08 16:56:08,215 - INFO - Waiting for VM ctest-TestRoutersBasic-36888533-68153853 to be up..
2025-04-08 16:56:08,305 - DEBUG - VM is in ACTIVE state now
2025-04-08 16:56:08,305 - INFO - VM name : ctest-TestRoutersBasic-36888533-68153853
2025-04-08 16:56:08,389 - DEBUG - VM ctest-TestRoutersBasic-36888533-68153853 ID is 22ed6e07-64c7-4a7b-a490-e73533123462
2025-04-08 16:56:08,389 - DEBUG - VM ctest-TestRoutersBasic-36888533-68153853 launched on Node cn-jenkins-deploy-platform-ansible-os-3057-1
2025-04-08 16:56:08,470 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/22ed6e07-64c7-4a7b-a490-e73533123462
2025-04-08 16:56:08,480 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/40a6c8ce-e302-4dd6-9497-23e21e130f6d
2025-04-08 16:56:09,726 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 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.369/1.687/3.005/1.318 ms')
2025-04-08 16:56:09,727 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36888533-68153853 passed
2025-04-08 16:56:09,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 16:56:09,876 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36888533-68153853, IP 146.196.115.131, Port 22
2025-04-08 16:56:10,036 - DEBUG - VM ctest-TestRoutersBasic-36888533-68153853 is ready for SSH connections
2025-04-08 16:56:10,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 16:56:10,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.196.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2025-04-08 16:56:10,036 - DEBUG - ping -s 56 -c 3 -W 1 146.196.115.131
2025-04-08 16:56:13,731 - DEBUG - PING 146.196.115.131 (146.196.115.131): 56 data bytes
64 bytes from 146.196.115.131: seq=0 ttl=62 time=4.431 ms
64 bytes from 146.196.115.131: seq=1 ttl=62 time=0.921 ms
64 bytes from 146.196.115.131: seq=2 ttl=62 time=1.028 ms
--- 146.196.115.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.921/2.126/4.431 ms
2025-04-08 16:56:13,731 - INFO - Ping to IP 146.196.115.131 from VM ctest-TestRoutersBasic-36888533-61185523 passed
2025-04-08 16:56:13,731 - INFO - Deleting interface with subnet_id 969bcf60-9c33-4b7e-ba0c-55636d479c91, port_id None from router 3e57e791-3b0b-4f8f-a8c7-21e04850356c
2025-04-08 16:56:13,985 - INFO - Deleting VM ctest-TestRoutersBasic-36888533-68153853
2025-04-08 16:56:14,053 - INFO - Deleting VM ctest-TestRoutersBasic-36888533-61185523
2025-04-08 16:56:14,140 - INFO - Deleting VN ctest-ext_vn-20158575
2025-04-08 16:56:14,232 - DEBUG - VN 295cbe88-8a55-422b-9142-9d11fb0d0982 still in use: Unable to complete operation on network 295cbe88-8a55-422b-9142-9d11fb0d0982. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e6ed43f9-671f-419a-af70-cfa20e13f69b']
2025-04-08 16:56:14,232 - WARNING - Deleting VN ctest-ext_vn-20158575 failed..Will retry
2025-04-08 16:56:16,359 - DEBUG - Response for deleting network ()
2025-04-08 16:56:16,360 - INFO - Deleting VN ctest-vn-42011163
2025-04-08 16:56:16,474 - DEBUG - Response for deleting network ()
2025-04-08 16:56:16,737 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 16:56:16,737 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-08 16:56:16,737 - INFO - --------------------------------------------------------------------------------
2025-04-08 16:56:17,408 - INFO - Deleted project: ctest-TestRoutersBasic-36888533, ID : 31f5c1a3-4079-4ec9-a775-c04c87d26c7b