2024-10-28 12:02:55,510 - INFO - Domain Default found not creating
2024-10-28 12:02:55,713 - INFO - Project ctest-TestRoutersBasic-10044838 not found, creating it
2024-10-28 12:02:56,255 - INFO - Created Project:ctest-TestRoutersBasic-10044838, ID : b0d5ca43-9a41-4fc3-b936-8c1ee53af67a
2024-10-28 12:02:58,023 - INFO - ================================================================================
2024-10-28 12:02:58,023 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-28 12:02:58,023 - 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 12:02:58,298 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.7': '0'}} with
2024-10-28 12:02:58,298 - INFO - Initial checks done. Running the testcase now
2024-10-28 12:02:58,298 - INFO -
2024-10-28 12:02:59,073 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10044838
2024-10-28 12:02:59,173 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10044838
2024-10-28 12:02:59,529 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10044838', 'default']}
2024-10-28 12:02:59,903 - DEBUG - Response for create_network : {'network': {'id': 'be147f9e-e3f1-4aaf-bf3f-e25efa2e9f96', 'name': 'ctest-vn-20105198', 'tenant_id': 'b0d5ca439a414fc3b9368c1ee53af67a', 'project_id': 'b0d5ca439a414fc3b9368c1ee53af67a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10044838', 'ctest-vn-20105198'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 12:03:00,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cc19dd3-3efb-4ef9-93ba-4d26ab04d935', 'name': '', 'tenant_id': 'b0d5ca439a414fc3b9368c1ee53af67a', 'network_id': 'be147f9e-e3f1-4aaf-bf3f-e25efa2e9f96', 'ip_version': 4, 'cidr': '59.207.160.0/26', 'allocation_pools': [{'start': '59.207.160.2', 'end': '59.207.160.62'}], 'gateway_ip': '59.207.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.207.160.2', 'tags': [], 'project_id': 'b0d5ca439a414fc3b9368c1ee53af67a'}}
2024-10-28 12:03:00,207 - INFO - Created VN ctest-vn-20105198
2024-10-28 12:03:00,269 - DEBUG - VN ctest-vn-20105198 UUID is be147f9e-e3f1-4aaf-bf3f-e25efa2e9f96
2024-10-28 12:03:00,729 - DEBUG - Response for create_network : {'network': {'id': 'e3e25680-673d-4ffe-a8bc-233593864fee', 'name': 'ctest-ext_vn-80111457', 'tenant_id': 'b0d5ca439a414fc3b9368c1ee53af67a', 'project_id': 'b0d5ca439a414fc3b9368c1ee53af67a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10044838', 'ctest-ext_vn-80111457'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 12:03:00,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a6e8b78-7f83-4b48-bb0f-e6ff975773df', 'name': '', 'tenant_id': 'b0d5ca439a414fc3b9368c1ee53af67a', 'network_id': 'e3e25680-673d-4ffe-a8bc-233593864fee', 'ip_version': 4, 'cidr': '181.250.145.192/26', 'allocation_pools': [{'start': '181.250.145.194', 'end': '181.250.145.254'}], 'gateway_ip': '181.250.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.250.145.194', 'tags': [], 'project_id': 'b0d5ca439a414fc3b9368c1ee53af67a'}}
2024-10-28 12:03:00,985 - INFO - Created VN ctest-ext_vn-80111457
2024-10-28 12:03:01,045 - DEBUG - VN ctest-ext_vn-80111457 UUID is e3e25680-673d-4ffe-a8bc-233593864fee
2024-10-28 12:03:01,252 - DEBUG - Services list from nova: [, , ]
2024-10-28 12:03:02,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2159-1)
2024-10-28 12:03:03,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2159-1)
2024-10-28 12:03:03,840 - INFO - Setting gateway for router 0ab81da2-83d2-4100-adc3-8a4165d022bb to network e3e25680-673d-4ffe-a8bc-233593864fee
2024-10-28 12:03:03,952 - INFO - Adding interface with subnet_id 5cc19dd3-3efb-4ef9-93ba-4d26ab04d935, port_id None to router 0ab81da2-83d2-4100-adc3-8a4165d022bb
2024-10-28 12:03:04,389 - INFO - Waiting for VM ctest-TestRoutersBasic-10044838-60044483 to be up..
2024-10-28 12:03:04,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 12:03:09,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 12:03:14,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 12:03:19,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 12:03:25,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 12:03:30,124 - DEBUG - VM is in ACTIVE state now
2024-10-28 12:03:30,125 - INFO - VM name : ctest-TestRoutersBasic-10044838-60044483
2024-10-28 12:03:30,240 - DEBUG - VM ctest-TestRoutersBasic-10044838-60044483 ID is 9e771539-453c-490f-a954-422596e58a7f
2024-10-28 12:03:30,278 - DEBUG - VM ctest-TestRoutersBasic-10044838-60044483 launched on Node cn-jenkins-deploy-platform-ansible-os-2159-1
2024-10-28 12:03:30,404 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9e771539-453c-490f-a954-422596e58a7f
2024-10-28 12:03:30,735 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9e771539-453c-490f-a954-422596e58a7f
2024-10-28 12:03:30,777 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/772718ab-ff50-4a28-b1c4-4af58eaacacd
2024-10-28 12:03:34,079 - 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 1019ms')
2024-10-28 12:03:34,080 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10044838-60044483 failed!
2024-10-28 12:03:34,145 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10044838:ctest-vn-20105198 is 59.207.160.1 and allocation pool is NOT set
2024-10-28 12:03:36,217 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.607 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.607/2.642/4.677/2.035 ms')
2024-10-28 12:03:36,217 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10044838-60044483 passed
2024-10-28 12:03:36,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 12:03:36,377 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10044838-60044483, IP 59.207.160.3, Port 22
2024-10-28 12:03:36,543 - DEBUG - VM ctest-TestRoutersBasic-10044838-60044483 is ready for SSH connections
2024-10-28 12:03:36,543 - INFO - Waiting for VM ctest-TestRoutersBasic-10044838-20603146 to be up..
2024-10-28 12:03:36,640 - DEBUG - VM is in ACTIVE state now
2024-10-28 12:03:36,641 - INFO - VM name : ctest-TestRoutersBasic-10044838-20603146
2024-10-28 12:03:36,746 - DEBUG - VM ctest-TestRoutersBasic-10044838-20603146 ID is f3e08672-9c17-424e-9a3a-b114d3ba919f
2024-10-28 12:03:36,746 - DEBUG - VM ctest-TestRoutersBasic-10044838-20603146 launched on Node cn-jenkins-deploy-platform-ansible-os-2159-1
2024-10-28 12:03:36,845 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f3e08672-9c17-424e-9a3a-b114d3ba919f
2024-10-28 12:03:36,855 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b31f622f-718a-4246-8928-706ec5017dc5
2024-10-28 12:03:38,117 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.591 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 = 0.591/1.972/3.354/1.381 ms')
2024-10-28 12:03:38,117 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10044838-20603146 passed
2024-10-28 12:03:38,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 12:03:38,277 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10044838-20603146, IP 181.250.145.195, Port 22
2024-10-28 12:03:38,432 - DEBUG - VM ctest-TestRoutersBasic-10044838-20603146 is ready for SSH connections
2024-10-28 12:03:38,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 12:03:38,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.250.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2024-10-28 12:03:38,433 - DEBUG - ping -s 56 -c 3 -W 1 181.250.145.195
2024-10-28 12:03:42,149 - DEBUG - PING 181.250.145.195 (181.250.145.195): 56 data bytes
64 bytes from 181.250.145.195: seq=0 ttl=62 time=8.676 ms
64 bytes from 181.250.145.195: seq=1 ttl=62 time=1.252 ms
64 bytes from 181.250.145.195: seq=2 ttl=62 time=1.007 ms
--- 181.250.145.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.007/3.645/8.676 ms
2024-10-28 12:03:42,149 - INFO - Ping to IP 181.250.145.195 from VM ctest-TestRoutersBasic-10044838-60044483 passed
2024-10-28 12:03:42,149 - INFO - Deleting interface with subnet_id 5cc19dd3-3efb-4ef9-93ba-4d26ab04d935, port_id None from router 0ab81da2-83d2-4100-adc3-8a4165d022bb
2024-10-28 12:03:42,419 - INFO - Deleting VM ctest-TestRoutersBasic-10044838-20603146
2024-10-28 12:03:42,515 - INFO - Deleting VM ctest-TestRoutersBasic-10044838-60044483
2024-10-28 12:03:42,608 - INFO - Deleting VN ctest-ext_vn-80111457
2024-10-28 12:03:42,715 - DEBUG - VN e3e25680-673d-4ffe-a8bc-233593864fee still in use: Unable to complete operation on network e3e25680-673d-4ffe-a8bc-233593864fee. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ca5f6142-e208-488f-852b-e2520bf6f711']
2024-10-28 12:03:42,716 - WARNING - Deleting VN ctest-ext_vn-80111457 failed..Will retry
2024-10-28 12:03:44,881 - DEBUG - Response for deleting network ()
2024-10-28 12:03:44,881 - INFO - Deleting VN ctest-vn-20105198
2024-10-28 12:03:45,001 - DEBUG - Response for deleting network ()
2024-10-28 12:03:45,274 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 12:03:45,274 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:47]
2024-10-28 12:03:45,274 - INFO - --------------------------------------------------------------------------------
2024-10-28 12:03:46,024 - INFO - Deleted project: ctest-TestRoutersBasic-10044838, ID : b0d5ca43-9a41-4fc3-b936-8c1ee53af67a