2025-07-01 11:31:37,186 - INFO - Domain Default found not creating
2025-07-01 11:31:37,345 - INFO - Project ctest-TestRoutersBasic-07324064 not found, creating it
2025-07-01 11:31:37,826 - INFO - Created Project:ctest-TestRoutersBasic-07324064, ID : ebe77713-5c07-4111-bb01-6f4941998258
2025-07-01 11:31:39,269 - INFO - ================================================================================
2025-07-01 11:31:39,269 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-01 11:31:39,270 - 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-07-01 11:31:39,537 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-01 11:31:39,537 - INFO - Initial checks done. Running the testcase now
2025-07-01 11:31:39,537 - INFO -
2025-07-01 11:31:40,233 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07324064
2025-07-01 11:31:40,335 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07324064
2025-07-01 11:31:40,659 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07324064', 'default']}
2025-07-01 11:31:40,967 - DEBUG - Response for create_network : {'network': {'id': 'df9fd4f0-93b2-4219-a8f5-79f5f9787ae0', 'name': 'ctest-vn-72609543', 'tenant_id': 'ebe777135c074111bb016f4941998258', 'project_id': 'ebe777135c074111bb016f4941998258', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07324064', 'ctest-vn-72609543'], 'port_security_enabled': True, 'description': ''}}
2025-07-01 11:31:41,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d18c0ae-426f-495a-8fea-d9a1150c8694', 'name': '', 'tenant_id': 'ebe777135c074111bb016f4941998258', 'network_id': 'df9fd4f0-93b2-4219-a8f5-79f5f9787ae0', 'ip_version': 4, 'cidr': '191.215.170.64/26', 'allocation_pools': [{'start': '191.215.170.66', 'end': '191.215.170.126'}], 'gateway_ip': '191.215.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.215.170.66', 'tags': [], 'project_id': 'ebe777135c074111bb016f4941998258'}}
2025-07-01 11:31:41,183 - INFO - Created VN ctest-vn-72609543
2025-07-01 11:31:41,235 - DEBUG - VN ctest-vn-72609543 UUID is df9fd4f0-93b2-4219-a8f5-79f5f9787ae0
2025-07-01 11:31:41,619 - DEBUG - Response for create_network : {'network': {'id': '574f1846-f2a1-4193-894e-89c2abe2530a', 'name': 'ctest-ext_vn-01090200', 'tenant_id': 'ebe777135c074111bb016f4941998258', 'project_id': 'ebe777135c074111bb016f4941998258', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07324064', 'ctest-ext_vn-01090200'], 'port_security_enabled': True, 'description': ''}}
2025-07-01 11:31:41,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '2242cf7c-dd2d-4404-a93d-d0768f8d0039', 'name': '', 'tenant_id': 'ebe777135c074111bb016f4941998258', 'network_id': '574f1846-f2a1-4193-894e-89c2abe2530a', 'ip_version': 4, 'cidr': '181.125.241.0/26', 'allocation_pools': [{'start': '181.125.241.2', 'end': '181.125.241.62'}], 'gateway_ip': '181.125.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.125.241.2', 'tags': [], 'project_id': 'ebe777135c074111bb016f4941998258'}}
2025-07-01 11:31:41,834 - INFO - Created VN ctest-ext_vn-01090200
2025-07-01 11:31:41,891 - DEBUG - VN ctest-ext_vn-01090200 UUID is 574f1846-f2a1-4193-894e-89c2abe2530a
2025-07-01 11:31:42,069 - DEBUG - Services list from nova: [, , ]
2025-07-01 11:31:43,074 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3585-1)
2025-07-01 11:31:44,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3585-1)
2025-07-01 11:31:44,494 - INFO - Setting gateway for router 4b96b907-a90f-4cee-ab63-e39650ad0400 to network 574f1846-f2a1-4193-894e-89c2abe2530a
2025-07-01 11:31:44,563 - INFO - Adding interface with subnet_id 1d18c0ae-426f-495a-8fea-d9a1150c8694, port_id None to router 4b96b907-a90f-4cee-ab63-e39650ad0400
2025-07-01 11:31:44,986 - INFO - Waiting for VM ctest-TestRoutersBasic-07324064-64286700 to be up..
2025-07-01 11:31:45,153 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-01 11:31:50,247 - DEBUG - VM is in ACTIVE state now
2025-07-01 11:31:50,247 - INFO - VM name : ctest-TestRoutersBasic-07324064-64286700
2025-07-01 11:31:50,325 - DEBUG - VM ctest-TestRoutersBasic-07324064-64286700 ID is 3ca68abd-577d-4823-b35f-ec3121c799de
2025-07-01 11:31:50,346 - DEBUG - VM ctest-TestRoutersBasic-07324064-64286700 launched on Node cn-jenkins-deploy-platform-ansible-os-3585-1
2025-07-01 11:31:50,420 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3ca68abd-577d-4823-b35f-ec3121c799de
2025-07-01 11:31:50,714 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3ca68abd-577d-4823-b35f-ec3121c799de
2025-07-01 11:31:50,756 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f75e5e10-3aa3-4470-a3ef-c0ec5b1fb5b7
2025-07-01 11:31:54,033 - 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 1031ms')
2025-07-01 11:31:54,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07324064-64286700 failed!
2025-07-01 11:31:54,095 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07324064:ctest-vn-72609543 is 191.215.170.65 and allocation pool is NOT set
2025-07-01 11:31:56,160 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/1.532/2.665/1.133 ms')
2025-07-01 11:31:56,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07324064-64286700 passed
2025-07-01 11:31:56,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-01 11:31:56,319 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07324064-64286700, IP 191.215.170.67, Port 22
2025-07-01 11:31:56,475 - DEBUG - VM ctest-TestRoutersBasic-07324064-64286700 is ready for SSH connections
2025-07-01 11:31:56,475 - INFO - Waiting for VM ctest-TestRoutersBasic-07324064-39203865 to be up..
2025-07-01 11:31:56,559 - DEBUG - VM is in ACTIVE state now
2025-07-01 11:31:56,559 - INFO - VM name : ctest-TestRoutersBasic-07324064-39203865
2025-07-01 11:31:56,633 - DEBUG - VM ctest-TestRoutersBasic-07324064-39203865 ID is f5b45ba6-8b95-48b0-8f74-00e750d2f1f1
2025-07-01 11:31:56,633 - DEBUG - VM ctest-TestRoutersBasic-07324064-39203865 launched on Node cn-jenkins-deploy-platform-ansible-os-3585-1
2025-07-01 11:31:56,707 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f5b45ba6-8b95-48b0-8f74-00e750d2f1f1
2025-07-01 11:31:56,717 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/448fe394-3b9c-4fb2-a4c9-69b5783da037
2025-07-01 11:31:57,970 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.45 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 = 2.445/2.674/2.903/0.229 ms')
2025-07-01 11:31:57,970 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07324064-39203865 passed
2025-07-01 11:31:58,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-01 11:31:58,127 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07324064-39203865, IP 181.125.241.3, Port 22
2025-07-01 11:31:58,187 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-01 11:31:58,265 - DEBUG - VM ctest-TestRoutersBasic-07324064-39203865 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-01 11:32:03,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-01 11:32:03,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07324064-39203865, IP 181.125.241.3, Port 22
2025-07-01 11:32:03,431 - DEBUG - VM ctest-TestRoutersBasic-07324064-39203865 is ready for SSH connections
2025-07-01 11:32:03,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-01 11:32:03,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.125.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-01 11:32:03,431 - DEBUG - ping -s 56 -c 3 -W 1 181.125.241.3
2025-07-01 11:32:07,472 - DEBUG - PING 181.125.241.3 (181.125.241.3): 56 data bytes
64 bytes from 181.125.241.3: seq=0 ttl=62 time=4.999 ms
64 bytes from 181.125.241.3: seq=1 ttl=62 time=0.982 ms
64 bytes from 181.125.241.3: seq=2 ttl=62 time=0.950 ms
--- 181.125.241.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.950/2.310/4.999 ms
2025-07-01 11:32:07,472 - INFO - Ping to IP 181.125.241.3 from VM ctest-TestRoutersBasic-07324064-64286700 passed
2025-07-01 11:32:07,472 - INFO - Deleting interface with subnet_id 1d18c0ae-426f-495a-8fea-d9a1150c8694, port_id None from router 4b96b907-a90f-4cee-ab63-e39650ad0400
2025-07-01 11:32:07,660 - INFO - Deleting VM ctest-TestRoutersBasic-07324064-39203865
2025-07-01 11:32:07,726 - INFO - Deleting VM ctest-TestRoutersBasic-07324064-64286700
2025-07-01 11:32:07,824 - INFO - Deleting VN ctest-ext_vn-01090200
2025-07-01 11:32:07,899 - DEBUG - VN 574f1846-f2a1-4193-894e-89c2abe2530a still in use: Unable to complete operation on network 574f1846-f2a1-4193-894e-89c2abe2530a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f3b28392-38dd-44fd-9a4d-c305698e1a62']
2025-07-01 11:32:07,899 - WARNING - Deleting VN ctest-ext_vn-01090200 failed..Will retry
2025-07-01 11:32:10,018 - DEBUG - Response for deleting network ()
2025-07-01 11:32:10,018 - INFO - Deleting VN ctest-vn-72609543
2025-07-01 11:32:10,128 - DEBUG - Response for deleting network ()
2025-07-01 11:32:10,388 - DEBUG - No XMPP flaps were noticed during the test
2025-07-01 11:32:10,388 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-07-01 11:32:10,389 - INFO - --------------------------------------------------------------------------------
2025-07-01 11:32:11,051 - INFO - Deleted project: ctest-TestRoutersBasic-07324064, ID : ebe77713-5c07-4111-bb01-6f4941998258