2024-09-15 08:42:21,322 - INFO - Domain Default found not creating
2024-09-15 08:42:21,494 - INFO - Project ctest-TestRoutersBasic-39227678 not found, creating it
2024-09-15 08:42:22,008 - INFO - Created Project:ctest-TestRoutersBasic-39227678, ID : 448106ed-6c61-49c4-9689-5865457709a2
2024-09-15 08:42:23,647 - INFO - ================================================================================
2024-09-15 08:42:23,647 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-09-15 08:42:23,647 - 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-09-15 08:42:23,909 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.14': '0'}} with
2024-09-15 08:42:23,909 - INFO - Initial checks done. Running the testcase now
2024-09-15 08:42:23,909 - INFO -
2024-09-15 08:42:24,659 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39227678
2024-09-15 08:42:24,759 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39227678
2024-09-15 08:42:25,099 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39227678', 'default']}
2024-09-15 08:42:25,414 - DEBUG - Response for create_network : {'network': {'id': 'e10c5108-8d78-4bea-9780-f3972342712f', 'name': 'ctest-vn-81975103', 'tenant_id': '448106ed6c6149c496895865457709a2', 'project_id': '448106ed6c6149c496895865457709a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39227678', 'ctest-vn-81975103'], 'port_security_enabled': True, 'description': ''}}
2024-09-15 08:42:25,565 - DEBUG - Response for create_subnet : {'subnet': {'id': '47ab19ef-4e0e-4788-a97b-1a597c10b5e9', 'name': '', 'tenant_id': '448106ed6c6149c496895865457709a2', 'network_id': 'e10c5108-8d78-4bea-9780-f3972342712f', 'ip_version': 4, 'cidr': '212.118.41.0/26', 'allocation_pools': [{'start': '212.118.41.2', 'end': '212.118.41.62'}], 'gateway_ip': '212.118.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.118.41.2', 'tags': [], 'project_id': '448106ed6c6149c496895865457709a2'}}
2024-09-15 08:42:25,586 - INFO - Created VN ctest-vn-81975103
2024-09-15 08:42:25,643 - DEBUG - VN ctest-vn-81975103 UUID is e10c5108-8d78-4bea-9780-f3972342712f
2024-09-15 08:42:25,990 - DEBUG - Response for create_network : {'network': {'id': 'a8d2862d-24ee-42ed-a8f9-f0392da1ba3a', 'name': 'ctest-ext_vn-03819450', 'tenant_id': '448106ed6c6149c496895865457709a2', 'project_id': '448106ed6c6149c496895865457709a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39227678', 'ctest-ext_vn-03819450'], 'port_security_enabled': True, 'description': ''}}
2024-09-15 08:42:26,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '649029cd-8e52-4f3b-8b1c-2f795a06a355', 'name': '', 'tenant_id': '448106ed6c6149c496895865457709a2', 'network_id': 'a8d2862d-24ee-42ed-a8f9-f0392da1ba3a', 'ip_version': 4, 'cidr': '68.70.215.64/26', 'allocation_pools': [{'start': '68.70.215.66', 'end': '68.70.215.126'}], 'gateway_ip': '68.70.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.70.215.66', 'tags': [], 'project_id': '448106ed6c6149c496895865457709a2'}}
2024-09-15 08:42:26,183 - INFO - Created VN ctest-ext_vn-03819450
2024-09-15 08:42:26,239 - DEBUG - VN ctest-ext_vn-03819450 UUID is a8d2862d-24ee-42ed-a8f9-f0392da1ba3a
2024-09-15 08:42:26,404 - DEBUG - Services list from nova: [, , ]
2024-09-15 08:42:27,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1939-1)
2024-09-15 08:42:28,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1939-1)
2024-09-15 08:42:28,725 - INFO - Setting gateway for router e7b29e2c-c8b6-4a44-bfc5-6c4bfc0c5942 to network a8d2862d-24ee-42ed-a8f9-f0392da1ba3a
2024-09-15 08:42:28,794 - INFO - Adding interface with subnet_id 47ab19ef-4e0e-4788-a97b-1a597c10b5e9, port_id None to router e7b29e2c-c8b6-4a44-bfc5-6c4bfc0c5942
2024-09-15 08:42:29,084 - INFO - Waiting for VM ctest-TestRoutersBasic-39227678-84523083 to be up..
2024-09-15 08:42:29,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-15 08:42:34,318 - DEBUG - VM is in ACTIVE state now
2024-09-15 08:42:34,318 - INFO - VM name : ctest-TestRoutersBasic-39227678-84523083
2024-09-15 08:42:34,398 - DEBUG - VM ctest-TestRoutersBasic-39227678-84523083 ID is 83096801-aa24-43f2-af2e-b373e8049ebc
2024-09-15 08:42:34,421 - DEBUG - VM ctest-TestRoutersBasic-39227678-84523083 launched on Node cn-jenkins-deploy-platform-ansible-os-1939-1
2024-09-15 08:42:34,498 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/83096801-aa24-43f2-af2e-b373e8049ebc
2024-09-15 08:42:34,796 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/83096801-aa24-43f2-af2e-b373e8049ebc
2024-09-15 08:42:34,833 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/09a73fe7-aeca-4c9a-bf58-51ffcb5bd656
2024-09-15 08:42:38,103 - 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 1003ms')
2024-09-15 08:42:38,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39227678-84523083 failed!
2024-09-15 08:42:38,167 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39227678:ctest-vn-81975103 is 212.118.41.1 and allocation pool is NOT set
2024-09-15 08:42:40,226 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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 = 0.385/1.814/3.244/1.429 ms')
2024-09-15 08:42:40,226 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39227678-84523083 passed
2024-09-15 08:42:40,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-15 08:42:40,383 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39227678-84523083, IP 212.118.41.3, Port 22
2024-09-15 08:42:40,538 - DEBUG - VM ctest-TestRoutersBasic-39227678-84523083 is ready for SSH connections
2024-09-15 08:42:40,538 - INFO - Waiting for VM ctest-TestRoutersBasic-39227678-19654379 to be up..
2024-09-15 08:42:40,629 - DEBUG - VM is in ACTIVE state now
2024-09-15 08:42:40,629 - INFO - VM name : ctest-TestRoutersBasic-39227678-19654379
2024-09-15 08:42:40,709 - DEBUG - VM ctest-TestRoutersBasic-39227678-19654379 ID is 36a7d8cd-d86c-4bdc-93c0-861e2b46074b
2024-09-15 08:42:40,710 - DEBUG - VM ctest-TestRoutersBasic-39227678-19654379 launched on Node cn-jenkins-deploy-platform-ansible-os-1939-1
2024-09-15 08:42:40,782 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/36a7d8cd-d86c-4bdc-93c0-861e2b46074b
2024-09-15 08:42:40,792 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/e9da8397-04f8-415f-a8d7-69b96d3e8532
2024-09-15 08:42:42,047 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.857/3.307/1.449 ms')
2024-09-15 08:42:42,048 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39227678-19654379 passed
2024-09-15 08:42:42,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-15 08:42:42,207 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39227678-19654379, IP 68.70.215.67, Port 22
2024-09-15 08:42:42,362 - DEBUG - VM ctest-TestRoutersBasic-39227678-19654379 is ready for SSH connections
2024-09-15 08:42:42,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-15 08:42:42,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.70.215.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123
2024-09-15 08:42:42,363 - DEBUG - ping -s 56 -c 3 -W 1 68.70.215.67
2024-09-15 08:42:46,038 - DEBUG - PING 68.70.215.67 (68.70.215.67): 56 data bytes
64 bytes from 68.70.215.67: seq=0 ttl=62 time=5.975 ms
64 bytes from 68.70.215.67: seq=1 ttl=62 time=1.214 ms
64 bytes from 68.70.215.67: seq=2 ttl=62 time=1.251 ms
--- 68.70.215.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.214/2.813/5.975 ms
2024-09-15 08:42:46,038 - INFO - Ping to IP 68.70.215.67 from VM ctest-TestRoutersBasic-39227678-84523083 passed
2024-09-15 08:42:46,038 - INFO - Deleting interface with subnet_id 47ab19ef-4e0e-4788-a97b-1a597c10b5e9, port_id None from router e7b29e2c-c8b6-4a44-bfc5-6c4bfc0c5942
2024-09-15 08:42:46,282 - INFO - Deleting VM ctest-TestRoutersBasic-39227678-19654379
2024-09-15 08:42:46,359 - INFO - Deleting VM ctest-TestRoutersBasic-39227678-84523083
2024-09-15 08:42:46,456 - INFO - Deleting VN ctest-ext_vn-03819450
2024-09-15 08:42:46,537 - DEBUG - VN a8d2862d-24ee-42ed-a8f9-f0392da1ba3a still in use: Unable to complete operation on network a8d2862d-24ee-42ed-a8f9-f0392da1ba3a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-44a6f94b-1fc0-4021-a0d1-3d3d14dbeb4e']
2024-09-15 08:42:46,537 - WARNING - Deleting VN ctest-ext_vn-03819450 failed..Will retry
2024-09-15 08:42:48,637 - DEBUG - Response for deleting network ()
2024-09-15 08:42:48,637 - INFO - Deleting VN ctest-vn-81975103
2024-09-15 08:42:48,745 - DEBUG - Response for deleting network ()
2024-09-15 08:42:49,004 - DEBUG - No XMPP flaps were noticed during the test
2024-09-15 08:42:49,004 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-15 08:42:49,004 - INFO - --------------------------------------------------------------------------------
2024-09-15 08:42:49,802 - INFO - Deleted project: ctest-TestRoutersBasic-39227678, ID : 448106ed-6c61-49c4-9689-5865457709a2