2026-03-24 15:35:03,383 - INFO - Domain Default found not creating
2026-03-24 15:35:03,585 - INFO - Project ctest-TestRoutersBasic-11206564 not found, creating it
2026-03-24 15:35:04,087 - INFO - Created Project:ctest-TestRoutersBasic-11206564, ID : e3c5ee8c-a29d-4621-a48d-af4194b83673
2026-03-24 15:35:05,716 - INFO - ================================================================================
2026-03-24 15:35:05,716 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-03-24 15:35:05,716 - 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-03-24 15:35:05,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-24 15:35:05,980 - INFO - Initial checks done. Running the testcase now
2026-03-24 15:35:05,980 - INFO -
2026-03-24 15:35:06,799 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11206564
2026-03-24 15:35:06,895 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11206564
2026-03-24 15:35:07,219 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11206564', 'default']}
2026-03-24 15:35:07,543 - DEBUG - Response for create_network : {'network': {'id': '8747944e-b1bf-48a3-b9c6-c4f69918aa9e', 'name': 'ctest-vn-04277692', 'tenant_id': 'e3c5ee8ca29d4621a48daf4194b83673', 'project_id': 'e3c5ee8ca29d4621a48daf4194b83673', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11206564', 'ctest-vn-04277692'], 'port_security_enabled': True, 'description': ''}}
2026-03-24 15:35:07,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f650280-31f7-4baf-a334-e4f87e194d49', 'name': '', 'tenant_id': 'e3c5ee8ca29d4621a48daf4194b83673', 'network_id': '8747944e-b1bf-48a3-b9c6-c4f69918aa9e', 'ip_version': 4, 'cidr': '167.184.151.64/26', 'allocation_pools': [{'start': '167.184.151.66', 'end': '167.184.151.126'}], 'gateway_ip': '167.184.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.184.151.66', 'tags': [], 'project_id': 'e3c5ee8ca29d4621a48daf4194b83673'}}
2026-03-24 15:35:07,832 - INFO - Created VN ctest-vn-04277692
2026-03-24 15:35:07,887 - DEBUG - VN ctest-vn-04277692 UUID is 8747944e-b1bf-48a3-b9c6-c4f69918aa9e
2026-03-24 15:35:08,254 - DEBUG - Response for create_network : {'network': {'id': '313b6459-6b34-469a-a346-e12cf990048e', 'name': 'ctest-ext_vn-99991854', 'tenant_id': 'e3c5ee8ca29d4621a48daf4194b83673', 'project_id': 'e3c5ee8ca29d4621a48daf4194b83673', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11206564', 'ctest-ext_vn-99991854'], 'port_security_enabled': True, 'description': ''}}
2026-03-24 15:35:08,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d1c79e8-c96a-45f3-8ad1-c13dee768d94', 'name': '', 'tenant_id': 'e3c5ee8ca29d4621a48daf4194b83673', 'network_id': '313b6459-6b34-469a-a346-e12cf990048e', 'ip_version': 4, 'cidr': '117.150.162.64/26', 'allocation_pools': [{'start': '117.150.162.66', 'end': '117.150.162.126'}], 'gateway_ip': '117.150.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.150.162.66', 'tags': [], 'project_id': 'e3c5ee8ca29d4621a48daf4194b83673'}}
2026-03-24 15:35:08,450 - INFO - Created VN ctest-ext_vn-99991854
2026-03-24 15:35:08,503 - DEBUG - VN ctest-ext_vn-99991854 UUID is 313b6459-6b34-469a-a346-e12cf990048e
2026-03-24 15:35:08,694 - DEBUG - Services list from nova: [, , ]
2026-03-24 15:35:09,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5534-1)
2026-03-24 15:35:11,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5534-1)
2026-03-24 15:35:11,214 - INFO - Setting gateway for router 6cef5d1a-ae02-4528-94b1-16a000628b86 to network 313b6459-6b34-469a-a346-e12cf990048e
2026-03-24 15:35:11,285 - INFO - Adding interface with subnet_id 3f650280-31f7-4baf-a334-e4f87e194d49, port_id None to router 6cef5d1a-ae02-4528-94b1-16a000628b86
2026-03-24 15:35:11,618 - INFO - Waiting for VM ctest-TestRoutersBasic-11206564-12056361 to be up..
2026-03-24 15:35:11,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-24 15:35:16,912 - DEBUG - VM is in ACTIVE state now
2026-03-24 15:35:16,913 - INFO - VM name : ctest-TestRoutersBasic-11206564-12056361
2026-03-24 15:35:17,002 - DEBUG - VM ctest-TestRoutersBasic-11206564-12056361 ID is 010539f6-ab06-4a37-8c44-2f504d608ff2
2026-03-24 15:35:17,025 - DEBUG - VM ctest-TestRoutersBasic-11206564-12056361 launched on Node cn-jenkins-deploy-platform-ansible-os-5534-1
2026-03-24 15:35:17,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/010539f6-ab06-4a37-8c44-2f504d608ff2
2026-03-24 15:35:17,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/010539f6-ab06-4a37-8c44-2f504d608ff2
2026-03-24 15:35:17,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b17f7a7f-0201-448a-a6c8-464cc6b411c9
2026-03-24 15:35:20,734 - 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 1010ms')
2026-03-24 15:35:20,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11206564-12056361 failed!
2026-03-24 15:35:20,791 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11206564:ctest-vn-04277692 is 167.184.151.65 and allocation pool is NOT set
2026-03-24 15:35:22,857 - 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=6.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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 = 2.220/4.278/6.337/2.058 ms')
2026-03-24 15:35:22,857 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11206564-12056361 passed
2026-03-24 15:35:23,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-24 15:35:23,016 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11206564-12056361, IP 167.184.151.67, Port 22
2026-03-24 15:35:23,080 - 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-03-24 15:35:23,186 - DEBUG - VM ctest-TestRoutersBasic-11206564-12056361 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-24 15:35:28,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-24 15:35:28,187 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11206564-12056361, IP 167.184.151.67, Port 22
2026-03-24 15:35:28,355 - DEBUG - VM ctest-TestRoutersBasic-11206564-12056361 is ready for SSH connections
2026-03-24 15:35:28,355 - INFO - Waiting for VM ctest-TestRoutersBasic-11206564-09181559 to be up..
2026-03-24 15:35:28,447 - DEBUG - VM is in ACTIVE state now
2026-03-24 15:35:28,447 - INFO - VM name : ctest-TestRoutersBasic-11206564-09181559
2026-03-24 15:35:28,542 - DEBUG - VM ctest-TestRoutersBasic-11206564-09181559 ID is 670c067f-4f25-49af-a3c1-2070c6d67411
2026-03-24 15:35:28,543 - DEBUG - VM ctest-TestRoutersBasic-11206564-09181559 launched on Node cn-jenkins-deploy-platform-ansible-os-5534-1
2026-03-24 15:35:28,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/670c067f-4f25-49af-a3c1-2070c6d67411
2026-03-24 15:35:28,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2daf1282-8443-412d-b474-01d5d9e91ffd
2026-03-24 15:35:29,886 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/2.237/4.000/1.763 ms')
2026-03-24 15:35:29,886 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11206564-09181559 passed
2026-03-24 15:35:30,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-24 15:35:30,035 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11206564-09181559, IP 117.150.162.67, Port 22
2026-03-24 15:35:30,199 - DEBUG - VM ctest-TestRoutersBasic-11206564-09181559 is ready for SSH connections
2026-03-24 15:35:30,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-24 15:35:30,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.150.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-24 15:35:30,200 - DEBUG - ping -s 56 -c 3 -W 1 117.150.162.67
2026-03-24 15:35:33,966 - DEBUG - PING 117.150.162.67 (117.150.162.67): 56 data bytes
64 bytes from 117.150.162.67: seq=0 ttl=62 time=7.735 ms
64 bytes from 117.150.162.67: seq=1 ttl=62 time=1.099 ms
64 bytes from 117.150.162.67: seq=2 ttl=62 time=1.041 ms
--- 117.150.162.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.041/3.291/7.735 ms
2026-03-24 15:35:33,966 - INFO - Ping to IP 117.150.162.67 from VM ctest-TestRoutersBasic-11206564-12056361 passed
2026-03-24 15:35:33,966 - INFO - Deleting interface with subnet_id 3f650280-31f7-4baf-a334-e4f87e194d49, port_id None from router 6cef5d1a-ae02-4528-94b1-16a000628b86
2026-03-24 15:35:34,146 - INFO - Deleting VM ctest-TestRoutersBasic-11206564-09181559
2026-03-24 15:35:34,229 - INFO - Deleting VM ctest-TestRoutersBasic-11206564-12056361
2026-03-24 15:35:34,312 - INFO - Deleting VN ctest-ext_vn-99991854
2026-03-24 15:35:34,385 - DEBUG - VN 313b6459-6b34-469a-a346-e12cf990048e still in use: Unable to complete operation on network 313b6459-6b34-469a-a346-e12cf990048e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a7bdc294-ca94-4a95-a6f0-a7e17d2f1ee2']
2026-03-24 15:35:34,385 - WARNING - Deleting VN ctest-ext_vn-99991854 failed..Will retry
2026-03-24 15:35:36,496 - DEBUG - Response for deleting network ()
2026-03-24 15:35:36,496 - INFO - Deleting VN ctest-vn-04277692
2026-03-24 15:35:36,617 - DEBUG - Response for deleting network ()
2026-03-24 15:35:36,887 - DEBUG - No XMPP flaps were noticed during the test
2026-03-24 15:35:36,887 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-03-24 15:35:36,887 - INFO - --------------------------------------------------------------------------------
2026-03-24 15:35:37,614 - INFO - Deleted project: ctest-TestRoutersBasic-11206564, ID : e3c5ee8c-a29d-4621-a48d-af4194b83673