2024-11-08 11:23:32,303 - INFO - Domain Default found not creating
2024-11-08 11:23:32,512 - INFO - Project ctest-TestRoutersBasic-43892139 not found, creating it
2024-11-08 11:23:33,044 - INFO - Created Project:ctest-TestRoutersBasic-43892139, ID : 9f81ae5a-d93a-4bcf-887a-8e3ac72855b6
2024-11-08 11:23:34,542 - INFO - ================================================================================
2024-11-08 11:23:34,542 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-08 11:23:34,542 - 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 11:23:34,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.5': '0'}} with
2024-11-08 11:23:34,821 - INFO - Initial checks done. Running the testcase now
2024-11-08 11:23:34,822 - INFO -
2024-11-08 11:23:35,575 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43892139
2024-11-08 11:23:35,676 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43892139
2024-11-08 11:23:36,013 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43892139', 'default']}
2024-11-08 11:23:36,334 - DEBUG - Response for create_network : {'network': {'id': 'a1b6795f-3928-4dde-a7de-94d9485fbc65', 'name': 'ctest-vn-29161252', 'tenant_id': '9f81ae5ad93a4bcf887a8e3ac72855b6', 'project_id': '9f81ae5ad93a4bcf887a8e3ac72855b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43892139', 'ctest-vn-29161252'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 11:23:36,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '63688fcb-7c84-42ce-862a-ca03b191645f', 'name': '', 'tenant_id': '9f81ae5ad93a4bcf887a8e3ac72855b6', 'network_id': 'a1b6795f-3928-4dde-a7de-94d9485fbc65', 'ip_version': 4, 'cidr': '71.21.215.128/26', 'allocation_pools': [{'start': '71.21.215.130', 'end': '71.21.215.190'}], 'gateway_ip': '71.21.215.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.21.215.130', 'tags': [], 'project_id': '9f81ae5ad93a4bcf887a8e3ac72855b6'}}
2024-11-08 11:23:36,541 - INFO - Created VN ctest-vn-29161252
2024-11-08 11:23:36,596 - DEBUG - VN ctest-vn-29161252 UUID is a1b6795f-3928-4dde-a7de-94d9485fbc65
2024-11-08 11:23:36,940 - DEBUG - Response for create_network : {'network': {'id': '6a3f4712-2b49-43cb-a815-88d155ba7ec0', 'name': 'ctest-ext_vn-47799253', 'tenant_id': '9f81ae5ad93a4bcf887a8e3ac72855b6', 'project_id': '9f81ae5ad93a4bcf887a8e3ac72855b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43892139', 'ctest-ext_vn-47799253'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 11:23:37,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '9deea628-4b20-4188-8655-241b92421018', 'name': '', 'tenant_id': '9f81ae5ad93a4bcf887a8e3ac72855b6', 'network_id': '6a3f4712-2b49-43cb-a815-88d155ba7ec0', 'ip_version': 4, 'cidr': '173.157.208.64/26', 'allocation_pools': [{'start': '173.157.208.66', 'end': '173.157.208.126'}], 'gateway_ip': '173.157.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.157.208.66', 'tags': [], 'project_id': '9f81ae5ad93a4bcf887a8e3ac72855b6'}}
2024-11-08 11:23:37,179 - INFO - Created VN ctest-ext_vn-47799253
2024-11-08 11:23:37,240 - DEBUG - VN ctest-ext_vn-47799253 UUID is 6a3f4712-2b49-43cb-a815-88d155ba7ec0
2024-11-08 11:23:37,429 - DEBUG - Services list from nova: [, , ]
2024-11-08 11:23:38,523 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2225-1)
2024-11-08 11:23:39,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2225-1)
2024-11-08 11:23:39,809 - INFO - Setting gateway for router cca15119-810f-47e2-afbc-fdbc242a271d to network 6a3f4712-2b49-43cb-a815-88d155ba7ec0
2024-11-08 11:23:39,883 - INFO - Adding interface with subnet_id 63688fcb-7c84-42ce-862a-ca03b191645f, port_id None to router cca15119-810f-47e2-afbc-fdbc242a271d
2024-11-08 11:23:40,314 - INFO - Waiting for VM ctest-TestRoutersBasic-43892139-12776382 to be up..
2024-11-08 11:23:40,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 11:23:45,603 - DEBUG - VM is in ACTIVE state now
2024-11-08 11:23:45,603 - INFO - VM name : ctest-TestRoutersBasic-43892139-12776382
2024-11-08 11:23:45,719 - DEBUG - VM ctest-TestRoutersBasic-43892139-12776382 ID is fb409093-bced-4ae5-b161-2d974b1dea24
2024-11-08 11:23:45,740 - DEBUG - VM ctest-TestRoutersBasic-43892139-12776382 launched on Node cn-jenkins-deploy-platform-ansible-os-2225-1
2024-11-08 11:23:45,867 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/fb409093-bced-4ae5-b161-2d974b1dea24
2024-11-08 11:23:46,213 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/fb409093-bced-4ae5-b161-2d974b1dea24
2024-11-08 11:23:46,267 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/fbe0fce0-86c1-4011-9caf-5d90304eb7ae
2024-11-08 11:23:49,594 - 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 1034ms')
2024-11-08 11:23:49,595 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43892139-12776382 failed!
2024-11-08 11:23:49,660 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43892139:ctest-vn-29161252 is 71.21.215.129 and allocation pool is NOT set
2024-11-08 11:23:51,720 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.499 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.499/1.844/3.190/1.345 ms')
2024-11-08 11:23:51,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43892139-12776382 passed
2024-11-08 11:23:51,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:23:51,888 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43892139-12776382, IP 71.21.215.131, Port 22
2024-11-08 11:23:52,051 - DEBUG - VM ctest-TestRoutersBasic-43892139-12776382 is ready for SSH connections
2024-11-08 11:23:52,051 - INFO - Waiting for VM ctest-TestRoutersBasic-43892139-30124935 to be up..
2024-11-08 11:23:52,143 - DEBUG - VM is in ACTIVE state now
2024-11-08 11:23:52,143 - INFO - VM name : ctest-TestRoutersBasic-43892139-30124935
2024-11-08 11:23:52,227 - DEBUG - VM ctest-TestRoutersBasic-43892139-30124935 ID is eb2186d5-677d-4a6b-be2f-d6f4345943b6
2024-11-08 11:23:52,227 - DEBUG - VM ctest-TestRoutersBasic-43892139-30124935 launched on Node cn-jenkins-deploy-platform-ansible-os-2225-1
2024-11-08 11:23:52,315 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/eb2186d5-677d-4a6b-be2f-d6f4345943b6
2024-11-08 11:23:52,327 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/c8de9c30-7b9d-4a42-82e5-56cdd0baaafd
2024-11-08 11:23:53,575 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.768/3.114/1.346 ms')
2024-11-08 11:23:53,576 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43892139-30124935 passed
2024-11-08 11:23:53,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:23:53,753 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43892139-30124935, IP 173.157.208.67, Port 22
2024-11-08 11:23:53,924 - DEBUG - VM ctest-TestRoutersBasic-43892139-30124935 is ready for SSH connections
2024-11-08 11:23:53,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:23:53,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.157.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2024-11-08 11:23:53,924 - DEBUG - ping -s 56 -c 3 -W 1 173.157.208.67
2024-11-08 11:23:57,626 - DEBUG - PING 173.157.208.67 (173.157.208.67): 56 data bytes
64 bytes from 173.157.208.67: seq=0 ttl=62 time=13.289 ms
64 bytes from 173.157.208.67: seq=1 ttl=62 time=1.012 ms
64 bytes from 173.157.208.67: seq=2 ttl=62 time=0.840 ms
--- 173.157.208.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.840/5.047/13.289 ms
2024-11-08 11:23:57,626 - INFO - Ping to IP 173.157.208.67 from VM ctest-TestRoutersBasic-43892139-12776382 passed
2024-11-08 11:23:57,626 - INFO - Deleting interface with subnet_id 63688fcb-7c84-42ce-862a-ca03b191645f, port_id None from router cca15119-810f-47e2-afbc-fdbc242a271d
2024-11-08 11:23:57,861 - INFO - Deleting VM ctest-TestRoutersBasic-43892139-30124935
2024-11-08 11:23:57,935 - INFO - Deleting VM ctest-TestRoutersBasic-43892139-12776382
2024-11-08 11:23:58,019 - INFO - Deleting VN ctest-ext_vn-47799253
2024-11-08 11:23:58,082 - DEBUG - VN 6a3f4712-2b49-43cb-a815-88d155ba7ec0 still in use: Unable to complete operation on network 6a3f4712-2b49-43cb-a815-88d155ba7ec0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e771c1fb-7468-4360-a515-190317a41b8a']
2024-11-08 11:23:58,082 - WARNING - Deleting VN ctest-ext_vn-47799253 failed..Will retry
2024-11-08 11:24:00,203 - DEBUG - Response for deleting network ()
2024-11-08 11:24:00,203 - INFO - Deleting VN ctest-vn-29161252
2024-11-08 11:24:00,328 - DEBUG - Response for deleting network ()
2024-11-08 11:24:00,590 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 11:24:00,591 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-08 11:24:00,591 - INFO - --------------------------------------------------------------------------------
2024-11-08 11:24:01,440 - INFO - Deleted project: ctest-TestRoutersBasic-43892139, ID : 9f81ae5a-d93a-4bcf-887a-8e3ac72855b6