2025-11-07 09:32:40,059 - INFO - Domain Default found not creating
2025-11-07 09:32:40,233 - INFO - Project ctest-TestRoutersBasic-45350734 not found, creating it
2025-11-07 09:32:40,700 - INFO - Created Project:ctest-TestRoutersBasic-45350734, ID : 4d65b97d-6ee8-4cd1-824a-9bd2cd35f446
2025-11-07 09:32:42,073 - INFO - ================================================================================
2025-11-07 09:32:42,073 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-07 09:32:42,073 - 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-11-07 09:32:42,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-11-07 09:32:42,337 - INFO - Initial checks done. Running the testcase now
2025-11-07 09:32:42,337 - INFO -
2025-11-07 09:32:43,038 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45350734
2025-11-07 09:32:43,132 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45350734
2025-11-07 09:32:43,456 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45350734', 'default']}
2025-11-07 09:32:43,754 - DEBUG - Response for create_network : {'network': {'id': '164cbc57-2ca8-42e4-b3ab-47d1a6a47ac2', 'name': 'ctest-vn-45749217', 'tenant_id': '4d65b97d6ee84cd1824a9bd2cd35f446', 'project_id': '4d65b97d6ee84cd1824a9bd2cd35f446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45350734', 'ctest-vn-45749217'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 09:32:43,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '22a1cd2b-4f70-480f-9dc6-72c26e64a6b2', 'name': '', 'tenant_id': '4d65b97d6ee84cd1824a9bd2cd35f446', 'network_id': '164cbc57-2ca8-42e4-b3ab-47d1a6a47ac2', 'ip_version': 4, 'cidr': '204.53.112.192/26', 'allocation_pools': [{'start': '204.53.112.194', 'end': '204.53.112.254'}], 'gateway_ip': '204.53.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.53.112.194', 'tags': [], 'project_id': '4d65b97d6ee84cd1824a9bd2cd35f446'}}
2025-11-07 09:32:43,934 - INFO - Created VN ctest-vn-45749217
2025-11-07 09:32:43,989 - DEBUG - VN ctest-vn-45749217 UUID is 164cbc57-2ca8-42e4-b3ab-47d1a6a47ac2
2025-11-07 09:32:44,292 - DEBUG - Response for create_network : {'network': {'id': 'dcbdf7a4-d0bc-4441-96d2-634e93ed89c1', 'name': 'ctest-ext_vn-19863437', 'tenant_id': '4d65b97d6ee84cd1824a9bd2cd35f446', 'project_id': '4d65b97d6ee84cd1824a9bd2cd35f446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45350734', 'ctest-ext_vn-19863437'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 09:32:44,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bd692f5-aa2b-434a-8fa2-d4937c5c22f6', 'name': '', 'tenant_id': '4d65b97d6ee84cd1824a9bd2cd35f446', 'network_id': 'dcbdf7a4-d0bc-4441-96d2-634e93ed89c1', 'ip_version': 4, 'cidr': '180.28.78.64/26', 'allocation_pools': [{'start': '180.28.78.66', 'end': '180.28.78.126'}], 'gateway_ip': '180.28.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.28.78.66', 'tags': [], 'project_id': '4d65b97d6ee84cd1824a9bd2cd35f446'}}
2025-11-07 09:32:44,531 - INFO - Created VN ctest-ext_vn-19863437
2025-11-07 09:32:44,584 - DEBUG - VN ctest-ext_vn-19863437 UUID is dcbdf7a4-d0bc-4441-96d2-634e93ed89c1
2025-11-07 09:32:44,788 - DEBUG - Services list from nova: [, , ]
2025-11-07 09:32:45,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1)
2025-11-07 09:32:46,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1)
2025-11-07 09:32:46,949 - INFO - Setting gateway for router 16e4f13c-7b74-4854-8c22-94b4b7c56626 to network dcbdf7a4-d0bc-4441-96d2-634e93ed89c1
2025-11-07 09:32:46,999 - INFO - Adding interface with subnet_id 22a1cd2b-4f70-480f-9dc6-72c26e64a6b2, port_id None to router 16e4f13c-7b74-4854-8c22-94b4b7c56626
2025-11-07 09:32:47,260 - INFO - Waiting for VM ctest-TestRoutersBasic-45350734-21792627 to be up..
2025-11-07 09:32:47,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-07 09:32:52,447 - DEBUG - VM is in ACTIVE state now
2025-11-07 09:32:52,447 - INFO - VM name : ctest-TestRoutersBasic-45350734-21792627
2025-11-07 09:32:52,518 - DEBUG - VM ctest-TestRoutersBasic-45350734-21792627 ID is 14715cd0-fc6a-45a7-985a-64b954d8b94d
2025-11-07 09:32:52,542 - DEBUG - VM ctest-TestRoutersBasic-45350734-21792627 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1
2025-11-07 09:32:52,612 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/14715cd0-fc6a-45a7-985a-64b954d8b94d
2025-11-07 09:32:52,904 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/14715cd0-fc6a-45a7-985a-64b954d8b94d
2025-11-07 09:32:52,932 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/70dca3cb-bc58-4350-9e4a-1ccf7093e2fc
2025-11-07 09:32:56,189 - 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 1012ms')
2025-11-07 09:32:56,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45350734-21792627 failed!
2025-11-07 09:32:56,244 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45350734:ctest-vn-45749217 is 204.53.112.193 and allocation pool is NOT set
2025-11-07 09:32:58,306 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.072/2.070/3.068/0.998 ms')
2025-11-07 09:32:58,306 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45350734-21792627 passed
2025-11-07 09:32:58,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:32:58,460 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45350734-21792627, IP 204.53.112.195, Port 22
2025-11-07 09:32:58,526 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-07 09:32:58,611 - DEBUG - VM ctest-TestRoutersBasic-45350734-21792627 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-07 09:33:03,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:33:03,612 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45350734-21792627, IP 204.53.112.195, Port 22
2025-11-07 09:33:03,768 - DEBUG - VM ctest-TestRoutersBasic-45350734-21792627 is ready for SSH connections
2025-11-07 09:33:03,768 - INFO - Waiting for VM ctest-TestRoutersBasic-45350734-40062497 to be up..
2025-11-07 09:33:03,835 - DEBUG - VM is in ACTIVE state now
2025-11-07 09:33:03,835 - INFO - VM name : ctest-TestRoutersBasic-45350734-40062497
2025-11-07 09:33:03,899 - DEBUG - VM ctest-TestRoutersBasic-45350734-40062497 ID is 41bd6a49-f58c-4b45-8b73-89ed47c3850f
2025-11-07 09:33:03,900 - DEBUG - VM ctest-TestRoutersBasic-45350734-40062497 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1
2025-11-07 09:33:03,967 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/41bd6a49-f58c-4b45-8b73-89ed47c3850f
2025-11-07 09:33:03,977 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9220e201-af6f-4123-bd3f-857e96283f40
2025-11-07 09:33:05,213 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.604/2.788/1.183 ms')
2025-11-07 09:33:05,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45350734-40062497 passed
2025-11-07 09:33:05,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:33:05,360 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45350734-40062497, IP 180.28.78.67, Port 22
2025-11-07 09:33:05,515 - DEBUG - VM ctest-TestRoutersBasic-45350734-40062497 is ready for SSH connections
2025-11-07 09:33:05,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 09:33:05,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.28.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-07 09:33:05,516 - DEBUG - ping -s 56 -c 3 -W 1 180.28.78.67
2025-11-07 09:33:09,560 - DEBUG - PING 180.28.78.67 (180.28.78.67): 56 data bytes
64 bytes from 180.28.78.67: seq=0 ttl=62 time=6.142 ms
64 bytes from 180.28.78.67: seq=1 ttl=62 time=0.983 ms
64 bytes from 180.28.78.67: seq=2 ttl=62 time=0.804 ms
--- 180.28.78.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.804/2.643/6.142 ms
2025-11-07 09:33:09,561 - INFO - Ping to IP 180.28.78.67 from VM ctest-TestRoutersBasic-45350734-21792627 passed
2025-11-07 09:33:09,561 - INFO - Deleting interface with subnet_id 22a1cd2b-4f70-480f-9dc6-72c26e64a6b2, port_id None from router 16e4f13c-7b74-4854-8c22-94b4b7c56626
2025-11-07 09:33:09,726 - INFO - Deleting VM ctest-TestRoutersBasic-45350734-40062497
2025-11-07 09:33:09,797 - INFO - Deleting VM ctest-TestRoutersBasic-45350734-21792627
2025-11-07 09:33:09,886 - INFO - Deleting VN ctest-ext_vn-19863437
2025-11-07 09:33:09,959 - DEBUG - VN dcbdf7a4-d0bc-4441-96d2-634e93ed89c1 still in use: Unable to complete operation on network dcbdf7a4-d0bc-4441-96d2-634e93ed89c1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-08e8d919-4b7c-4593-80d0-5d88227daae0']
2025-11-07 09:33:09,959 - WARNING - Deleting VN ctest-ext_vn-19863437 failed..Will retry
2025-11-07 09:33:12,057 - DEBUG - Response for deleting network ()
2025-11-07 09:33:12,057 - INFO - Deleting VN ctest-vn-45749217
2025-11-07 09:33:12,163 - DEBUG - Response for deleting network ()
2025-11-07 09:33:12,418 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 09:33:12,418 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-11-07 09:33:12,418 - INFO - --------------------------------------------------------------------------------
2025-11-07 09:33:13,099 - INFO - Deleted project: ctest-TestRoutersBasic-45350734, ID : 4d65b97d-6ee8-4cd1-824a-9bd2cd35f446