2025-10-27 14:58:52,350 - INFO - Domain Default found not creating
2025-10-27 14:58:52,508 - INFO - Project ctest-TestRoutersBasic-51606373 not found, creating it
2025-10-27 14:58:52,968 - INFO - Created Project:ctest-TestRoutersBasic-51606373, ID : 7d7b9ed3-128e-4922-91fa-1fdf2e7a18aa
2025-10-27 14:58:54,546 - INFO - ================================================================================
2025-10-27 14:58:54,546 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-27 14:58:54,547 - 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-27 14:58:54,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-10-27 14:58:54,800 - INFO - Initial checks done. Running the testcase now
2025-10-27 14:58:54,800 - INFO -
2025-10-27 14:58:55,581 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51606373
2025-10-27 14:58:55,679 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51606373
2025-10-27 14:58:56,002 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51606373', 'default']}
2025-10-27 14:58:56,291 - DEBUG - Response for create_network : {'network': {'id': '0e1b2704-2516-4660-8925-8ad1919767ce', 'name': 'ctest-vn-28918855', 'tenant_id': '7d7b9ed3128e492291fa1fdf2e7a18aa', 'project_id': '7d7b9ed3128e492291fa1fdf2e7a18aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51606373', 'ctest-vn-28918855'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 14:58:56,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '837f6e04-30dc-41e4-87d0-ea04186fba84', 'name': '', 'tenant_id': '7d7b9ed3128e492291fa1fdf2e7a18aa', 'network_id': '0e1b2704-2516-4660-8925-8ad1919767ce', 'ip_version': 4, 'cidr': '19.202.165.192/26', 'allocation_pools': [{'start': '19.202.165.194', 'end': '19.202.165.254'}], 'gateway_ip': '19.202.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.202.165.194', 'tags': [], 'project_id': '7d7b9ed3128e492291fa1fdf2e7a18aa'}}
2025-10-27 14:58:56,526 - INFO - Created VN ctest-vn-28918855
2025-10-27 14:58:56,579 - DEBUG - VN ctest-vn-28918855 UUID is 0e1b2704-2516-4660-8925-8ad1919767ce
2025-10-27 14:58:56,893 - DEBUG - Response for create_network : {'network': {'id': 'b22f40c0-8435-4475-85f1-2bc8246b1c62', 'name': 'ctest-ext_vn-41966091', 'tenant_id': '7d7b9ed3128e492291fa1fdf2e7a18aa', 'project_id': '7d7b9ed3128e492291fa1fdf2e7a18aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51606373', 'ctest-ext_vn-41966091'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 14:58:57,079 - DEBUG - Response for create_subnet : {'subnet': {'id': '220ed251-82c9-4a03-bba8-88158923d64d', 'name': '', 'tenant_id': '7d7b9ed3128e492291fa1fdf2e7a18aa', 'network_id': 'b22f40c0-8435-4475-85f1-2bc8246b1c62', 'ip_version': 4, 'cidr': '171.39.140.192/26', 'allocation_pools': [{'start': '171.39.140.194', 'end': '171.39.140.254'}], 'gateway_ip': '171.39.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.39.140.194', 'tags': [], 'project_id': '7d7b9ed3128e492291fa1fdf2e7a18aa'}}
2025-10-27 14:58:57,102 - INFO - Created VN ctest-ext_vn-41966091
2025-10-27 14:58:57,155 - DEBUG - VN ctest-ext_vn-41966091 UUID is b22f40c0-8435-4475-85f1-2bc8246b1c62
2025-10-27 14:58:57,356 - DEBUG - Services list from nova: [, , ]
2025-10-27 14:58:58,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1)
2025-10-27 14:58:59,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1)
2025-10-27 14:58:59,737 - INFO - Setting gateway for router 777e6837-50c6-41b5-a319-f355e985425f to network b22f40c0-8435-4475-85f1-2bc8246b1c62
2025-10-27 14:58:59,790 - INFO - Adding interface with subnet_id 837f6e04-30dc-41e4-87d0-ea04186fba84, port_id None to router 777e6837-50c6-41b5-a319-f355e985425f
2025-10-27 14:59:00,137 - INFO - Waiting for VM ctest-TestRoutersBasic-51606373-56456750 to be up..
2025-10-27 14:59:00,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 14:59:05,387 - DEBUG - VM is in ACTIVE state now
2025-10-27 14:59:05,387 - INFO - VM name : ctest-TestRoutersBasic-51606373-56456750
2025-10-27 14:59:05,466 - DEBUG - VM ctest-TestRoutersBasic-51606373-56456750 ID is a793e463-100e-4ffe-b228-cc9878248e6f
2025-10-27 14:59:05,488 - DEBUG - VM ctest-TestRoutersBasic-51606373-56456750 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1
2025-10-27 14:59:05,566 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a793e463-100e-4ffe-b228-cc9878248e6f
2025-10-27 14:59:05,903 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a793e463-100e-4ffe-b228-cc9878248e6f
2025-10-27 14:59:05,934 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/db37d48b-048e-4628-a6e2-967385408aae
2025-10-27 14:59:09,175 - 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 1005ms')
2025-10-27 14:59:09,175 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51606373-56456750 failed!
2025-10-27 14:59:09,234 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51606373:ctest-vn-28918855 is 19.202.165.193 and allocation pool is NOT set
2025-10-27 14:59:11,300 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.619 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.619/2.481/4.344/1.862 ms')
2025-10-27 14:59:11,301 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51606373-56456750 passed
2025-10-27 14:59:11,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 14:59:11,451 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51606373-56456750, IP 19.202.165.195, Port 22
2025-10-27 14:59:11,616 - DEBUG - VM ctest-TestRoutersBasic-51606373-56456750 is ready for SSH connections
2025-10-27 14:59:11,616 - INFO - Waiting for VM ctest-TestRoutersBasic-51606373-33345483 to be up..
2025-10-27 14:59:11,700 - DEBUG - VM is in ACTIVE state now
2025-10-27 14:59:11,700 - INFO - VM name : ctest-TestRoutersBasic-51606373-33345483
2025-10-27 14:59:11,771 - DEBUG - VM ctest-TestRoutersBasic-51606373-33345483 ID is 3d9a02d4-a6a3-4e88-af7e-944a213f09a6
2025-10-27 14:59:11,771 - DEBUG - VM ctest-TestRoutersBasic-51606373-33345483 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1
2025-10-27 14:59:11,840 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3d9a02d4-a6a3-4e88-af7e-944a213f09a6
2025-10-27 14:59:11,848 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b68852ad-311e-4e29-b09d-f7738eec9351
2025-10-27 14:59:13,079 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.12 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 = 2.117/3.191/4.266/1.074 ms')
2025-10-27 14:59:13,080 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51606373-33345483 passed
2025-10-27 14:59:13,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 14:59:13,231 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51606373-33345483, IP 171.39.140.195, Port 22
2025-10-27 14:59:13,297 - 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-10-27 14:59:13,371 - DEBUG - VM ctest-TestRoutersBasic-51606373-33345483 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-27 14:59:18,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 14:59:18,372 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51606373-33345483, IP 171.39.140.195, Port 22
2025-10-27 14:59:18,530 - DEBUG - VM ctest-TestRoutersBasic-51606373-33345483 is ready for SSH connections
2025-10-27 14:59:18,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 14:59:18,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.39.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-27 14:59:18,531 - DEBUG - ping -s 56 -c 3 -W 1 171.39.140.195
2025-10-27 14:59:22,283 - DEBUG - PING 171.39.140.195 (171.39.140.195): 56 data bytes
64 bytes from 171.39.140.195: seq=0 ttl=62 time=7.094 ms
64 bytes from 171.39.140.195: seq=1 ttl=62 time=0.879 ms
64 bytes from 171.39.140.195: seq=2 ttl=62 time=1.086 ms
--- 171.39.140.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.879/3.019/7.094 ms
2025-10-27 14:59:22,283 - INFO - Ping to IP 171.39.140.195 from VM ctest-TestRoutersBasic-51606373-56456750 passed
2025-10-27 14:59:22,283 - INFO - Deleting interface with subnet_id 837f6e04-30dc-41e4-87d0-ea04186fba84, port_id None from router 777e6837-50c6-41b5-a319-f355e985425f
2025-10-27 14:59:22,446 - INFO - Deleting VM ctest-TestRoutersBasic-51606373-33345483
2025-10-27 14:59:22,513 - INFO - Deleting VM ctest-TestRoutersBasic-51606373-56456750
2025-10-27 14:59:22,596 - INFO - Deleting VN ctest-ext_vn-41966091
2025-10-27 14:59:22,663 - DEBUG - VN b22f40c0-8435-4475-85f1-2bc8246b1c62 still in use: Unable to complete operation on network b22f40c0-8435-4475-85f1-2bc8246b1c62. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a4dd3be2-faa5-4cf8-b3a8-68a5239cee46']
2025-10-27 14:59:22,664 - WARNING - Deleting VN ctest-ext_vn-41966091 failed..Will retry
2025-10-27 14:59:24,754 - DEBUG - Response for deleting network ()
2025-10-27 14:59:24,754 - INFO - Deleting VN ctest-vn-28918855
2025-10-27 14:59:24,859 - DEBUG - Response for deleting network ()
2025-10-27 14:59:25,111 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 14:59:25,111 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-27 14:59:25,111 - INFO - --------------------------------------------------------------------------------
2025-10-27 14:59:25,832 - INFO - Deleted project: ctest-TestRoutersBasic-51606373, ID : 7d7b9ed3-128e-4922-91fa-1fdf2e7a18aa