2025-08-07 17:39:43,635 - INFO - Domain Default found not creating
2025-08-07 17:39:43,778 - INFO - Project ctest-TestRoutersBasic-46678253 not found, creating it
2025-08-07 17:39:44,227 - INFO - Created Project:ctest-TestRoutersBasic-46678253, ID : 87cf5890-3f39-470b-b2a5-93bb2e1b76fb
2025-08-07 17:39:45,764 - INFO - ================================================================================
2025-08-07 17:39:45,764 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-07 17:39:45,764 - 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-07 17:39:46,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-07 17:39:46,020 - INFO - Initial checks done. Running the testcase now
2025-08-07 17:39:46,020 - INFO -
2025-08-07 17:39:46,800 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46678253
2025-08-07 17:39:46,894 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46678253
2025-08-07 17:39:47,230 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46678253', 'default']}
2025-08-07 17:39:47,521 - DEBUG - Response for create_network : {'network': {'id': 'd5a3d159-b3f5-40d6-98b8-3bb0290fd610', 'name': 'ctest-vn-53226205', 'tenant_id': '87cf58903f39470bb2a593bb2e1b76fb', 'project_id': '87cf58903f39470bb2a593bb2e1b76fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46678253', 'ctest-vn-53226205'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 17:39:47,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '52d42651-f567-4b58-885d-a174269ccbd7', 'name': '', 'tenant_id': '87cf58903f39470bb2a593bb2e1b76fb', 'network_id': 'd5a3d159-b3f5-40d6-98b8-3bb0290fd610', 'ip_version': 4, 'cidr': '134.119.60.0/26', 'allocation_pools': [{'start': '134.119.60.2', 'end': '134.119.60.62'}], 'gateway_ip': '134.119.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.119.60.2', 'tags': [], 'project_id': '87cf58903f39470bb2a593bb2e1b76fb'}}
2025-08-07 17:39:47,709 - INFO - Created VN ctest-vn-53226205
2025-08-07 17:39:47,766 - DEBUG - VN ctest-vn-53226205 UUID is d5a3d159-b3f5-40d6-98b8-3bb0290fd610
2025-08-07 17:39:48,085 - DEBUG - Response for create_network : {'network': {'id': 'eb50fcdc-2245-4d36-88bc-87e3a680cf54', 'name': 'ctest-ext_vn-80552086', 'tenant_id': '87cf58903f39470bb2a593bb2e1b76fb', 'project_id': '87cf58903f39470bb2a593bb2e1b76fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46678253', 'ctest-ext_vn-80552086'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 17:39:48,243 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a562d146-5ef1-4ebe-96c0-327689512ea9', 'name': '', 'tenant_id': '87cf58903f39470bb2a593bb2e1b76fb', 'network_id': 'eb50fcdc-2245-4d36-88bc-87e3a680cf54', 'ip_version': 4, 'cidr': '183.125.234.0/26', 'allocation_pools': [{'start': '183.125.234.2', 'end': '183.125.234.62'}], 'gateway_ip': '183.125.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.125.234.2', 'tags': [], 'project_id': '87cf58903f39470bb2a593bb2e1b76fb'}}
2025-08-07 17:39:48,260 - INFO - Created VN ctest-ext_vn-80552086
2025-08-07 17:39:48,318 - DEBUG - VN ctest-ext_vn-80552086 UUID is eb50fcdc-2245-4d36-88bc-87e3a680cf54
2025-08-07 17:39:48,521 - DEBUG - Services list from nova: [, , ]
2025-08-07 17:39:49,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3774-1)
2025-08-07 17:39:50,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3774-1)
2025-08-07 17:39:50,906 - INFO - Setting gateway for router 08e121b4-aaa2-407f-9bc4-7867c4ba3d45 to network eb50fcdc-2245-4d36-88bc-87e3a680cf54
2025-08-07 17:39:50,989 - INFO - Adding interface with subnet_id 52d42651-f567-4b58-885d-a174269ccbd7, port_id None to router 08e121b4-aaa2-407f-9bc4-7867c4ba3d45
2025-08-07 17:39:51,444 - INFO - Waiting for VM ctest-TestRoutersBasic-46678253-81091467 to be up..
2025-08-07 17:39:51,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-07 17:39:56,671 - DEBUG - VM is in ACTIVE state now
2025-08-07 17:39:56,671 - INFO - VM name : ctest-TestRoutersBasic-46678253-81091467
2025-08-07 17:39:56,744 - DEBUG - VM ctest-TestRoutersBasic-46678253-81091467 ID is 925eb3d5-93bf-4ce6-bd0b-c80f353eae05
2025-08-07 17:39:56,763 - DEBUG - VM ctest-TestRoutersBasic-46678253-81091467 launched on Node cn-jenkins-deploy-platform-ansible-os-3774-1
2025-08-07 17:39:56,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/925eb3d5-93bf-4ce6-bd0b-c80f353eae05
2025-08-07 17:39:57,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/925eb3d5-93bf-4ce6-bd0b-c80f353eae05
2025-08-07 17:39:57,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/58ee4450-f2f7-44eb-8eba-54ddecbb5d64
2025-08-07 17:40:00,477 - 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 1018ms')
2025-08-07 17:40:00,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46678253-81091467 failed!
2025-08-07 17:40:00,534 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46678253:ctest-vn-53226205 is 134.119.60.1 and allocation pool is NOT set
2025-08-07 17:40:02,598 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.873/3.321/1.448 ms')
2025-08-07 17:40:02,599 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46678253-81091467 passed
2025-08-07 17:40:02,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 17:40:02,750 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46678253-81091467, IP 134.119.60.3, Port 22
2025-08-07 17:40:02,917 - DEBUG - VM ctest-TestRoutersBasic-46678253-81091467 is ready for SSH connections
2025-08-07 17:40:02,917 - INFO - Waiting for VM ctest-TestRoutersBasic-46678253-95169810 to be up..
2025-08-07 17:40:02,991 - DEBUG - VM is in ACTIVE state now
2025-08-07 17:40:02,991 - INFO - VM name : ctest-TestRoutersBasic-46678253-95169810
2025-08-07 17:40:03,061 - DEBUG - VM ctest-TestRoutersBasic-46678253-95169810 ID is d8d110ee-c786-4b49-8df1-7b9443f9cf00
2025-08-07 17:40:03,061 - DEBUG - VM ctest-TestRoutersBasic-46678253-95169810 launched on Node cn-jenkins-deploy-platform-ansible-os-3774-1
2025-08-07 17:40:03,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d8d110ee-c786-4b49-8df1-7b9443f9cf00
2025-08-07 17:40:03,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ed409aba-ea54-4a6f-ad41-b05f9a73aabe
2025-08-07 17:40:04,394 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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.379/1.647/2.915/1.268 ms')
2025-08-07 17:40:04,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46678253-95169810 passed
2025-08-07 17:40:04,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 17:40:04,554 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46678253-95169810, IP 183.125.234.3, Port 22
2025-08-07 17:40:04,713 - DEBUG - VM ctest-TestRoutersBasic-46678253-95169810 is ready for SSH connections
2025-08-07 17:40:04,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 17:40:04,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.125.234.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-07 17:40:04,714 - DEBUG - ping -s 56 -c 3 -W 1 183.125.234.3
2025-08-07 17:40:08,770 - DEBUG - PING 183.125.234.3 (183.125.234.3): 56 data bytes
64 bytes from 183.125.234.3: seq=0 ttl=62 time=6.207 ms
64 bytes from 183.125.234.3: seq=1 ttl=62 time=0.915 ms
64 bytes from 183.125.234.3: seq=2 ttl=62 time=0.828 ms
--- 183.125.234.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.828/2.650/6.207 ms
2025-08-07 17:40:08,770 - INFO - Ping to IP 183.125.234.3 from VM ctest-TestRoutersBasic-46678253-81091467 passed
2025-08-07 17:40:08,770 - INFO - Deleting interface with subnet_id 52d42651-f567-4b58-885d-a174269ccbd7, port_id None from router 08e121b4-aaa2-407f-9bc4-7867c4ba3d45
2025-08-07 17:40:08,962 - INFO - Deleting VM ctest-TestRoutersBasic-46678253-95169810
2025-08-07 17:40:09,031 - INFO - Deleting VM ctest-TestRoutersBasic-46678253-81091467
2025-08-07 17:40:09,109 - INFO - Deleting VN ctest-ext_vn-80552086
2025-08-07 17:40:09,187 - DEBUG - VN eb50fcdc-2245-4d36-88bc-87e3a680cf54 still in use: Unable to complete operation on network eb50fcdc-2245-4d36-88bc-87e3a680cf54. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c247065f-3e18-4bef-9723-795b3eed9984']
2025-08-07 17:40:09,187 - WARNING - Deleting VN ctest-ext_vn-80552086 failed..Will retry
2025-08-07 17:40:11,295 - DEBUG - Response for deleting network ()
2025-08-07 17:40:11,296 - INFO - Deleting VN ctest-vn-53226205
2025-08-07 17:40:11,408 - DEBUG - Response for deleting network ()
2025-08-07 17:40:11,663 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 17:40:11,663 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-07 17:40:11,663 - INFO - --------------------------------------------------------------------------------
2025-08-07 17:40:12,380 - INFO - Deleted project: ctest-TestRoutersBasic-46678253, ID : 87cf5890-3f39-470b-b2a5-93bb2e1b76fb