2025-10-07 19:11:59,215 - INFO - Domain Default found not creating
2025-10-07 19:11:59,345 - INFO - Project ctest-TestRoutersBasic-68487923 not found, creating it
2025-10-07 19:11:59,783 - INFO - Created Project:ctest-TestRoutersBasic-68487923, ID : 29141a18-4ca3-480a-8db6-5ee2da019d8d
2025-10-07 19:12:01,180 - INFO - ================================================================================
2025-10-07 19:12:01,180 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-07 19:12:01,180 - 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-10-07 19:12:01,437 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2025-10-07 19:12:01,437 - INFO - Initial checks done. Running the testcase now
2025-10-07 19:12:01,437 - INFO -
2025-10-07 19:12:02,120 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68487923
2025-10-07 19:12:02,220 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68487923
2025-10-07 19:12:02,540 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68487923', 'default']}
2025-10-07 19:12:02,819 - DEBUG - Response for create_network : {'network': {'id': '0b2c9d0b-15fb-49f3-a7d6-24c253dae043', 'name': 'ctest-vn-05406328', 'tenant_id': '29141a184ca3480a8db65ee2da019d8d', 'project_id': '29141a184ca3480a8db65ee2da019d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68487923', 'ctest-vn-05406328'], 'port_security_enabled': True, 'description': ''}}
2025-10-07 19:12:03,030 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba1e52c6-c45a-4247-acbc-a581bd29e376', 'name': '', 'tenant_id': '29141a184ca3480a8db65ee2da019d8d', 'network_id': '0b2c9d0b-15fb-49f3-a7d6-24c253dae043', 'ip_version': 4, 'cidr': '108.179.168.0/26', 'allocation_pools': [{'start': '108.179.168.2', 'end': '108.179.168.62'}], 'gateway_ip': '108.179.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.179.168.2', 'tags': [], 'project_id': '29141a184ca3480a8db65ee2da019d8d'}}
2025-10-07 19:12:03,046 - INFO - Created VN ctest-vn-05406328
2025-10-07 19:12:03,096 - DEBUG - VN ctest-vn-05406328 UUID is 0b2c9d0b-15fb-49f3-a7d6-24c253dae043
2025-10-07 19:12:03,386 - DEBUG - Response for create_network : {'network': {'id': 'e4109a37-5cbd-4b99-ba58-9afca5ea6d0c', 'name': 'ctest-ext_vn-27966886', 'tenant_id': '29141a184ca3480a8db65ee2da019d8d', 'project_id': '29141a184ca3480a8db65ee2da019d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68487923', 'ctest-ext_vn-27966886'], 'port_security_enabled': True, 'description': ''}}
2025-10-07 19:12:03,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '173c2a33-b92d-493c-a09f-698f4b80d393', 'name': '', 'tenant_id': '29141a184ca3480a8db65ee2da019d8d', 'network_id': 'e4109a37-5cbd-4b99-ba58-9afca5ea6d0c', 'ip_version': 4, 'cidr': '126.115.223.192/26', 'allocation_pools': [{'start': '126.115.223.194', 'end': '126.115.223.254'}], 'gateway_ip': '126.115.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.115.223.194', 'tags': [], 'project_id': '29141a184ca3480a8db65ee2da019d8d'}}
2025-10-07 19:12:03,621 - INFO - Created VN ctest-ext_vn-27966886
2025-10-07 19:12:03,672 - DEBUG - VN ctest-ext_vn-27966886 UUID is e4109a37-5cbd-4b99-ba58-9afca5ea6d0c
2025-10-07 19:12:03,839 - DEBUG - Services list from nova: [, , ]
2025-10-07 19:12:04,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4232-1)
2025-10-07 19:12:05,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4232-1)
2025-10-07 19:12:06,024 - INFO - Setting gateway for router eb0ded9e-a251-42db-a0e4-0cadd8593f09 to network e4109a37-5cbd-4b99-ba58-9afca5ea6d0c
2025-10-07 19:12:06,107 - INFO - Adding interface with subnet_id ba1e52c6-c45a-4247-acbc-a581bd29e376, port_id None to router eb0ded9e-a251-42db-a0e4-0cadd8593f09
2025-10-07 19:12:06,457 - INFO - Waiting for VM ctest-TestRoutersBasic-68487923-81966341 to be up..
2025-10-07 19:12:06,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-07 19:12:11,705 - DEBUG - VM is in ACTIVE state now
2025-10-07 19:12:11,705 - INFO - VM name : ctest-TestRoutersBasic-68487923-81966341
2025-10-07 19:12:11,789 - DEBUG - VM ctest-TestRoutersBasic-68487923-81966341 ID is 9eb9408a-dd21-49a5-aab7-f7185c2d1e6e
2025-10-07 19:12:11,807 - DEBUG - VM ctest-TestRoutersBasic-68487923-81966341 launched on Node cn-jenkins-deploy-platform-ansible-os-4232-1
2025-10-07 19:12:11,879 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9eb9408a-dd21-49a5-aab7-f7185c2d1e6e
2025-10-07 19:12:12,169 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9eb9408a-dd21-49a5-aab7-f7185c2d1e6e
2025-10-07 19:12:12,198 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bb4d2447-e605-41dc-a45f-9b49c265582e
2025-10-07 19:12:15,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 1032ms')
2025-10-07 19:12:15,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68487923-81966341 failed!
2025-10-07 19:12:15,520 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68487923:ctest-vn-05406328 is 108.179.168.1 and allocation pool is NOT set
2025-10-07 19:12:17,576 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/1.595/2.789/1.193 ms')
2025-10-07 19:12:17,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68487923-81966341 passed
2025-10-07 19:12:17,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 19:12:17,728 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68487923-81966341, IP 108.179.168.3, Port 22
2025-10-07 19:12:17,883 - DEBUG - VM ctest-TestRoutersBasic-68487923-81966341 is ready for SSH connections
2025-10-07 19:12:17,883 - INFO - Waiting for VM ctest-TestRoutersBasic-68487923-29644337 to be up..
2025-10-07 19:12:17,958 - DEBUG - VM is in ACTIVE state now
2025-10-07 19:12:17,958 - INFO - VM name : ctest-TestRoutersBasic-68487923-29644337
2025-10-07 19:12:18,034 - DEBUG - VM ctest-TestRoutersBasic-68487923-29644337 ID is 6392a38c-7685-460d-b8a5-dbbd9caf1f25
2025-10-07 19:12:18,034 - DEBUG - VM ctest-TestRoutersBasic-68487923-29644337 launched on Node cn-jenkins-deploy-platform-ansible-os-4232-1
2025-10-07 19:12:18,108 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6392a38c-7685-460d-b8a5-dbbd9caf1f25
2025-10-07 19:12:18,116 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b1274546-5d1e-4191-8243-64a6fe69189d
2025-10-07 19:12:19,348 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/1.686/2.852/1.165 ms')
2025-10-07 19:12:19,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68487923-29644337 passed
2025-10-07 19:12:19,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 19:12:19,496 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68487923-29644337, IP 126.115.223.195, Port 22
2025-10-07 19:12:19,651 - DEBUG - VM ctest-TestRoutersBasic-68487923-29644337 is ready for SSH connections
2025-10-07 19:12:19,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 19:12:19,652 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.115.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-07 19:12:19,652 - DEBUG - ping -s 56 -c 3 -W 1 126.115.223.195
2025-10-07 19:12:23,346 - DEBUG - PING 126.115.223.195 (126.115.223.195): 56 data bytes
64 bytes from 126.115.223.195: seq=0 ttl=62 time=6.233 ms
64 bytes from 126.115.223.195: seq=1 ttl=62 time=0.720 ms
64 bytes from 126.115.223.195: seq=2 ttl=62 time=0.806 ms
--- 126.115.223.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.720/2.586/6.233 ms
2025-10-07 19:12:23,346 - INFO - Ping to IP 126.115.223.195 from VM ctest-TestRoutersBasic-68487923-81966341 passed
2025-10-07 19:12:23,346 - INFO - Deleting interface with subnet_id ba1e52c6-c45a-4247-acbc-a581bd29e376, port_id None from router eb0ded9e-a251-42db-a0e4-0cadd8593f09
2025-10-07 19:12:23,519 - INFO - Deleting VM ctest-TestRoutersBasic-68487923-29644337
2025-10-07 19:12:23,583 - INFO - Deleting VM ctest-TestRoutersBasic-68487923-81966341
2025-10-07 19:12:23,661 - INFO - Deleting VN ctest-ext_vn-27966886
2025-10-07 19:12:23,728 - DEBUG - VN e4109a37-5cbd-4b99-ba58-9afca5ea6d0c still in use: Unable to complete operation on network e4109a37-5cbd-4b99-ba58-9afca5ea6d0c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-638b6ebf-dada-461e-80f9-7abedc035c79']
2025-10-07 19:12:23,728 - WARNING - Deleting VN ctest-ext_vn-27966886 failed..Will retry
2025-10-07 19:12:25,825 - DEBUG - Response for deleting network ()
2025-10-07 19:12:25,825 - INFO - Deleting VN ctest-vn-05406328
2025-10-07 19:12:25,923 - DEBUG - Response for deleting network ()
2025-10-07 19:12:26,180 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 19:12:26,180 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-07 19:12:26,180 - INFO - --------------------------------------------------------------------------------
2025-10-07 19:12:26,824 - INFO - Deleted project: ctest-TestRoutersBasic-68487923, ID : 29141a18-4ca3-480a-8db6-5ee2da019d8d