2025-04-15 15:48:52,752 - INFO - Domain Default found not creating
2025-04-15 15:48:52,907 - INFO - Project ctest-TestRoutersBasic-31108569 not found, creating it
2025-04-15 15:48:53,378 - INFO - Created Project:ctest-TestRoutersBasic-31108569, ID : 865409e0-d998-4931-bc6c-96198c4aa375
2025-04-15 15:48:54,883 - INFO - ================================================================================
2025-04-15 15:48:54,883 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-15 15:48:54,883 - 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-04-15 15:48:55,147 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-04-15 15:48:55,147 - INFO - Initial checks done. Running the testcase now
2025-04-15 15:48:55,147 - INFO -
2025-04-15 15:48:55,868 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31108569
2025-04-15 15:48:55,968 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31108569
2025-04-15 15:48:56,312 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31108569', 'default']}
2025-04-15 15:48:56,633 - DEBUG - Response for create_network : {'network': {'id': '4c73e030-667d-4863-9ab3-d71e77940d9e', 'name': 'ctest-vn-75392821', 'tenant_id': '865409e0d9984931bc6c96198c4aa375', 'project_id': '865409e0d9984931bc6c96198c4aa375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31108569', 'ctest-vn-75392821'], 'port_security_enabled': True, 'description': ''}}
2025-04-15 15:48:56,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aeae7b0-d2ac-49aa-90a6-c5fc224e5ec3', 'name': '', 'tenant_id': '865409e0d9984931bc6c96198c4aa375', 'network_id': '4c73e030-667d-4863-9ab3-d71e77940d9e', 'ip_version': 4, 'cidr': '23.163.66.128/26', 'allocation_pools': [{'start': '23.163.66.130', 'end': '23.163.66.190'}], 'gateway_ip': '23.163.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.163.66.130', 'tags': [], 'project_id': '865409e0d9984931bc6c96198c4aa375'}}
2025-04-15 15:48:56,858 - INFO - Created VN ctest-vn-75392821
2025-04-15 15:48:56,916 - DEBUG - VN ctest-vn-75392821 UUID is 4c73e030-667d-4863-9ab3-d71e77940d9e
2025-04-15 15:48:57,291 - DEBUG - Response for create_network : {'network': {'id': '85568edb-ad42-4d45-97e9-0be9671d9dac', 'name': 'ctest-ext_vn-89987621', 'tenant_id': '865409e0d9984931bc6c96198c4aa375', 'project_id': '865409e0d9984931bc6c96198c4aa375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31108569', 'ctest-ext_vn-89987621'], 'port_security_enabled': True, 'description': ''}}
2025-04-15 15:48:57,455 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1e1b5a7-dd62-4d2f-9059-97de8a1c6bd7', 'name': '', 'tenant_id': '865409e0d9984931bc6c96198c4aa375', 'network_id': '85568edb-ad42-4d45-97e9-0be9671d9dac', 'ip_version': 4, 'cidr': '70.137.227.64/26', 'allocation_pools': [{'start': '70.137.227.66', 'end': '70.137.227.126'}], 'gateway_ip': '70.137.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.137.227.66', 'tags': [], 'project_id': '865409e0d9984931bc6c96198c4aa375'}}
2025-04-15 15:48:57,477 - INFO - Created VN ctest-ext_vn-89987621
2025-04-15 15:48:57,532 - DEBUG - VN ctest-ext_vn-89987621 UUID is 85568edb-ad42-4d45-97e9-0be9671d9dac
2025-04-15 15:48:57,721 - DEBUG - Services list from nova: [, , ]
2025-04-15 15:48:58,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3119-1)
2025-04-15 15:48:59,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3119-1)
2025-04-15 15:49:00,078 - INFO - Setting gateway for router c4198281-a30e-4012-a42f-cd7ba09cd50b to network 85568edb-ad42-4d45-97e9-0be9671d9dac
2025-04-15 15:49:00,173 - INFO - Adding interface with subnet_id 6aeae7b0-d2ac-49aa-90a6-c5fc224e5ec3, port_id None to router c4198281-a30e-4012-a42f-cd7ba09cd50b
2025-04-15 15:49:00,676 - INFO - Waiting for VM ctest-TestRoutersBasic-31108569-45667341 to be up..
2025-04-15 15:49:00,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-15 15:49:05,915 - DEBUG - VM is in ACTIVE state now
2025-04-15 15:49:05,915 - INFO - VM name : ctest-TestRoutersBasic-31108569-45667341
2025-04-15 15:49:06,004 - DEBUG - VM ctest-TestRoutersBasic-31108569-45667341 ID is 190d52e7-2153-4967-aaaa-ddfae82f975a
2025-04-15 15:49:06,023 - DEBUG - VM ctest-TestRoutersBasic-31108569-45667341 launched on Node cn-jenkins-deploy-platform-ansible-os-3119-1
2025-04-15 15:49:06,119 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/190d52e7-2153-4967-aaaa-ddfae82f975a
2025-04-15 15:49:06,540 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/190d52e7-2153-4967-aaaa-ddfae82f975a
2025-04-15 15:49:06,588 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e02d4714-470c-434e-a23d-352fa88978f7
2025-04-15 15:49:09,866 - 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 1011ms')
2025-04-15 15:49:09,867 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31108569-45667341 failed!
2025-04-15 15:49:09,924 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31108569:ctest-vn-75392821 is 23.163.66.129 and allocation pool is NOT set
2025-04-15 15:49:11,997 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.516 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.516/2.674/4.833/2.158 ms')
2025-04-15 15:49:11,997 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31108569-45667341 passed
2025-04-15 15:49:12,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 15:49:12,104 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31108569-45667341, IP 23.163.66.131, Port 22
2025-04-15 15:49:12,271 - DEBUG - VM ctest-TestRoutersBasic-31108569-45667341 is ready for SSH connections
2025-04-15 15:49:12,271 - INFO - Waiting for VM ctest-TestRoutersBasic-31108569-91643769 to be up..
2025-04-15 15:49:12,354 - DEBUG - VM is in ACTIVE state now
2025-04-15 15:49:12,354 - INFO - VM name : ctest-TestRoutersBasic-31108569-91643769
2025-04-15 15:49:12,471 - DEBUG - VM ctest-TestRoutersBasic-31108569-91643769 ID is 9508ad5c-388b-4557-992e-98f69ea8474c
2025-04-15 15:49:12,471 - DEBUG - VM ctest-TestRoutersBasic-31108569-91643769 launched on Node cn-jenkins-deploy-platform-ansible-os-3119-1
2025-04-15 15:49:12,551 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9508ad5c-388b-4557-992e-98f69ea8474c
2025-04-15 15:49:12,560 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fdca448b-7979-4692-9633-b7caf154289c
2025-04-15 15:49:13,810 - 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.54 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.298/2.920/4.542/1.622 ms')
2025-04-15 15:49:13,811 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31108569-91643769 passed
2025-04-15 15:49:13,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 15:49:13,964 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31108569-91643769, IP 70.137.227.67, Port 22
2025-04-15 15:49:14,035 - 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-04-15 15:49:14,120 - DEBUG - VM ctest-TestRoutersBasic-31108569-91643769 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-15 15:49:19,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 15:49:19,121 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31108569-91643769, IP 70.137.227.67, Port 22
2025-04-15 15:49:19,276 - DEBUG - VM ctest-TestRoutersBasic-31108569-91643769 is ready for SSH connections
2025-04-15 15:49:19,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 15:49:19,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.137.227.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-15 15:49:19,276 - DEBUG - ping -s 56 -c 3 -W 1 70.137.227.67
2025-04-15 15:49:23,266 - DEBUG - PING 70.137.227.67 (70.137.227.67): 56 data bytes
64 bytes from 70.137.227.67: seq=0 ttl=62 time=6.072 ms
64 bytes from 70.137.227.67: seq=1 ttl=62 time=0.935 ms
64 bytes from 70.137.227.67: seq=2 ttl=62 time=1.138 ms
--- 70.137.227.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.935/2.715/6.072 ms
2025-04-15 15:49:23,266 - INFO - Ping to IP 70.137.227.67 from VM ctest-TestRoutersBasic-31108569-45667341 passed
2025-04-15 15:49:23,266 - INFO - Deleting interface with subnet_id 6aeae7b0-d2ac-49aa-90a6-c5fc224e5ec3, port_id None from router c4198281-a30e-4012-a42f-cd7ba09cd50b
2025-04-15 15:49:23,505 - INFO - Deleting VM ctest-TestRoutersBasic-31108569-91643769
2025-04-15 15:49:23,597 - INFO - Deleting VM ctest-TestRoutersBasic-31108569-45667341
2025-04-15 15:49:23,700 - INFO - Deleting VN ctest-ext_vn-89987621
2025-04-15 15:49:23,786 - DEBUG - VN 85568edb-ad42-4d45-97e9-0be9671d9dac still in use: Unable to complete operation on network 85568edb-ad42-4d45-97e9-0be9671d9dac. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-80d5805b-4b69-4f6e-a9b8-8b37346455ad']
2025-04-15 15:49:23,786 - WARNING - Deleting VN ctest-ext_vn-89987621 failed..Will retry
2025-04-15 15:49:25,901 - DEBUG - Response for deleting network ()
2025-04-15 15:49:25,902 - INFO - Deleting VN ctest-vn-75392821
2025-04-15 15:49:26,018 - DEBUG - Response for deleting network ()
2025-04-15 15:49:26,289 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 15:49:26,290 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-04-15 15:49:26,290 - INFO - --------------------------------------------------------------------------------
2025-04-15 15:49:27,022 - INFO - Deleted project: ctest-TestRoutersBasic-31108569, ID : 865409e0-d998-4931-bc6c-96198c4aa375