2026-09-16 15:35:02,690 - INFO - Domain Default found not creating
2026-09-16 15:35:02,846 - INFO - Project ctest-TestRoutersBasic-50102416 not found, creating it
2026-09-16 15:35:03,343 - INFO - Created Project:ctest-TestRoutersBasic-50102416, ID : d61de13a-2cc9-4548-a6ef-1d1b26671c31
2026-09-16 15:35:04,888 - INFO - ================================================================================
2026-09-16 15:35:04,888 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-09-16 15:35:04,888 - 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-09-16 15:35:05,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with
2026-09-16 15:35:05,142 - INFO - Initial checks done. Running the testcase now
2026-09-16 15:35:05,142 - INFO -
2026-09-16 15:35:05,916 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50102416
2026-09-16 15:35:06,016 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50102416
2026-09-16 15:35:06,347 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50102416', 'default']}
2026-09-16 15:35:06,645 - DEBUG - Response for create_network : {'network': {'id': '0c286692-9c91-4fe9-88e7-a582a0fb31db', 'name': 'ctest-vn-46002849', 'tenant_id': 'd61de13a2cc94548a6ef1d1b26671c31', 'project_id': 'd61de13a2cc94548a6ef1d1b26671c31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50102416', 'ctest-vn-46002849'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 15:35:06,823 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b827d52a-7801-44ab-9744-456edfa128c9', 'name': '', 'tenant_id': 'd61de13a2cc94548a6ef1d1b26671c31', 'network_id': '0c286692-9c91-4fe9-88e7-a582a0fb31db', 'ip_version': 4, 'cidr': '68.162.231.64/26', 'allocation_pools': [{'start': '68.162.231.66', 'end': '68.162.231.126'}], 'gateway_ip': '68.162.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.162.231.66', 'tags': [], 'project_id': 'd61de13a2cc94548a6ef1d1b26671c31'}}
2026-09-16 15:35:06,842 - INFO - Created VN ctest-vn-46002849
2026-09-16 15:35:06,900 - DEBUG - VN ctest-vn-46002849 UUID is 0c286692-9c91-4fe9-88e7-a582a0fb31db
2026-09-16 15:35:07,276 - DEBUG - Response for create_network : {'network': {'id': 'e4e85481-6b06-43be-92f3-0cb217598b8c', 'name': 'ctest-ext_vn-93988448', 'tenant_id': 'd61de13a2cc94548a6ef1d1b26671c31', 'project_id': 'd61de13a2cc94548a6ef1d1b26671c31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50102416', 'ctest-ext_vn-93988448'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 15:35:07,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '912f8f69-4023-4479-bbfd-6aec19c19c5d', 'name': '', 'tenant_id': 'd61de13a2cc94548a6ef1d1b26671c31', 'network_id': 'e4e85481-6b06-43be-92f3-0cb217598b8c', 'ip_version': 4, 'cidr': '121.151.95.192/26', 'allocation_pools': [{'start': '121.151.95.194', 'end': '121.151.95.254'}], 'gateway_ip': '121.151.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.151.95.194', 'tags': [], 'project_id': 'd61de13a2cc94548a6ef1d1b26671c31'}}
2026-09-16 15:35:07,447 - INFO - Created VN ctest-ext_vn-93988448
2026-09-16 15:35:07,500 - DEBUG - VN ctest-ext_vn-93988448 UUID is e4e85481-6b06-43be-92f3-0cb217598b8c
2026-09-16 15:35:07,701 - DEBUG - Services list from nova: [, , ]
2026-09-16 15:35:08,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6295-1)
2026-09-16 15:35:08,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6295-1)
2026-09-16 15:35:08,528 - INFO - Setting gateway for router 4e319b63-e75a-46f3-bca4-650ff45659de to network e4e85481-6b06-43be-92f3-0cb217598b8c
2026-09-16 15:35:08,589 - INFO - Adding interface with subnet_id b827d52a-7801-44ab-9744-456edfa128c9, port_id None to router 4e319b63-e75a-46f3-bca4-650ff45659de
2026-09-16 15:35:08,865 - INFO - Waiting for VM ctest-TestRoutersBasic-50102416-73596355 to be up..
2026-09-16 15:35:08,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 15:35:14,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 15:35:19,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 15:35:24,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 15:35:29,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 15:35:34,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 15:35:39,481 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 15:35:44,556 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-16 15:35:49,637 - DEBUG - VM is in ACTIVE state now
2026-09-16 15:35:49,637 - INFO - VM name : ctest-TestRoutersBasic-50102416-73596355
2026-09-16 15:35:49,714 - DEBUG - VM ctest-TestRoutersBasic-50102416-73596355 ID is e5cc9aec-2a8c-4297-b270-ce9a4170b1ba
2026-09-16 15:35:49,736 - DEBUG - VM ctest-TestRoutersBasic-50102416-73596355 launched on Node cn-jenkins-deploy-platform-ansible-os-6295-1
2026-09-16 15:35:49,817 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/e5cc9aec-2a8c-4297-b270-ce9a4170b1ba
2026-09-16 15:35:50,159 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/e5cc9aec-2a8c-4297-b270-ce9a4170b1ba
2026-09-16 15:35:50,195 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/8bedfbc2-1371-4678-a151-390c91a4fa0e
2026-09-16 15:35:53,475 - 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=2 ttl=63 time=2.74 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 2.743/2.743/2.743/0.000 ms')
2026-09-16 15:35:53,475 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-50102416-73596355 passed
2026-09-16 15:35:53,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 15:35:53,624 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50102416-73596355, IP 68.162.231.67, Port 22
2026-09-16 15:35:53,779 - DEBUG - VM ctest-TestRoutersBasic-50102416-73596355 is ready for SSH connections
2026-09-16 15:35:53,779 - INFO - Waiting for VM ctest-TestRoutersBasic-50102416-80868152 to be up..
2026-09-16 15:35:53,852 - DEBUG - VM is in ACTIVE state now
2026-09-16 15:35:53,852 - INFO - VM name : ctest-TestRoutersBasic-50102416-80868152
2026-09-16 15:35:53,924 - DEBUG - VM ctest-TestRoutersBasic-50102416-80868152 ID is 911dc6c2-e67b-4bff-8873-91fb4817b62e
2026-09-16 15:35:53,924 - DEBUG - VM ctest-TestRoutersBasic-50102416-80868152 launched on Node cn-jenkins-deploy-platform-ansible-os-6295-1
2026-09-16 15:35:53,997 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/911dc6c2-e67b-4bff-8873-91fb4817b62e
2026-09-16 15:35:54,006 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/f173b3d3-11ca-4728-b29d-594248b0cf84
2026-09-16 15:35:55,242 - 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=4.57 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.737 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 = 0.737/2.654/4.572/1.917 ms')
2026-09-16 15:35:55,242 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-50102416-80868152 passed
2026-09-16 15:35:55,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 15:35:55,400 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50102416-80868152, IP 121.151.95.196, Port 22
2026-09-16 15:35:55,466 - 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-09-16 15:35:55,545 - DEBUG - VM ctest-TestRoutersBasic-50102416-80868152 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-16 15:36:00,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 15:36:00,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50102416-80868152, IP 121.151.95.196, Port 22
2026-09-16 15:36:00,713 - DEBUG - VM ctest-TestRoutersBasic-50102416-80868152 is ready for SSH connections
2026-09-16 15:36:00,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-16 15:36:00,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.151.95.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-09-16 15:36:00,714 - DEBUG - ping -s 56 -c 3 -W 1 121.151.95.196
2026-09-16 15:36:03,649 - DEBUG - PING 121.151.95.196 (121.151.95.196): 56 data bytes
64 bytes from 121.151.95.196: seq=0 ttl=62 time=5.366 ms
64 bytes from 121.151.95.196: seq=1 ttl=62 time=1.086 ms
64 bytes from 121.151.95.196: seq=2 ttl=62 time=1.250 ms
--- 121.151.95.196 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.086/2.567/5.366 ms
2026-09-16 15:36:03,649 - INFO - Ping to IP 121.151.95.196 from VM ctest-TestRoutersBasic-50102416-73596355 passed
2026-09-16 15:36:03,650 - INFO - Deleting interface with subnet_id b827d52a-7801-44ab-9744-456edfa128c9, port_id None from router 4e319b63-e75a-46f3-bca4-650ff45659de
2026-09-16 15:36:03,874 - INFO - Deleting VM ctest-TestRoutersBasic-50102416-80868152
2026-09-16 15:36:03,950 - INFO - Deleting VM ctest-TestRoutersBasic-50102416-73596355
2026-09-16 15:36:04,027 - INFO - Deleting VN ctest-ext_vn-93988448
2026-09-16 15:36:04,106 - DEBUG - VN e4e85481-6b06-43be-92f3-0cb217598b8c still in use: Unable to complete operation on network e4e85481-6b06-43be-92f3-0cb217598b8c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-384b75a4-523a-4260-9f2d-7705839db43e']
2026-09-16 15:36:04,106 - WARNING - Deleting VN ctest-ext_vn-93988448 failed..Will retry
2026-09-16 15:36:06,341 - DEBUG - Response for deleting network ()
2026-09-16 15:36:06,341 - INFO - Deleting VN ctest-vn-46002849
2026-09-16 15:36:06,452 - DEBUG - Response for deleting network ()
2026-09-16 15:36:06,705 - DEBUG - No XMPP flaps were noticed during the test
2026-09-16 15:36:06,705 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02]
2026-09-16 15:36:06,705 - INFO - --------------------------------------------------------------------------------
2026-09-16 15:36:07,454 - INFO - Deleted project: ctest-TestRoutersBasic-50102416, ID : d61de13a-2cc9-4548-a6ef-1d1b26671c31