2025-12-25 02:19:31,483 - INFO - Domain Default found not creating
2025-12-25 02:19:31,646 - INFO - Project ctest-TestRoutersBasic-39370059 not found, creating it
2025-12-25 02:19:32,107 - INFO - Created Project:ctest-TestRoutersBasic-39370059, ID : e7336574-9730-4ec8-a70d-4ead93caba0c
2025-12-25 02:19:33,667 - INFO - ================================================================================
2025-12-25 02:19:33,668 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-25 02:19:33,668 - 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-12-25 02:19:33,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.210': '0'}} with
2025-12-25 02:19:33,925 - INFO - Initial checks done. Running the testcase now
2025-12-25 02:19:33,925 - INFO -
2025-12-25 02:19:34,680 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39370059
2025-12-25 02:19:34,776 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39370059
2025-12-25 02:19:35,092 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39370059', 'default']}
2025-12-25 02:19:35,383 - DEBUG - Response for create_network : {'network': {'id': 'a779fcf1-55e9-46fe-ad5a-76ef85779087', 'name': 'ctest-vn-69618884', 'tenant_id': 'e733657497304ec8a70d4ead93caba0c', 'project_id': 'e733657497304ec8a70d4ead93caba0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39370059', 'ctest-vn-69618884'], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:19:35,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '6174c65a-9285-465a-b2fd-458206349843', 'name': '', 'tenant_id': 'e733657497304ec8a70d4ead93caba0c', 'network_id': 'a779fcf1-55e9-46fe-ad5a-76ef85779087', 'ip_version': 4, 'cidr': '144.83.109.192/26', 'allocation_pools': [{'start': '144.83.109.194', 'end': '144.83.109.254'}], 'gateway_ip': '144.83.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.83.109.194', 'tags': [], 'project_id': 'e733657497304ec8a70d4ead93caba0c'}}
2025-12-25 02:19:35,564 - INFO - Created VN ctest-vn-69618884
2025-12-25 02:19:35,616 - DEBUG - VN ctest-vn-69618884 UUID is a779fcf1-55e9-46fe-ad5a-76ef85779087
2025-12-25 02:19:35,952 - DEBUG - Response for create_network : {'network': {'id': 'ffccd346-4a74-4787-85ae-f4c34eb53ab4', 'name': 'ctest-ext_vn-51090687', 'tenant_id': 'e733657497304ec8a70d4ead93caba0c', 'project_id': 'e733657497304ec8a70d4ead93caba0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39370059', 'ctest-ext_vn-51090687'], 'port_security_enabled': True, 'description': ''}}
2025-12-25 02:19:36,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '316acc3f-903b-4c3c-ac9e-0dc3c3079b5d', 'name': '', 'tenant_id': 'e733657497304ec8a70d4ead93caba0c', 'network_id': 'ffccd346-4a74-4787-85ae-f4c34eb53ab4', 'ip_version': 4, 'cidr': '110.122.49.128/26', 'allocation_pools': [{'start': '110.122.49.130', 'end': '110.122.49.190'}], 'gateway_ip': '110.122.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.122.49.130', 'tags': [], 'project_id': 'e733657497304ec8a70d4ead93caba0c'}}
2025-12-25 02:19:36,186 - INFO - Created VN ctest-ext_vn-51090687
2025-12-25 02:19:36,240 - DEBUG - VN ctest-ext_vn-51090687 UUID is ffccd346-4a74-4787-85ae-f4c34eb53ab4
2025-12-25 02:19:36,449 - DEBUG - Services list from nova: [, , ]
2025-12-25 02:19:37,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4924-1)
2025-12-25 02:19:38,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4924-1)
2025-12-25 02:19:38,693 - INFO - Setting gateway for router 8ab227e9-0755-4dc3-9977-9e44843862ec to network ffccd346-4a74-4787-85ae-f4c34eb53ab4
2025-12-25 02:19:38,751 - INFO - Adding interface with subnet_id 6174c65a-9285-465a-b2fd-458206349843, port_id None to router 8ab227e9-0755-4dc3-9977-9e44843862ec
2025-12-25 02:19:39,069 - INFO - Waiting for VM ctest-TestRoutersBasic-39370059-76104872 to be up..
2025-12-25 02:19:39,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-25 02:19:44,333 - DEBUG - VM is in ACTIVE state now
2025-12-25 02:19:44,333 - INFO - VM name : ctest-TestRoutersBasic-39370059-76104872
2025-12-25 02:19:44,423 - DEBUG - VM ctest-TestRoutersBasic-39370059-76104872 ID is 306bc51f-8bb7-4bd4-b2f6-8335a45d9ae5
2025-12-25 02:19:44,443 - DEBUG - VM ctest-TestRoutersBasic-39370059-76104872 launched on Node cn-jenkins-deploy-platform-ansible-os-4924-1
2025-12-25 02:19:44,520 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/306bc51f-8bb7-4bd4-b2f6-8335a45d9ae5
2025-12-25 02:19:44,830 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/306bc51f-8bb7-4bd4-b2f6-8335a45d9ae5
2025-12-25 02:19:44,874 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/9a351a30-0ec0-4631-b4db-d461c6579bc2
2025-12-25 02:19:48,146 - 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-12-25 02:19:48,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39370059-76104872 failed!
2025-12-25 02:19:48,200 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39370059:ctest-vn-69618884 is 144.83.109.193 and allocation pool is NOT set
2025-12-25 02:19:50,262 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/1.929/3.409/1.479 ms')
2025-12-25 02:19:50,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39370059-76104872 passed
2025-12-25 02:19:50,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:19:50,412 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39370059-76104872, IP 144.83.109.195, Port 22
2025-12-25 02:19:50,571 - DEBUG - VM ctest-TestRoutersBasic-39370059-76104872 is ready for SSH connections
2025-12-25 02:19:50,571 - INFO - Waiting for VM ctest-TestRoutersBasic-39370059-60315808 to be up..
2025-12-25 02:19:50,652 - DEBUG - VM is in ACTIVE state now
2025-12-25 02:19:50,653 - INFO - VM name : ctest-TestRoutersBasic-39370059-60315808
2025-12-25 02:19:50,739 - DEBUG - VM ctest-TestRoutersBasic-39370059-60315808 ID is 4960683e-8d02-4b8b-9fe1-5ef0c2c10057
2025-12-25 02:19:50,740 - DEBUG - VM ctest-TestRoutersBasic-39370059-60315808 launched on Node cn-jenkins-deploy-platform-ansible-os-4924-1
2025-12-25 02:19:50,812 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/4960683e-8d02-4b8b-9fe1-5ef0c2c10057
2025-12-25 02:19:50,819 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ab7cd3a7-43dc-4ec3-a4ad-efa9eaff8f1e
2025-12-25 02:19:52,063 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.30 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 = 1.302/2.713/4.124/1.411 ms')
2025-12-25 02:19:52,064 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39370059-60315808 passed
2025-12-25 02:19:52,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:19:52,212 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39370059-60315808, IP 110.122.49.131, Port 22
2025-12-25 02:19:52,268 - 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-12-25 02:19:52,342 - DEBUG - VM ctest-TestRoutersBasic-39370059-60315808 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-25 02:19:57,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:19:57,343 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39370059-60315808, IP 110.122.49.131, Port 22
2025-12-25 02:19:57,500 - DEBUG - VM ctest-TestRoutersBasic-39370059-60315808 is ready for SSH connections
2025-12-25 02:19:57,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-25 02:19:57,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.122.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-12-25 02:19:57,501 - DEBUG - ping -s 56 -c 3 -W 1 110.122.49.131
2025-12-25 02:20:01,219 - DEBUG - PING 110.122.49.131 (110.122.49.131): 56 data bytes
64 bytes from 110.122.49.131: seq=0 ttl=62 time=6.680 ms
64 bytes from 110.122.49.131: seq=1 ttl=62 time=1.162 ms
64 bytes from 110.122.49.131: seq=2 ttl=62 time=0.984 ms
--- 110.122.49.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.984/2.942/6.680 ms
2025-12-25 02:20:01,219 - INFO - Ping to IP 110.122.49.131 from VM ctest-TestRoutersBasic-39370059-76104872 passed
2025-12-25 02:20:01,219 - INFO - Deleting interface with subnet_id 6174c65a-9285-465a-b2fd-458206349843, port_id None from router 8ab227e9-0755-4dc3-9977-9e44843862ec
2025-12-25 02:20:01,432 - INFO - Deleting VM ctest-TestRoutersBasic-39370059-60315808
2025-12-25 02:20:01,523 - INFO - Deleting VM ctest-TestRoutersBasic-39370059-76104872
2025-12-25 02:20:01,613 - INFO - Deleting VN ctest-ext_vn-51090687
2025-12-25 02:20:01,686 - DEBUG - VN ffccd346-4a74-4787-85ae-f4c34eb53ab4 still in use: Unable to complete operation on network ffccd346-4a74-4787-85ae-f4c34eb53ab4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-16aa2516-9fba-49a4-815d-eb23b386a522']
2025-12-25 02:20:01,687 - WARNING - Deleting VN ctest-ext_vn-51090687 failed..Will retry
2025-12-25 02:20:03,792 - DEBUG - Response for deleting network ()
2025-12-25 02:20:03,793 - INFO - Deleting VN ctest-vn-69618884
2025-12-25 02:20:03,897 - DEBUG - Response for deleting network ()
2025-12-25 02:20:04,153 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:20:04,153 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-12-25 02:20:04,153 - INFO - --------------------------------------------------------------------------------
2025-12-25 02:20:04,871 - INFO - Deleted project: ctest-TestRoutersBasic-39370059, ID : e7336574-9730-4ec8-a70d-4ead93caba0c