2024-11-08 18:50:15,728 - INFO - Domain Default found not creating
2024-11-08 18:50:16,016 - INFO - Project ctest-TestRoutersBasic-19931961 not found, creating it
2024-11-08 18:50:16,576 - INFO - Created Project:ctest-TestRoutersBasic-19931961, ID : 31d8db95-a010-447a-a944-753e7859b5e5
2024-11-08 18:50:18,541 - INFO - ================================================================================
2024-11-08 18:50:18,541 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-08 18:50:18,541 - 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
2024-11-08 18:50:18,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.24': '0'}} with
2024-11-08 18:50:18,835 - INFO - Initial checks done. Running the testcase now
2024-11-08 18:50:18,835 - INFO -
2024-11-08 18:50:19,686 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19931961
2024-11-08 18:50:19,793 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19931961
2024-11-08 18:50:20,215 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19931961', 'default']}
2024-11-08 18:50:20,618 - DEBUG - Response for create_network : {'network': {'id': 'b3cf644b-4989-46f4-ac37-ca6932a362ad', 'name': 'ctest-vn-75085022', 'tenant_id': '31d8db95a010447aa944753e7859b5e5', 'project_id': '31d8db95a010447aa944753e7859b5e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19931961', 'ctest-vn-75085022'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 18:50:20,796 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd49af5b6-30cd-4636-b4c5-7e5f691c97cf', 'name': '', 'tenant_id': '31d8db95a010447aa944753e7859b5e5', 'network_id': 'b3cf644b-4989-46f4-ac37-ca6932a362ad', 'ip_version': 4, 'cidr': '186.200.118.192/26', 'allocation_pools': [{'start': '186.200.118.194', 'end': '186.200.118.254'}], 'gateway_ip': '186.200.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.200.118.194', 'tags': [], 'project_id': '31d8db95a010447aa944753e7859b5e5'}}
2024-11-08 18:50:20,819 - INFO - Created VN ctest-vn-75085022
2024-11-08 18:50:20,883 - DEBUG - VN ctest-vn-75085022 UUID is b3cf644b-4989-46f4-ac37-ca6932a362ad
2024-11-08 18:50:21,334 - DEBUG - Response for create_network : {'network': {'id': '2185387c-cce8-4161-91a5-86a6c5193ccb', 'name': 'ctest-ext_vn-97572765', 'tenant_id': '31d8db95a010447aa944753e7859b5e5', 'project_id': '31d8db95a010447aa944753e7859b5e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19931961', 'ctest-ext_vn-97572765'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 18:50:21,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '167c2dde-62df-458c-8737-898af1412626', 'name': '', 'tenant_id': '31d8db95a010447aa944753e7859b5e5', 'network_id': '2185387c-cce8-4161-91a5-86a6c5193ccb', 'ip_version': 4, 'cidr': '192.228.209.64/26', 'allocation_pools': [{'start': '192.228.209.66', 'end': '192.228.209.126'}], 'gateway_ip': '192.228.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.228.209.66', 'tags': [], 'project_id': '31d8db95a010447aa944753e7859b5e5'}}
2024-11-08 18:50:21,890 - INFO - Created VN ctest-ext_vn-97572765
2024-11-08 18:50:21,967 - DEBUG - VN ctest-ext_vn-97572765 UUID is 2185387c-cce8-4161-91a5-86a6c5193ccb
2024-11-08 18:50:22,268 - DEBUG - Services list from nova: [, , ]
2024-11-08 18:50:23,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1)
2024-11-08 18:50:25,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1)
2024-11-08 18:50:25,145 - INFO - Setting gateway for router 6f1ea52a-9204-4c98-8d23-6b161146d4e1 to network 2185387c-cce8-4161-91a5-86a6c5193ccb
2024-11-08 18:50:25,240 - INFO - Adding interface with subnet_id d49af5b6-30cd-4636-b4c5-7e5f691c97cf, port_id None to router 6f1ea52a-9204-4c98-8d23-6b161146d4e1
2024-11-08 18:50:25,660 - INFO - Waiting for VM ctest-TestRoutersBasic-19931961-92426741 to be up..
2024-11-08 18:50:25,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 18:50:31,004 - DEBUG - VM is in ACTIVE state now
2024-11-08 18:50:31,004 - INFO - VM name : ctest-TestRoutersBasic-19931961-92426741
2024-11-08 18:50:31,113 - DEBUG - VM ctest-TestRoutersBasic-19931961-92426741 ID is 25ab9cc0-f568-4b6d-af9b-1a4cb210fd82
2024-11-08 18:50:31,142 - DEBUG - VM ctest-TestRoutersBasic-19931961-92426741 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1
2024-11-08 18:50:31,242 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/25ab9cc0-f568-4b6d-af9b-1a4cb210fd82
2024-11-08 18:50:31,553 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/25ab9cc0-f568-4b6d-af9b-1a4cb210fd82
2024-11-08 18:50:31,596 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/1bafcdee-f30c-4fc4-bfef-998d68fa30e9
2024-11-08 18:50:34,870 - 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')
2024-11-08 18:50:34,870 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19931961-92426741 failed!
2024-11-08 18:50:34,943 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19931961:ctest-vn-75085022 is 186.200.118.193 and allocation pool is NOT set
2024-11-08 18:50:37,013 - 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=3.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.073/2.504/3.935/1.431 ms')
2024-11-08 18:50:37,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19931961-92426741 passed
2024-11-08 18:50:37,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 18:50:37,204 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19931961-92426741, IP 186.200.118.195, Port 22
2024-11-08 18:50:37,376 - DEBUG - VM ctest-TestRoutersBasic-19931961-92426741 is ready for SSH connections
2024-11-08 18:50:37,376 - INFO - Waiting for VM ctest-TestRoutersBasic-19931961-92633550 to be up..
2024-11-08 18:50:37,492 - DEBUG - VM is in ACTIVE state now
2024-11-08 18:50:37,492 - INFO - VM name : ctest-TestRoutersBasic-19931961-92633550
2024-11-08 18:50:37,585 - DEBUG - VM ctest-TestRoutersBasic-19931961-92633550 ID is d9f4e9a7-eacd-4c86-b68d-881f3a77b21d
2024-11-08 18:50:37,585 - DEBUG - VM ctest-TestRoutersBasic-19931961-92633550 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1
2024-11-08 18:50:37,703 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d9f4e9a7-eacd-4c86-b68d-881f3a77b21d
2024-11-08 18:50:37,719 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/2d74d86c-1555-412c-8601-7e6b319f9385
2024-11-08 18:50:39,004 - 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=5.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.73 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.733/3.702/5.672/1.969 ms')
2024-11-08 18:50:39,004 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19931961-92633550 passed
2024-11-08 18:50:39,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 18:50:39,181 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19931961-92633550, IP 192.228.209.67, Port 22
2024-11-08 18:50:39,276 - 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': ''}
2024-11-08 18:50:39,434 - DEBUG - VM ctest-TestRoutersBasic-19931961-92633550 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-08 18:50:44,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 18:50:44,436 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19931961-92633550, IP 192.228.209.67, Port 22
2024-11-08 18:50:44,619 - DEBUG - VM ctest-TestRoutersBasic-19931961-92633550 is ready for SSH connections
2024-11-08 18:50:44,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 18:50:44,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.228.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-08 18:50:44,619 - DEBUG - ping -s 56 -c 3 -W 1 192.228.209.67
2024-11-08 18:50:48,421 - DEBUG - PING 192.228.209.67 (192.228.209.67): 56 data bytes
64 bytes from 192.228.209.67: seq=0 ttl=62 time=8.856 ms
64 bytes from 192.228.209.67: seq=1 ttl=62 time=1.044 ms
64 bytes from 192.228.209.67: seq=2 ttl=62 time=1.209 ms
--- 192.228.209.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.044/3.703/8.856 ms
2024-11-08 18:50:48,421 - INFO - Ping to IP 192.228.209.67 from VM ctest-TestRoutersBasic-19931961-92426741 passed
2024-11-08 18:50:48,422 - INFO - Deleting interface with subnet_id d49af5b6-30cd-4636-b4c5-7e5f691c97cf, port_id None from router 6f1ea52a-9204-4c98-8d23-6b161146d4e1
2024-11-08 18:50:48,713 - INFO - Deleting VM ctest-TestRoutersBasic-19931961-92633550
2024-11-08 18:50:48,790 - INFO - Deleting VM ctest-TestRoutersBasic-19931961-92426741
2024-11-08 18:50:48,917 - INFO - Deleting VN ctest-ext_vn-97572765
2024-11-08 18:50:49,064 - DEBUG - VN 2185387c-cce8-4161-91a5-86a6c5193ccb still in use: Unable to complete operation on network 2185387c-cce8-4161-91a5-86a6c5193ccb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-41f83e67-7a97-4b55-894b-6d711a814908']
2024-11-08 18:50:49,065 - WARNING - Deleting VN ctest-ext_vn-97572765 failed..Will retry
2024-11-08 18:50:51,226 - DEBUG - Response for deleting network ()
2024-11-08 18:50:51,226 - INFO - Deleting VN ctest-vn-75085022
2024-11-08 18:50:51,475 - DEBUG - Response for deleting network ()
2024-11-08 18:50:51,743 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 18:50:51,743 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2024-11-08 18:50:51,743 - INFO - --------------------------------------------------------------------------------
2024-11-08 18:50:52,641 - INFO - Deleted project: ctest-TestRoutersBasic-19931961, ID : 31d8db95-a010-447a-a944-753e7859b5e5