2026-08-04 06:16:13,624 - INFO - Domain Default found not creating
2026-08-04 06:16:13,818 - INFO - Project ctest-TestRoutersBasic-68730335 not found, creating it
2026-08-04 06:16:14,479 - INFO - Created Project:ctest-TestRoutersBasic-68730335, ID : aa4b6145-934b-4358-aea5-ef0a36667fbd
2026-08-04 06:16:16,303 - INFO - ================================================================================
2026-08-04 06:16:16,303 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-08-04 06:16:16,303 - 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-08-04 06:16:16,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-08-04 06:16:16,576 - INFO - Initial checks done. Running the testcase now
2026-08-04 06:16:16,576 - INFO -
2026-08-04 06:16:17,456 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68730335
2026-08-04 06:16:17,558 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68730335
2026-08-04 06:16:17,901 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68730335', 'default']}
2026-08-04 06:16:18,225 - DEBUG - Response for create_network : {'network': {'id': 'f418e617-ab74-4a2e-ba0b-f8a49251c961', 'name': 'ctest-vn-88800522', 'tenant_id': 'aa4b6145934b4358aea5ef0a36667fbd', 'project_id': 'aa4b6145934b4358aea5ef0a36667fbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68730335', 'ctest-vn-88800522'], 'port_security_enabled': True, 'description': ''}}
2026-08-04 06:16:18,434 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb7a8fd6-bc70-4397-86fe-88bdbe77a695', 'name': '', 'tenant_id': 'aa4b6145934b4358aea5ef0a36667fbd', 'network_id': 'f418e617-ab74-4a2e-ba0b-f8a49251c961', 'ip_version': 4, 'cidr': '85.236.191.64/26', 'allocation_pools': [{'start': '85.236.191.66', 'end': '85.236.191.126'}], 'gateway_ip': '85.236.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.236.191.66', 'tags': [], 'project_id': 'aa4b6145934b4358aea5ef0a36667fbd'}}
2026-08-04 06:16:18,456 - INFO - Created VN ctest-vn-88800522
2026-08-04 06:16:18,517 - DEBUG - VN ctest-vn-88800522 UUID is f418e617-ab74-4a2e-ba0b-f8a49251c961
2026-08-04 06:16:18,916 - DEBUG - Response for create_network : {'network': {'id': '5cf7a2f6-0ddf-4f68-a1a9-bc19102680b5', 'name': 'ctest-ext_vn-55342960', 'tenant_id': 'aa4b6145934b4358aea5ef0a36667fbd', 'project_id': 'aa4b6145934b4358aea5ef0a36667fbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68730335', 'ctest-ext_vn-55342960'], 'port_security_enabled': True, 'description': ''}}
2026-08-04 06:16:19,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '90b1843f-493b-4c43-9d14-c1cfd0f3f1ba', 'name': '', 'tenant_id': 'aa4b6145934b4358aea5ef0a36667fbd', 'network_id': '5cf7a2f6-0ddf-4f68-a1a9-bc19102680b5', 'ip_version': 4, 'cidr': '219.169.58.192/26', 'allocation_pools': [{'start': '219.169.58.194', 'end': '219.169.58.254'}], 'gateway_ip': '219.169.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.169.58.194', 'tags': [], 'project_id': 'aa4b6145934b4358aea5ef0a36667fbd'}}
2026-08-04 06:16:19,183 - INFO - Created VN ctest-ext_vn-55342960
2026-08-04 06:16:19,241 - DEBUG - VN ctest-ext_vn-55342960 UUID is 5cf7a2f6-0ddf-4f68-a1a9-bc19102680b5
2026-08-04 06:16:19,418 - DEBUG - Services list from nova: [, , ]
2026-08-04 06:16:20,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6130-1)
2026-08-04 06:16:20,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6130-1)
2026-08-04 06:16:20,610 - INFO - Setting gateway for router 982839a5-8201-4b13-8e81-baa6e5bd40b9 to network 5cf7a2f6-0ddf-4f68-a1a9-bc19102680b5
2026-08-04 06:16:20,724 - INFO - Adding interface with subnet_id cb7a8fd6-bc70-4397-86fe-88bdbe77a695, port_id None to router 982839a5-8201-4b13-8e81-baa6e5bd40b9
2026-08-04 06:16:21,161 - INFO - Waiting for VM ctest-TestRoutersBasic-68730335-76512298 to be up..
2026-08-04 06:16:21,235 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-04 06:16:26,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-04 06:16:31,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-04 06:16:36,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-04 06:16:41,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-04 06:16:46,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-04 06:16:51,839 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-04 06:16:56,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-04 06:17:02,028 - DEBUG - VM is in ACTIVE state now
2026-08-04 06:17:02,028 - INFO - VM name : ctest-TestRoutersBasic-68730335-76512298
2026-08-04 06:17:02,143 - DEBUG - VM ctest-TestRoutersBasic-68730335-76512298 ID is a8a96ebb-635a-470e-a021-9a50e0dc47bd
2026-08-04 06:17:02,174 - DEBUG - VM ctest-TestRoutersBasic-68730335-76512298 launched on Node cn-jenkins-deploy-platform-ansible-os-6130-1
2026-08-04 06:17:02,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a8a96ebb-635a-470e-a021-9a50e0dc47bd
2026-08-04 06:17:02,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a8a96ebb-635a-470e-a021-9a50e0dc47bd
2026-08-04 06:17:02,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/88aa1479-b0d6-47d6-8f3f-977357832633
2026-08-04 06:17:05,993 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms')
2026-08-04 06:17:05,994 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-68730335-76512298 failed!
2026-08-04 06:17:06,053 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68730335:ctest-vn-88800522 is 85.236.191.65 and allocation pool is NOT set
2026-08-04 06:17:08,114 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.01 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.679 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.679/2.345/4.011/1.666 ms')
2026-08-04 06:17:08,114 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-68730335-76512298 passed
2026-08-04 06:17:08,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-04 06:17:08,274 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68730335-76512298, IP 85.236.191.67, Port 22
2026-08-04 06:17:08,443 - DEBUG - VM ctest-TestRoutersBasic-68730335-76512298 is ready for SSH connections
2026-08-04 06:17:08,443 - INFO - Waiting for VM ctest-TestRoutersBasic-68730335-95490265 to be up..
2026-08-04 06:17:08,533 - DEBUG - VM is in ACTIVE state now
2026-08-04 06:17:08,533 - INFO - VM name : ctest-TestRoutersBasic-68730335-95490265
2026-08-04 06:17:08,634 - DEBUG - VM ctest-TestRoutersBasic-68730335-95490265 ID is 7488ffa4-34c8-41d6-8cd5-4f8072bc2eaf
2026-08-04 06:17:08,634 - DEBUG - VM ctest-TestRoutersBasic-68730335-95490265 launched on Node cn-jenkins-deploy-platform-ansible-os-6130-1
2026-08-04 06:17:08,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7488ffa4-34c8-41d6-8cd5-4f8072bc2eaf
2026-08-04 06:17:08,750 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/705d65d8-fb50-4650-ab44-62461f9ee606
2026-08-04 06:17:09,997 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=9.84 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.68 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.676/6.256/9.836/3.580 ms')
2026-08-04 06:17:09,997 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-68730335-95490265 passed
2026-08-04 06:17:10,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-04 06:17:10,162 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68730335-95490265, IP 219.169.58.196, Port 22
2026-08-04 06:17:10,227 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-04 06:17:10,310 - DEBUG - VM ctest-TestRoutersBasic-68730335-95490265 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-04 06:17:15,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-04 06:17:15,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68730335-95490265, IP 219.169.58.196, Port 22
2026-08-04 06:17:15,484 - DEBUG - VM ctest-TestRoutersBasic-68730335-95490265 is ready for SSH connections
2026-08-04 06:17:15,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-04 06:17:15,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.169.58.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-08-04 06:17:15,484 - DEBUG - ping -s 56 -c 3 -W 1 219.169.58.196
2026-08-04 06:17:18,912 - DEBUG - PING 219.169.58.196 (219.169.58.196): 56 data bytes
64 bytes from 219.169.58.196: seq=0 ttl=62 time=7.736 ms
64 bytes from 219.169.58.196: seq=1 ttl=62 time=1.225 ms
64 bytes from 219.169.58.196: seq=2 ttl=62 time=1.318 ms
--- 219.169.58.196 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.225/3.426/7.736 ms
2026-08-04 06:17:18,913 - INFO - Ping to IP 219.169.58.196 from VM ctest-TestRoutersBasic-68730335-76512298 passed
2026-08-04 06:17:18,913 - INFO - Deleting interface with subnet_id cb7a8fd6-bc70-4397-86fe-88bdbe77a695, port_id None from router 982839a5-8201-4b13-8e81-baa6e5bd40b9
2026-08-04 06:17:19,223 - INFO - Deleting VM ctest-TestRoutersBasic-68730335-95490265
2026-08-04 06:17:19,318 - INFO - Deleting VM ctest-TestRoutersBasic-68730335-76512298
2026-08-04 06:17:19,401 - INFO - Deleting VN ctest-ext_vn-55342960
2026-08-04 06:17:19,491 - DEBUG - VN 5cf7a2f6-0ddf-4f68-a1a9-bc19102680b5 still in use: Unable to complete operation on network 5cf7a2f6-0ddf-4f68-a1a9-bc19102680b5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f2a713dc-445d-4462-a70f-f28ab5f1ab03']
2026-08-04 06:17:19,491 - WARNING - Deleting VN ctest-ext_vn-55342960 failed..Will retry
2026-08-04 06:17:21,724 - DEBUG - Response for deleting network ()
2026-08-04 06:17:21,724 - INFO - Deleting VN ctest-vn-88800522
2026-08-04 06:17:21,975 - DEBUG - Response for deleting network ()
2026-08-04 06:17:22,239 - DEBUG - No XMPP flaps were noticed during the test
2026-08-04 06:17:22,239 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06]
2026-08-04 06:17:22,239 - INFO - --------------------------------------------------------------------------------
2026-08-04 06:17:23,048 - INFO - Deleted project: ctest-TestRoutersBasic-68730335, ID : aa4b6145-934b-4358-aea5-ef0a36667fbd