2026-07-12 13:14:27,074 - INFO - Domain Default found not creating
2026-07-12 13:14:27,237 - INFO - Project ctest-TestRoutersBasic-31605689 not found, creating it
2026-07-12 13:14:27,726 - INFO - Created Project:ctest-TestRoutersBasic-31605689, ID : 5b161f8b-3f8d-4c4c-a484-b0eaf909baac
2026-07-12 13:14:29,217 - INFO - ================================================================================
2026-07-12 13:14:29,218 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-07-12 13:14:29,218 - 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-07-12 13:14:29,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-07-12 13:14:29,472 - INFO - Initial checks done. Running the testcase now
2026-07-12 13:14:29,472 - INFO -
2026-07-12 13:14:30,222 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31605689
2026-07-12 13:14:30,326 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31605689
2026-07-12 13:14:30,650 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31605689', 'default']}
2026-07-12 13:14:30,933 - DEBUG - Response for create_network : {'network': {'id': 'b9b885f9-9ee6-4d78-b803-89745cac1429', 'name': 'ctest-vn-75424371', 'tenant_id': '5b161f8b3f8d4c4ca484b0eaf909baac', 'project_id': '5b161f8b3f8d4c4ca484b0eaf909baac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31605689', 'ctest-vn-75424371'], 'port_security_enabled': True, 'description': ''}}
2026-07-12 13:14:31,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '88970f33-418f-4535-a63a-e8e952d41c9a', 'name': '', 'tenant_id': '5b161f8b3f8d4c4ca484b0eaf909baac', 'network_id': 'b9b885f9-9ee6-4d78-b803-89745cac1429', 'ip_version': 4, 'cidr': '80.49.109.128/26', 'allocation_pools': [{'start': '80.49.109.130', 'end': '80.49.109.190'}], 'gateway_ip': '80.49.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.49.109.130', 'tags': [], 'project_id': '5b161f8b3f8d4c4ca484b0eaf909baac'}}
2026-07-12 13:14:31,174 - INFO - Created VN ctest-vn-75424371
2026-07-12 13:14:31,226 - DEBUG - VN ctest-vn-75424371 UUID is b9b885f9-9ee6-4d78-b803-89745cac1429
2026-07-12 13:14:31,559 - DEBUG - Response for create_network : {'network': {'id': 'f0ecba40-538c-44c4-ac59-e1855984c479', 'name': 'ctest-ext_vn-23221474', 'tenant_id': '5b161f8b3f8d4c4ca484b0eaf909baac', 'project_id': '5b161f8b3f8d4c4ca484b0eaf909baac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31605689', 'ctest-ext_vn-23221474'], 'port_security_enabled': True, 'description': ''}}
2026-07-12 13:14:31,777 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae37e1b2-17d6-4875-bfdd-9f25bc3a400d', 'name': '', 'tenant_id': '5b161f8b3f8d4c4ca484b0eaf909baac', 'network_id': 'f0ecba40-538c-44c4-ac59-e1855984c479', 'ip_version': 4, 'cidr': '125.97.21.0/26', 'allocation_pools': [{'start': '125.97.21.2', 'end': '125.97.21.62'}], 'gateway_ip': '125.97.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.97.21.2', 'tags': [], 'project_id': '5b161f8b3f8d4c4ca484b0eaf909baac'}}
2026-07-12 13:14:31,790 - INFO - Created VN ctest-ext_vn-23221474
2026-07-12 13:14:31,842 - DEBUG - VN ctest-ext_vn-23221474 UUID is f0ecba40-538c-44c4-ac59-e1855984c479
2026-07-12 13:14:32,035 - DEBUG - Services list from nova: [, , ]
2026-07-12 13:14:32,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6094-1)
2026-07-12 13:14:32,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6094-1)
2026-07-12 13:14:32,759 - INFO - Setting gateway for router e3f1f4ff-c605-4c8f-8e44-9a22a2410f63 to network f0ecba40-538c-44c4-ac59-e1855984c479
2026-07-12 13:14:32,819 - INFO - Adding interface with subnet_id 88970f33-418f-4535-a63a-e8e952d41c9a, port_id None to router e3f1f4ff-c605-4c8f-8e44-9a22a2410f63
2026-07-12 13:14:33,072 - INFO - Waiting for VM ctest-TestRoutersBasic-31605689-57354273 to be up..
2026-07-12 13:14:33,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-12 13:14:38,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-12 13:14:43,274 - DEBUG - VM is in ACTIVE state now
2026-07-12 13:14:43,274 - INFO - VM name : ctest-TestRoutersBasic-31605689-57354273
2026-07-12 13:14:43,340 - DEBUG - VM ctest-TestRoutersBasic-31605689-57354273 ID is 63f22ea5-dd9d-4fd4-bb0e-376e614f8eb1
2026-07-12 13:14:43,357 - DEBUG - VM ctest-TestRoutersBasic-31605689-57354273 launched on Node cn-jenkins-deploy-platform-ansible-os-6094-1
2026-07-12 13:14:43,423 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/63f22ea5-dd9d-4fd4-bb0e-376e614f8eb1
2026-07-12 13:14:43,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/63f22ea5-dd9d-4fd4-bb0e-376e614f8eb1
2026-07-12 13:14:43,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6dba87a9-bc43-43ed-94ea-ec651a588f3d
2026-07-12 13:14:47,068 - 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 1002ms')
2026-07-12 13:14:47,068 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31605689-57354273 failed!
2026-07-12 13:14:47,122 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31605689:ctest-vn-75424371 is 80.49.109.129 and allocation pool is NOT set
2026-07-12 13:14:49,188 - 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=12.0 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.45 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.449/7.742/12.036/4.293 ms')
2026-07-12 13:14:49,189 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31605689-57354273 passed
2026-07-12 13:14:49,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-12 13:14:49,350 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31605689-57354273, IP 80.49.109.131, Port 22
2026-07-12 13:14:49,419 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-07-12 13:14:49,526 - DEBUG - VM ctest-TestRoutersBasic-31605689-57354273 is NOT ready for SSH connections, VM status: ACTIVE
2026-07-12 13:14:54,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-12 13:14:54,527 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31605689-57354273, IP 80.49.109.131, Port 22
2026-07-12 13:14:54,694 - DEBUG - VM ctest-TestRoutersBasic-31605689-57354273 is ready for SSH connections
2026-07-12 13:14:54,694 - INFO - Waiting for VM ctest-TestRoutersBasic-31605689-01762424 to be up..
2026-07-12 13:14:54,778 - DEBUG - VM is in ACTIVE state now
2026-07-12 13:14:54,778 - INFO - VM name : ctest-TestRoutersBasic-31605689-01762424
2026-07-12 13:14:54,856 - DEBUG - VM ctest-TestRoutersBasic-31605689-01762424 ID is 5b55011a-9b1a-4f43-965c-b567974dbfa2
2026-07-12 13:14:54,856 - DEBUG - VM ctest-TestRoutersBasic-31605689-01762424 launched on Node cn-jenkins-deploy-platform-ansible-os-6094-1
2026-07-12 13:14:54,941 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5b55011a-9b1a-4f43-965c-b567974dbfa2
2026-07-12 13:14:54,951 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b5f68f13-0670-4c77-a9b1-b2aa3ff4ec81
2026-07-12 13:14:56,184 - 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=3.78 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.522 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.522/2.151/3.780/1.629 ms')
2026-07-12 13:14:56,184 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-31605689-01762424 passed
2026-07-12 13:14:56,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-12 13:14:56,334 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31605689-01762424, IP 125.97.21.4, Port 22
2026-07-12 13:14:56,489 - DEBUG - VM ctest-TestRoutersBasic-31605689-01762424 is ready for SSH connections
2026-07-12 13:14:56,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-12 13:14:56,490 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.97.21.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-07-12 13:14:56,490 - DEBUG - ping -s 56 -c 3 -W 1 125.97.21.4
2026-07-12 13:14:59,061 - DEBUG - PING 125.97.21.4 (125.97.21.4): 56 data bytes
64 bytes from 125.97.21.4: seq=0 ttl=62 time=7.888 ms
64 bytes from 125.97.21.4: seq=1 ttl=62 time=0.853 ms
64 bytes from 125.97.21.4: seq=2 ttl=62 time=1.178 ms
--- 125.97.21.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.853/3.306/7.888 ms
2026-07-12 13:14:59,061 - INFO - Ping to IP 125.97.21.4 from VM ctest-TestRoutersBasic-31605689-57354273 passed
2026-07-12 13:14:59,062 - INFO - Deleting interface with subnet_id 88970f33-418f-4535-a63a-e8e952d41c9a, port_id None from router e3f1f4ff-c605-4c8f-8e44-9a22a2410f63
2026-07-12 13:14:59,240 - INFO - Deleting VM ctest-TestRoutersBasic-31605689-01762424
2026-07-12 13:14:59,311 - INFO - Deleting VM ctest-TestRoutersBasic-31605689-57354273
2026-07-12 13:14:59,376 - INFO - Deleting VN ctest-ext_vn-23221474
2026-07-12 13:14:59,436 - DEBUG - VN f0ecba40-538c-44c4-ac59-e1855984c479 still in use: Unable to complete operation on network f0ecba40-538c-44c4-ac59-e1855984c479. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5e01cee7-0229-41e2-b117-a05685b1bd58']
2026-07-12 13:14:59,436 - WARNING - Deleting VN ctest-ext_vn-23221474 failed..Will retry
2026-07-12 13:15:01,583 - DEBUG - Response for deleting network ()
2026-07-12 13:15:01,584 - INFO - Deleting VN ctest-vn-75424371
2026-07-12 13:15:01,694 - DEBUG - Response for deleting network ()
2026-07-12 13:15:01,947 - DEBUG - No XMPP flaps were noticed during the test
2026-07-12 13:15:01,947 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-07-12 13:15:01,947 - INFO - --------------------------------------------------------------------------------
2026-07-12 13:15:02,682 - INFO - Deleted project: ctest-TestRoutersBasic-31605689, ID : 5b161f8b-3f8d-4c4c-a484-b0eaf909baac