2024-10-28 17:31:37,579 - INFO - Domain Default found not creating
2024-10-28 17:31:37,793 - INFO - Project ctest-TestRoutersBasic-67131439 not found, creating it
2024-10-28 17:31:38,330 - INFO - Created Project:ctest-TestRoutersBasic-67131439, ID : 14747ce4-e67b-4757-9877-ec95c4a7347a
2024-10-28 17:31:40,100 - INFO - ================================================================================
2024-10-28 17:31:40,100 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-28 17:31:40,101 - 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-28 17:31:40,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.22': '0'}} with
2024-10-28 17:31:40,371 - INFO - Initial checks done. Running the testcase now
2024-10-28 17:31:40,371 - INFO -
2024-10-28 17:31:41,148 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67131439
2024-10-28 17:31:41,251 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67131439
2024-10-28 17:31:41,606 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67131439', 'default']}
2024-10-28 17:31:41,949 - DEBUG - Response for create_network : {'network': {'id': '290eddb8-4b8d-4318-afb0-e008059af49e', 'name': 'ctest-vn-88054140', 'tenant_id': '14747ce4e67b47579877ec95c4a7347a', 'project_id': '14747ce4e67b47579877ec95c4a7347a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67131439', 'ctest-vn-88054140'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 17:31:42,161 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9d381b7-1e5b-4686-801f-6a0135eb7bea', 'name': '', 'tenant_id': '14747ce4e67b47579877ec95c4a7347a', 'network_id': '290eddb8-4b8d-4318-afb0-e008059af49e', 'ip_version': 4, 'cidr': '104.110.243.192/26', 'allocation_pools': [{'start': '104.110.243.194', 'end': '104.110.243.254'}], 'gateway_ip': '104.110.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.110.243.194', 'tags': [], 'project_id': '14747ce4e67b47579877ec95c4a7347a'}}
2024-10-28 17:31:42,187 - INFO - Created VN ctest-vn-88054140
2024-10-28 17:31:42,246 - DEBUG - VN ctest-vn-88054140 UUID is 290eddb8-4b8d-4318-afb0-e008059af49e
2024-10-28 17:31:42,623 - DEBUG - Response for create_network : {'network': {'id': '35e6352d-e9ee-4511-a046-dd5187b374c2', 'name': 'ctest-ext_vn-83085505', 'tenant_id': '14747ce4e67b47579877ec95c4a7347a', 'project_id': '14747ce4e67b47579877ec95c4a7347a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67131439', 'ctest-ext_vn-83085505'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 17:31:42,839 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4a5d349-3241-4247-8d07-52947da34dc6', 'name': '', 'tenant_id': '14747ce4e67b47579877ec95c4a7347a', 'network_id': '35e6352d-e9ee-4511-a046-dd5187b374c2', 'ip_version': 4, 'cidr': '85.146.197.0/26', 'allocation_pools': [{'start': '85.146.197.2', 'end': '85.146.197.62'}], 'gateway_ip': '85.146.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.146.197.2', 'tags': [], 'project_id': '14747ce4e67b47579877ec95c4a7347a'}}
2024-10-28 17:31:42,860 - INFO - Created VN ctest-ext_vn-83085505
2024-10-28 17:31:42,922 - DEBUG - VN ctest-ext_vn-83085505 UUID is 35e6352d-e9ee-4511-a046-dd5187b374c2
2024-10-28 17:31:43,140 - DEBUG - Services list from nova: [, , ]
2024-10-28 17:31:44,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2172-1)
2024-10-28 17:31:45,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2172-1)
2024-10-28 17:31:45,922 - INFO - Setting gateway for router cdb88254-4ec8-4471-abd8-da396c67b58a to network 35e6352d-e9ee-4511-a046-dd5187b374c2
2024-10-28 17:31:46,024 - INFO - Adding interface with subnet_id e9d381b7-1e5b-4686-801f-6a0135eb7bea, port_id None to router cdb88254-4ec8-4471-abd8-da396c67b58a
2024-10-28 17:31:46,618 - INFO - Waiting for VM ctest-TestRoutersBasic-67131439-83340238 to be up..
2024-10-28 17:31:46,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 17:31:51,968 - DEBUG - VM is in ACTIVE state now
2024-10-28 17:31:51,968 - INFO - VM name : ctest-TestRoutersBasic-67131439-83340238
2024-10-28 17:31:52,061 - DEBUG - VM ctest-TestRoutersBasic-67131439-83340238 ID is 782a529e-96a9-464e-96ea-7760197c2204
2024-10-28 17:31:52,087 - DEBUG - VM ctest-TestRoutersBasic-67131439-83340238 launched on Node cn-jenkins-deploy-platform-ansible-os-2172-1
2024-10-28 17:31:52,184 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/782a529e-96a9-464e-96ea-7760197c2204
2024-10-28 17:31:52,488 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/782a529e-96a9-464e-96ea-7760197c2204
2024-10-28 17:31:52,536 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/95c14711-7f63-43bf-9edb-62096e350b65
2024-10-28 17:31:55,825 - 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 1018ms')
2024-10-28 17:31:55,825 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67131439-83340238 failed!
2024-10-28 17:31:55,886 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67131439:ctest-vn-88054140 is 104.110.243.193 and allocation pool is NOT set
2024-10-28 17:31:57,951 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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 = 1.089/2.896/4.704/1.807 ms')
2024-10-28 17:31:57,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67131439-83340238 passed
2024-10-28 17:31:58,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 17:31:58,110 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67131439-83340238, IP 104.110.243.195, Port 22
2024-10-28 17:31:58,266 - DEBUG - VM ctest-TestRoutersBasic-67131439-83340238 is ready for SSH connections
2024-10-28 17:31:58,266 - INFO - Waiting for VM ctest-TestRoutersBasic-67131439-80662683 to be up..
2024-10-28 17:31:58,361 - DEBUG - VM is in ACTIVE state now
2024-10-28 17:31:58,361 - INFO - VM name : ctest-TestRoutersBasic-67131439-80662683
2024-10-28 17:31:58,459 - DEBUG - VM ctest-TestRoutersBasic-67131439-80662683 ID is eb5000f2-1156-4cd3-8990-b2a856f22b7c
2024-10-28 17:31:58,459 - DEBUG - VM ctest-TestRoutersBasic-67131439-80662683 launched on Node cn-jenkins-deploy-platform-ansible-os-2172-1
2024-10-28 17:31:58,557 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/eb5000f2-1156-4cd3-8990-b2a856f22b7c
2024-10-28 17:31:58,569 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/376bb7c7-a77c-4de1-9a96-a006de97b274
2024-10-28 17:31:59,831 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.23 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 = 2.234/3.249/4.264/1.015 ms')
2024-10-28 17:31:59,831 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67131439-80662683 passed
2024-10-28 17:32:00,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 17:32:00,002 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67131439-80662683, IP 85.146.197.3, Port 22
2024-10-28 17:32:00,166 - DEBUG - VM ctest-TestRoutersBasic-67131439-80662683 is ready for SSH connections
2024-10-28 17:32:00,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 17:32:00,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.146.197.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2024-10-28 17:32:00,167 - DEBUG - ping -s 56 -c 3 -W 1 85.146.197.3
2024-10-28 17:32:03,889 - DEBUG - PING 85.146.197.3 (85.146.197.3): 56 data bytes
64 bytes from 85.146.197.3: seq=0 ttl=62 time=5.370 ms
64 bytes from 85.146.197.3: seq=1 ttl=62 time=1.288 ms
64 bytes from 85.146.197.3: seq=2 ttl=62 time=1.154 ms
--- 85.146.197.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.154/2.604/5.370 ms
2024-10-28 17:32:03,889 - INFO - Ping to IP 85.146.197.3 from VM ctest-TestRoutersBasic-67131439-83340238 passed
2024-10-28 17:32:03,889 - INFO - Deleting interface with subnet_id e9d381b7-1e5b-4686-801f-6a0135eb7bea, port_id None from router cdb88254-4ec8-4471-abd8-da396c67b58a
2024-10-28 17:32:04,132 - INFO - Deleting VM ctest-TestRoutersBasic-67131439-80662683
2024-10-28 17:32:04,219 - INFO - Deleting VM ctest-TestRoutersBasic-67131439-83340238
2024-10-28 17:32:04,343 - INFO - Deleting VN ctest-ext_vn-83085505
2024-10-28 17:32:04,432 - DEBUG - VN 35e6352d-e9ee-4511-a046-dd5187b374c2 still in use: Unable to complete operation on network 35e6352d-e9ee-4511-a046-dd5187b374c2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-97a2566d-268b-4403-a1bb-46b7c59e6491']
2024-10-28 17:32:04,432 - WARNING - Deleting VN ctest-ext_vn-83085505 failed..Will retry
2024-10-28 17:32:06,559 - DEBUG - Response for deleting network ()
2024-10-28 17:32:06,559 - INFO - Deleting VN ctest-vn-88054140
2024-10-28 17:32:06,684 - DEBUG - Response for deleting network ()
2024-10-28 17:32:06,944 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 17:32:06,944 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-28 17:32:06,944 - INFO - --------------------------------------------------------------------------------
2024-10-28 17:32:07,648 - INFO - Deleted project: ctest-TestRoutersBasic-67131439, ID : 14747ce4-e67b-4757-9877-ec95c4a7347a