2024-10-21 02:29:01,939 - INFO - Domain Default found not creating
2024-10-21 02:29:02,149 - INFO - Project ctest-TestRoutersBasic-22195591 not found, creating it
2024-10-21 02:29:02,676 - INFO - Created Project:ctest-TestRoutersBasic-22195591, ID : 3ccf5842-7f00-4bf0-b74f-3282a891effd
2024-10-21 02:29:04,575 - INFO - ================================================================================
2024-10-21 02:29:04,575 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-21 02:29:04,575 - 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-10-21 02:29:04,841 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.12': '0'}} with
2024-10-21 02:29:04,841 - INFO - Initial checks done. Running the testcase now
2024-10-21 02:29:04,841 - INFO -
2024-10-21 02:29:05,733 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22195591
2024-10-21 02:29:05,833 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22195591
2024-10-21 02:29:06,176 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22195591', 'default']}
2024-10-21 02:29:06,531 - DEBUG - Response for create_network : {'network': {'id': '888006eb-7a59-4e6f-8724-c57b9969a48a', 'name': 'ctest-vn-90450167', 'tenant_id': '3ccf58427f004bf0b74f3282a891effd', 'project_id': '3ccf58427f004bf0b74f3282a891effd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22195591', 'ctest-vn-90450167'], 'port_security_enabled': True, 'description': ''}}
2024-10-21 02:29:06,760 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfef9a11-d84d-4943-9a9f-610a0adb9679', 'name': '', 'tenant_id': '3ccf58427f004bf0b74f3282a891effd', 'network_id': '888006eb-7a59-4e6f-8724-c57b9969a48a', 'ip_version': 4, 'cidr': '172.254.59.0/26', 'allocation_pools': [{'start': '172.254.59.2', 'end': '172.254.59.62'}], 'gateway_ip': '172.254.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.254.59.2', 'tags': [], 'project_id': '3ccf58427f004bf0b74f3282a891effd'}}
2024-10-21 02:29:06,785 - INFO - Created VN ctest-vn-90450167
2024-10-21 02:29:06,844 - DEBUG - VN ctest-vn-90450167 UUID is 888006eb-7a59-4e6f-8724-c57b9969a48a
2024-10-21 02:29:07,298 - DEBUG - Response for create_network : {'network': {'id': '0e5677ef-a393-4310-a997-1f00ca6eef9b', 'name': 'ctest-ext_vn-52835394', 'tenant_id': '3ccf58427f004bf0b74f3282a891effd', 'project_id': '3ccf58427f004bf0b74f3282a891effd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22195591', 'ctest-ext_vn-52835394'], 'port_security_enabled': True, 'description': ''}}
2024-10-21 02:29:07,523 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff907787-bcce-4535-b050-f9d3470a2a44', 'name': '', 'tenant_id': '3ccf58427f004bf0b74f3282a891effd', 'network_id': '0e5677ef-a393-4310-a997-1f00ca6eef9b', 'ip_version': 4, 'cidr': '176.21.81.64/26', 'allocation_pools': [{'start': '176.21.81.66', 'end': '176.21.81.126'}], 'gateway_ip': '176.21.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.21.81.66', 'tags': [], 'project_id': '3ccf58427f004bf0b74f3282a891effd'}}
2024-10-21 02:29:07,551 - INFO - Created VN ctest-ext_vn-52835394
2024-10-21 02:29:07,617 - DEBUG - VN ctest-ext_vn-52835394 UUID is 0e5677ef-a393-4310-a997-1f00ca6eef9b
2024-10-21 02:29:07,841 - DEBUG - Services list from nova: [, , ]
2024-10-21 02:29:09,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2121-1)
2024-10-21 02:29:10,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2121-1)
2024-10-21 02:29:10,642 - INFO - Setting gateway for router a994190c-afb5-4b1c-8dd4-e0d099bb063f to network 0e5677ef-a393-4310-a997-1f00ca6eef9b
2024-10-21 02:29:10,753 - INFO - Adding interface with subnet_id dfef9a11-d84d-4943-9a9f-610a0adb9679, port_id None to router a994190c-afb5-4b1c-8dd4-e0d099bb063f
2024-10-21 02:29:11,261 - INFO - Waiting for VM ctest-TestRoutersBasic-22195591-32689427 to be up..
2024-10-21 02:29:11,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-21 02:29:16,537 - DEBUG - VM is in ACTIVE state now
2024-10-21 02:29:16,537 - INFO - VM name : ctest-TestRoutersBasic-22195591-32689427
2024-10-21 02:29:16,641 - DEBUG - VM ctest-TestRoutersBasic-22195591-32689427 ID is 48eb843f-a725-408e-9a5f-4890f0284096
2024-10-21 02:29:16,670 - DEBUG - VM ctest-TestRoutersBasic-22195591-32689427 launched on Node cn-jenkins-deploy-platform-ansible-os-2121-1
2024-10-21 02:29:16,788 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/48eb843f-a725-408e-9a5f-4890f0284096
2024-10-21 02:29:17,141 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/48eb843f-a725-408e-9a5f-4890f0284096
2024-10-21 02:29:17,189 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/ebb194b9-e211-4bca-9905-87b076860b34
2024-10-21 02:29:20,467 - 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 1009ms')
2024-10-21 02:29:20,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22195591-32689427 failed!
2024-10-21 02:29:20,540 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22195591:ctest-vn-90450167 is 172.254.59.1 and allocation pool is NOT set
2024-10-21 02:29:22,599 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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.166/2.264/3.362/1.098 ms')
2024-10-21 02:29:22,599 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22195591-32689427 passed
2024-10-21 02:29:22,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-21 02:29:22,793 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22195591-32689427, IP 172.254.59.3, Port 22
2024-10-21 02:29:22,958 - DEBUG - VM ctest-TestRoutersBasic-22195591-32689427 is ready for SSH connections
2024-10-21 02:29:22,959 - INFO - Waiting for VM ctest-TestRoutersBasic-22195591-91725231 to be up..
2024-10-21 02:29:23,074 - DEBUG - VM is in ACTIVE state now
2024-10-21 02:29:23,074 - INFO - VM name : ctest-TestRoutersBasic-22195591-91725231
2024-10-21 02:29:23,182 - DEBUG - VM ctest-TestRoutersBasic-22195591-91725231 ID is ad633b99-bcb5-4120-916a-13ab7cb71343
2024-10-21 02:29:23,182 - DEBUG - VM ctest-TestRoutersBasic-22195591-91725231 launched on Node cn-jenkins-deploy-platform-ansible-os-2121-1
2024-10-21 02:29:23,289 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/ad633b99-bcb5-4120-916a-13ab7cb71343
2024-10-21 02:29:23,303 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/d5cc423d-a888-4d2f-aa8b-fde232d616a5
2024-10-21 02:29:24,596 - 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=3.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.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 = 3.147/3.224/3.302/0.077 ms')
2024-10-21 02:29:24,596 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22195591-91725231 passed
2024-10-21 02:29:24,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-21 02:29:24,761 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22195591-91725231, IP 176.21.81.67, Port 22
2024-10-21 02:29:24,921 - DEBUG - VM ctest-TestRoutersBasic-22195591-91725231 is ready for SSH connections
2024-10-21 02:29:24,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-21 02:29:24,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.21.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2024-10-21 02:29:24,921 - DEBUG - ping -s 56 -c 3 -W 1 176.21.81.67
2024-10-21 02:29:28,721 - DEBUG - PING 176.21.81.67 (176.21.81.67): 56 data bytes
64 bytes from 176.21.81.67: seq=0 ttl=62 time=7.371 ms
64 bytes from 176.21.81.67: seq=1 ttl=62 time=1.204 ms
64 bytes from 176.21.81.67: seq=2 ttl=62 time=0.932 ms
--- 176.21.81.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.932/3.169/7.371 ms
2024-10-21 02:29:28,721 - INFO - Ping to IP 176.21.81.67 from VM ctest-TestRoutersBasic-22195591-32689427 passed
2024-10-21 02:29:28,721 - INFO - Deleting interface with subnet_id dfef9a11-d84d-4943-9a9f-610a0adb9679, port_id None from router a994190c-afb5-4b1c-8dd4-e0d099bb063f
2024-10-21 02:29:28,964 - INFO - Deleting VM ctest-TestRoutersBasic-22195591-91725231
2024-10-21 02:29:29,061 - INFO - Deleting VM ctest-TestRoutersBasic-22195591-32689427
2024-10-21 02:29:29,158 - INFO - Deleting VN ctest-ext_vn-52835394
2024-10-21 02:29:29,260 - DEBUG - VN 0e5677ef-a393-4310-a997-1f00ca6eef9b still in use: Unable to complete operation on network 0e5677ef-a393-4310-a997-1f00ca6eef9b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1a0e5a8b-e612-4439-a12f-def1e82386a2']
2024-10-21 02:29:29,260 - WARNING - Deleting VN ctest-ext_vn-52835394 failed..Will retry
2024-10-21 02:29:31,396 - DEBUG - Response for deleting network ()
2024-10-21 02:29:31,396 - INFO - Deleting VN ctest-vn-90450167
2024-10-21 02:29:31,535 - DEBUG - Response for deleting network ()
2024-10-21 02:29:31,815 - DEBUG - No XMPP flaps were noticed during the test
2024-10-21 02:29:31,815 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-10-21 02:29:31,815 - INFO - --------------------------------------------------------------------------------
2024-10-21 02:29:32,713 - INFO - Deleted project: ctest-TestRoutersBasic-22195591, ID : 3ccf5842-7f00-4bf0-b74f-3282a891effd