2026-02-24 15:39:56,567 - INFO - Domain Default found not creating 2026-02-24 15:39:56,747 - INFO - Project ctest-TestRoutersBasic-40324858 not found, creating it 2026-02-24 15:39:57,233 - INFO - Created Project:ctest-TestRoutersBasic-40324858, ID : 2089c358-296b-401a-981a-e27dc3d5505d 2026-02-24 15:39:58,772 - INFO - ================================================================================ 2026-02-24 15:39:58,772 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-24 15:39:58,772 - 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 2026-02-24 15:39:59,029 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-24 15:39:59,029 - INFO - Initial checks done. Running the testcase now 2026-02-24 15:39:59,029 - INFO - 2026-02-24 15:39:59,745 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40324858 2026-02-24 15:39:59,840 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40324858 2026-02-24 15:40:00,171 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40324858', 'default']} 2026-02-24 15:40:00,467 - DEBUG - Response for create_network : {'network': {'id': '047589f5-9bce-40f2-a1df-e19ad67faf30', 'name': 'ctest-vn-06162048', 'tenant_id': '2089c358296b401a981ae27dc3d5505d', 'project_id': '2089c358296b401a981ae27dc3d5505d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40324858', 'ctest-vn-06162048'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 15:40:00,644 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd83a5828-50ba-4508-9129-114dc9563054', 'name': '', 'tenant_id': '2089c358296b401a981ae27dc3d5505d', 'network_id': '047589f5-9bce-40f2-a1df-e19ad67faf30', 'ip_version': 4, 'cidr': '215.225.51.64/26', 'allocation_pools': [{'start': '215.225.51.66', 'end': '215.225.51.126'}], 'gateway_ip': '215.225.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.225.51.66', 'tags': [], 'project_id': '2089c358296b401a981ae27dc3d5505d'}} 2026-02-24 15:40:00,667 - INFO - Created VN ctest-vn-06162048 2026-02-24 15:40:00,720 - DEBUG - VN ctest-vn-06162048 UUID is 047589f5-9bce-40f2-a1df-e19ad67faf30 2026-02-24 15:40:01,058 - DEBUG - Response for create_network : {'network': {'id': '1d8651d1-d747-4acf-a79b-31159396ff1f', 'name': 'ctest-ext_vn-97168164', 'tenant_id': '2089c358296b401a981ae27dc3d5505d', 'project_id': '2089c358296b401a981ae27dc3d5505d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40324858', 'ctest-ext_vn-97168164'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 15:40:01,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '2eb3f03e-de43-4bc3-b7ba-41919f0ff81a', 'name': '', 'tenant_id': '2089c358296b401a981ae27dc3d5505d', 'network_id': '1d8651d1-d747-4acf-a79b-31159396ff1f', 'ip_version': 4, 'cidr': '42.26.202.64/26', 'allocation_pools': [{'start': '42.26.202.66', 'end': '42.26.202.126'}], 'gateway_ip': '42.26.202.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.26.202.66', 'tags': [], 'project_id': '2089c358296b401a981ae27dc3d5505d'}} 2026-02-24 15:40:01,236 - INFO - Created VN ctest-ext_vn-97168164 2026-02-24 15:40:01,292 - DEBUG - VN ctest-ext_vn-97168164 UUID is 1d8651d1-d747-4acf-a79b-31159396ff1f 2026-02-24 15:40:01,495 - DEBUG - Services list from nova: [, , ] 2026-02-24 15:40:02,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5393-1) 2026-02-24 15:40:03,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5393-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5393-1) 2026-02-24 15:40:03,867 - INFO - Setting gateway for router 19cdd068-3b8c-4e12-a273-63fbb9e523b7 to network 1d8651d1-d747-4acf-a79b-31159396ff1f 2026-02-24 15:40:03,954 - INFO - Adding interface with subnet_id d83a5828-50ba-4508-9129-114dc9563054, port_id None to router 19cdd068-3b8c-4e12-a273-63fbb9e523b7 2026-02-24 15:40:04,327 - INFO - Waiting for VM ctest-TestRoutersBasic-40324858-68188438 to be up.. 2026-02-24 15:40:04,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-24 15:40:09,612 - DEBUG - VM is in ACTIVE state now 2026-02-24 15:40:09,612 - INFO - VM name : ctest-TestRoutersBasic-40324858-68188438 2026-02-24 15:40:09,699 - DEBUG - VM ctest-TestRoutersBasic-40324858-68188438 ID is 4ee1350f-4e79-4def-8d9f-b2dce0d77bbf 2026-02-24 15:40:09,724 - DEBUG - VM ctest-TestRoutersBasic-40324858-68188438 launched on Node cn-jenkins-deploy-platform-ansible-os-5393-1 2026-02-24 15:40:09,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4ee1350f-4e79-4def-8d9f-b2dce0d77bbf 2026-02-24 15:40:10,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4ee1350f-4e79-4def-8d9f-b2dce0d77bbf 2026-02-24 15:40:10,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa54d87b-d200-4b39-aef3-d7cbf47048f2 2026-02-24 15:40:13,457 - 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 1023ms') 2026-02-24 15:40:13,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40324858-68188438 failed! 2026-02-24 15:40:13,512 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40324858:ctest-vn-06162048 is 215.225.51.65 and allocation pool is NOT set 2026-02-24 15:40:15,569 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/2.045/3.608/1.563 ms') 2026-02-24 15:40:15,570 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40324858-68188438 passed 2026-02-24 15:40:15,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 15:40:15,724 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40324858-68188438, IP 215.225.51.67, Port 22 2026-02-24 15:40:15,780 - 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': ''} 2026-02-24 15:40:15,871 - DEBUG - VM ctest-TestRoutersBasic-40324858-68188438 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-24 15:40:20,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 15:40:20,871 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40324858-68188438, IP 215.225.51.67, Port 22 2026-02-24 15:40:21,044 - DEBUG - VM ctest-TestRoutersBasic-40324858-68188438 is ready for SSH connections 2026-02-24 15:40:21,044 - INFO - Waiting for VM ctest-TestRoutersBasic-40324858-17400899 to be up.. 2026-02-24 15:40:21,116 - DEBUG - VM is in ACTIVE state now 2026-02-24 15:40:21,116 - INFO - VM name : ctest-TestRoutersBasic-40324858-17400899 2026-02-24 15:40:21,193 - DEBUG - VM ctest-TestRoutersBasic-40324858-17400899 ID is 73f6efc2-7c25-4907-af7f-789b5ba29505 2026-02-24 15:40:21,193 - DEBUG - VM ctest-TestRoutersBasic-40324858-17400899 launched on Node cn-jenkins-deploy-platform-ansible-os-5393-1 2026-02-24 15:40:21,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/73f6efc2-7c25-4907-af7f-789b5ba29505 2026-02-24 15:40:21,276 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0094b5ca-9865-4a27-bfa5-98961c76f239 2026-02-24 15:40:22,519 - 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=4.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.453 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 = 0.453/2.384/4.315/1.931 ms') 2026-02-24 15:40:22,519 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40324858-17400899 passed 2026-02-24 15:40:22,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 15:40:22,668 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40324858-17400899, IP 42.26.202.67, Port 22 2026-02-24 15:40:22,822 - DEBUG - VM ctest-TestRoutersBasic-40324858-17400899 is ready for SSH connections 2026-02-24 15:40:22,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 15:40:22,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.26.202.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-24 15:40:22,823 - DEBUG - ping -s 56 -c 3 -W 1 42.26.202.67 2026-02-24 15:40:26,541 - DEBUG - PING 42.26.202.67 (42.26.202.67): 56 data bytes 64 bytes from 42.26.202.67: seq=0 ttl=62 time=7.475 ms 64 bytes from 42.26.202.67: seq=1 ttl=62 time=0.906 ms 64 bytes from 42.26.202.67: seq=2 ttl=62 time=1.140 ms --- 42.26.202.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/3.173/7.475 ms 2026-02-24 15:40:26,541 - INFO - Ping to IP 42.26.202.67 from VM ctest-TestRoutersBasic-40324858-68188438 passed 2026-02-24 15:40:26,541 - INFO - Deleting interface with subnet_id d83a5828-50ba-4508-9129-114dc9563054, port_id None from router 19cdd068-3b8c-4e12-a273-63fbb9e523b7 2026-02-24 15:40:26,735 - INFO - Deleting VM ctest-TestRoutersBasic-40324858-17400899 2026-02-24 15:40:26,812 - INFO - Deleting VM ctest-TestRoutersBasic-40324858-68188438 2026-02-24 15:40:26,899 - INFO - Deleting VN ctest-ext_vn-97168164 2026-02-24 15:40:26,979 - DEBUG - VN 1d8651d1-d747-4acf-a79b-31159396ff1f still in use: Unable to complete operation on network 1d8651d1-d747-4acf-a79b-31159396ff1f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e01dfd1f-5775-46be-a2a4-247340480783'] 2026-02-24 15:40:26,979 - WARNING - Deleting VN ctest-ext_vn-97168164 failed..Will retry 2026-02-24 15:40:29,077 - DEBUG - Response for deleting network () 2026-02-24 15:40:29,077 - INFO - Deleting VN ctest-vn-06162048 2026-02-24 15:40:29,177 - DEBUG - Response for deleting network () 2026-02-24 15:40:29,433 - DEBUG - No XMPP flaps were noticed during the test
2026-02-24 15:40:29,433 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-02-24 15:40:29,433 - INFO - -------------------------------------------------------------------------------- 2026-02-24 15:40:30,108 - INFO - Deleted project: ctest-TestRoutersBasic-40324858, ID : 2089c358-296b-401a-981a-e27dc3d5505d