2025-06-05 16:30:54,246 - INFO - Domain Default found not creating
2025-06-05 16:30:54,400 - INFO - Project ctest-TestRoutersBasic-33943703 not found, creating it
2025-06-05 16:30:54,879 - INFO - Created Project:ctest-TestRoutersBasic-33943703, ID : b1f2d81b-7b09-4e3f-bbdd-c9c3303abc9b
2025-06-05 16:30:56,453 - INFO - ================================================================================
2025-06-05 16:30:56,453 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-05 16:30:56,453 - 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-06-05 16:30:56,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with
2025-06-05 16:30:56,712 - INFO - Initial checks done. Running the testcase now
2025-06-05 16:30:56,712 - INFO -
2025-06-05 16:30:57,500 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33943703
2025-06-05 16:30:57,602 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33943703
2025-06-05 16:30:57,934 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33943703', 'default']}
2025-06-05 16:30:58,233 - DEBUG - Response for create_network : {'network': {'id': 'cfd897a3-2a02-4dfd-b04d-9dc1d7e62372', 'name': 'ctest-vn-70662115', 'tenant_id': 'b1f2d81b7b094e3fbbddc9c3303abc9b', 'project_id': 'b1f2d81b7b094e3fbbddc9c3303abc9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33943703', 'ctest-vn-70662115'], 'port_security_enabled': True, 'description': ''}}
2025-06-05 16:30:58,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '034617b0-09d0-46d1-ae8b-7b59478d2749', 'name': '', 'tenant_id': 'b1f2d81b7b094e3fbbddc9c3303abc9b', 'network_id': 'cfd897a3-2a02-4dfd-b04d-9dc1d7e62372', 'ip_version': 4, 'cidr': '54.190.234.192/26', 'allocation_pools': [{'start': '54.190.234.194', 'end': '54.190.234.254'}], 'gateway_ip': '54.190.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.190.234.194', 'tags': [], 'project_id': 'b1f2d81b7b094e3fbbddc9c3303abc9b'}}
2025-06-05 16:30:58,469 - INFO - Created VN ctest-vn-70662115
2025-06-05 16:30:58,522 - DEBUG - VN ctest-vn-70662115 UUID is cfd897a3-2a02-4dfd-b04d-9dc1d7e62372
2025-06-05 16:30:58,893 - DEBUG - Response for create_network : {'network': {'id': 'a6fe2578-a941-4959-bcba-d60bb6089dfc', 'name': 'ctest-ext_vn-40910719', 'tenant_id': 'b1f2d81b7b094e3fbbddc9c3303abc9b', 'project_id': 'b1f2d81b7b094e3fbbddc9c3303abc9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33943703', 'ctest-ext_vn-40910719'], 'port_security_enabled': True, 'description': ''}}
2025-06-05 16:30:59,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '9daf42ca-19a0-4491-90d3-e7ba1322b249', 'name': '', 'tenant_id': 'b1f2d81b7b094e3fbbddc9c3303abc9b', 'network_id': 'a6fe2578-a941-4959-bcba-d60bb6089dfc', 'ip_version': 4, 'cidr': '159.209.69.0/26', 'allocation_pools': [{'start': '159.209.69.2', 'end': '159.209.69.62'}], 'gateway_ip': '159.209.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.209.69.2', 'tags': [], 'project_id': 'b1f2d81b7b094e3fbbddc9c3303abc9b'}}
2025-06-05 16:30:59,141 - INFO - Created VN ctest-ext_vn-40910719
2025-06-05 16:30:59,198 - DEBUG - VN ctest-ext_vn-40910719 UUID is a6fe2578-a941-4959-bcba-d60bb6089dfc
2025-06-05 16:30:59,368 - DEBUG - Services list from nova: [, , ]
2025-06-05 16:31:00,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3406-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3406-1)
2025-06-05 16:31:01,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3406-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3406-1)
2025-06-05 16:31:01,849 - INFO - Setting gateway for router 0ad0b07b-a591-494c-aefd-846bc3b62262 to network a6fe2578-a941-4959-bcba-d60bb6089dfc
2025-06-05 16:31:01,935 - INFO - Adding interface with subnet_id 034617b0-09d0-46d1-ae8b-7b59478d2749, port_id None to router 0ad0b07b-a591-494c-aefd-846bc3b62262
2025-06-05 16:31:02,454 - INFO - Waiting for VM ctest-TestRoutersBasic-33943703-12529319 to be up..
2025-06-05 16:31:02,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-05 16:31:07,755 - DEBUG - VM is in ACTIVE state now
2025-06-05 16:31:07,756 - INFO - VM name : ctest-TestRoutersBasic-33943703-12529319
2025-06-05 16:31:07,839 - DEBUG - VM ctest-TestRoutersBasic-33943703-12529319 ID is b0fcbbc2-b01e-41ed-845b-8f6d2ba51c70
2025-06-05 16:31:07,860 - DEBUG - VM ctest-TestRoutersBasic-33943703-12529319 launched on Node cn-jenkins-deploy-platform-ansible-os-3406-1
2025-06-05 16:31:07,941 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b0fcbbc2-b01e-41ed-845b-8f6d2ba51c70
2025-06-05 16:31:08,281 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b0fcbbc2-b01e-41ed-845b-8f6d2ba51c70
2025-06-05 16:31:08,323 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/aa5bf86b-a42b-46b8-bab6-a10117cd7bd4
2025-06-05 16:31:11,623 - 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 1027ms')
2025-06-05 16:31:11,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33943703-12529319 failed!
2025-06-05 16:31:11,682 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33943703:ctest-vn-70662115 is 54.190.234.193 and allocation pool is NOT set
2025-06-05 16:31:13,746 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.311 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 = 0.311/2.220/4.129/1.909 ms')
2025-06-05 16:31:13,746 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33943703-12529319 passed
2025-06-05 16:31:13,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 16:31:13,898 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33943703-12529319, IP 54.190.234.195, Port 22
2025-06-05 16:31:14,058 - DEBUG - VM ctest-TestRoutersBasic-33943703-12529319 is ready for SSH connections
2025-06-05 16:31:14,058 - INFO - Waiting for VM ctest-TestRoutersBasic-33943703-58316263 to be up..
2025-06-05 16:31:14,140 - DEBUG - VM is in ACTIVE state now
2025-06-05 16:31:14,140 - INFO - VM name : ctest-TestRoutersBasic-33943703-58316263
2025-06-05 16:31:14,217 - DEBUG - VM ctest-TestRoutersBasic-33943703-58316263 ID is 1d06e993-71d8-4ff1-b2ba-8eb15a206bc3
2025-06-05 16:31:14,217 - DEBUG - VM ctest-TestRoutersBasic-33943703-58316263 launched on Node cn-jenkins-deploy-platform-ansible-os-3406-1
2025-06-05 16:31:14,294 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/1d06e993-71d8-4ff1-b2ba-8eb15a206bc3
2025-06-05 16:31:14,304 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/319d641d-2da7-4974-ac08-af838d144dc6
2025-06-05 16:31:15,557 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.64 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 = 3.171/3.404/3.638/0.233 ms')
2025-06-05 16:31:15,557 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33943703-58316263 passed
2025-06-05 16:31:15,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 16:31:15,714 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33943703-58316263, IP 159.209.69.3, Port 22
2025-06-05 16:31:15,773 - 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-06-05 16:31:15,858 - DEBUG - VM ctest-TestRoutersBasic-33943703-58316263 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-05 16:31:20,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 16:31:20,858 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33943703-58316263, IP 159.209.69.3, Port 22
2025-06-05 16:31:21,014 - DEBUG - VM ctest-TestRoutersBasic-33943703-58316263 is ready for SSH connections
2025-06-05 16:31:21,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 16:31:21,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.209.69.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-06-05 16:31:21,014 - DEBUG - ping -s 56 -c 3 -W 1 159.209.69.3
2025-06-05 16:31:24,768 - DEBUG - PING 159.209.69.3 (159.209.69.3): 56 data bytes
64 bytes from 159.209.69.3: seq=0 ttl=62 time=5.140 ms
64 bytes from 159.209.69.3: seq=1 ttl=62 time=0.821 ms
64 bytes from 159.209.69.3: seq=2 ttl=62 time=0.912 ms
--- 159.209.69.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.821/2.291/5.140 ms
2025-06-05 16:31:24,768 - INFO - Ping to IP 159.209.69.3 from VM ctest-TestRoutersBasic-33943703-12529319 passed
2025-06-05 16:31:24,768 - INFO - Deleting interface with subnet_id 034617b0-09d0-46d1-ae8b-7b59478d2749, port_id None from router 0ad0b07b-a591-494c-aefd-846bc3b62262
2025-06-05 16:31:25,022 - INFO - Deleting VM ctest-TestRoutersBasic-33943703-58316263
2025-06-05 16:31:25,103 - INFO - Deleting VM ctest-TestRoutersBasic-33943703-12529319
2025-06-05 16:31:25,182 - INFO - Deleting VN ctest-ext_vn-40910719
2025-06-05 16:31:25,252 - DEBUG - VN a6fe2578-a941-4959-bcba-d60bb6089dfc still in use: Unable to complete operation on network a6fe2578-a941-4959-bcba-d60bb6089dfc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b6527610-c222-43c7-abb4-e5a3f8af1f85']
2025-06-05 16:31:25,252 - WARNING - Deleting VN ctest-ext_vn-40910719 failed..Will retry
2025-06-05 16:31:27,362 - DEBUG - Response for deleting network ()
2025-06-05 16:31:27,362 - INFO - Deleting VN ctest-vn-70662115
2025-06-05 16:31:27,473 - DEBUG - Response for deleting network ()
2025-06-05 16:31:27,728 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 16:31:27,728 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-06-05 16:31:27,729 - INFO - --------------------------------------------------------------------------------
2025-06-05 16:31:28,476 - INFO - Deleted project: ctest-TestRoutersBasic-33943703, ID : b1f2d81b-7b09-4e3f-bbdd-c9c3303abc9b