2024-11-07 02:33:17,683 - INFO - Domain Default found not creating
2024-11-07 02:33:17,861 - INFO - Project ctest-TestRoutersBasic-76795696 not found, creating it
2024-11-07 02:33:18,345 - INFO - Created Project:ctest-TestRoutersBasic-76795696, ID : f943e721-2981-4655-b8d9-55924cbaf3a9
2024-11-07 02:33:20,054 - INFO - ================================================================================
2024-11-07 02:33:20,054 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-07 02:33:20,054 - 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-07 02:33:20,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.11': '0'}} with
2024-11-07 02:33:20,309 - INFO - Initial checks done. Running the testcase now
2024-11-07 02:33:20,309 - INFO -
2024-11-07 02:33:21,103 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76795696
2024-11-07 02:33:21,206 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76795696
2024-11-07 02:33:21,526 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76795696', 'default']}
2024-11-07 02:33:21,849 - DEBUG - Response for create_network : {'network': {'id': 'c0d04033-f3a2-4986-8177-f339cdec2fc2', 'name': 'ctest-vn-55780835', 'tenant_id': 'f943e72129814655b8d955924cbaf3a9', 'project_id': 'f943e72129814655b8d955924cbaf3a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76795696', 'ctest-vn-55780835'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 02:33:22,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '5799476d-59e2-4dbf-a91a-76d9c8c37ce5', 'name': '', 'tenant_id': 'f943e72129814655b8d955924cbaf3a9', 'network_id': 'c0d04033-f3a2-4986-8177-f339cdec2fc2', 'ip_version': 4, 'cidr': '76.230.29.192/26', 'allocation_pools': [{'start': '76.230.29.194', 'end': '76.230.29.254'}], 'gateway_ip': '76.230.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.230.29.194', 'tags': [], 'project_id': 'f943e72129814655b8d955924cbaf3a9'}}
2024-11-07 02:33:22,063 - INFO - Created VN ctest-vn-55780835
2024-11-07 02:33:22,114 - DEBUG - VN ctest-vn-55780835 UUID is c0d04033-f3a2-4986-8177-f339cdec2fc2
2024-11-07 02:33:22,440 - DEBUG - Response for create_network : {'network': {'id': '0b99212d-7070-4952-93f2-287ab81375e1', 'name': 'ctest-ext_vn-87296936', 'tenant_id': 'f943e72129814655b8d955924cbaf3a9', 'project_id': 'f943e72129814655b8d955924cbaf3a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76795696', 'ctest-ext_vn-87296936'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 02:33:22,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '548180f3-83fd-463d-be33-4f9679e21f7d', 'name': '', 'tenant_id': 'f943e72129814655b8d955924cbaf3a9', 'network_id': '0b99212d-7070-4952-93f2-287ab81375e1', 'ip_version': 4, 'cidr': '194.249.149.192/26', 'allocation_pools': [{'start': '194.249.149.194', 'end': '194.249.149.254'}], 'gateway_ip': '194.249.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.249.149.194', 'tags': [], 'project_id': 'f943e72129814655b8d955924cbaf3a9'}}
2024-11-07 02:33:22,619 - INFO - Created VN ctest-ext_vn-87296936
2024-11-07 02:33:22,670 - DEBUG - VN ctest-ext_vn-87296936 UUID is 0b99212d-7070-4952-93f2-287ab81375e1
2024-11-07 02:33:22,899 - DEBUG - Services list from nova: [, , ]
2024-11-07 02:33:24,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2209-1)
2024-11-07 02:33:25,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2209-1)
2024-11-07 02:33:25,360 - INFO - Setting gateway for router 47b1cf55-ad02-4b4e-922e-a44d93e99de2 to network 0b99212d-7070-4952-93f2-287ab81375e1
2024-11-07 02:33:25,438 - INFO - Adding interface with subnet_id 5799476d-59e2-4dbf-a91a-76d9c8c37ce5, port_id None to router 47b1cf55-ad02-4b4e-922e-a44d93e99de2
2024-11-07 02:33:25,869 - INFO - Waiting for VM ctest-TestRoutersBasic-76795696-26471699 to be up..
2024-11-07 02:33:26,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-07 02:33:31,176 - DEBUG - VM is in ACTIVE state now
2024-11-07 02:33:31,177 - INFO - VM name : ctest-TestRoutersBasic-76795696-26471699
2024-11-07 02:33:31,270 - DEBUG - VM ctest-TestRoutersBasic-76795696-26471699 ID is 05c0100d-ba6c-43e8-b2bc-f034460b4cd1
2024-11-07 02:33:31,291 - DEBUG - VM ctest-TestRoutersBasic-76795696-26471699 launched on Node cn-jenkins-deploy-platform-ansible-os-2209-1
2024-11-07 02:33:31,378 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/05c0100d-ba6c-43e8-b2bc-f034460b4cd1
2024-11-07 02:33:31,717 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/05c0100d-ba6c-43e8-b2bc-f034460b4cd1
2024-11-07 02:33:31,757 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/cc01dfe9-4480-45b8-80c3-08d0f9483aaa
2024-11-07 02:33:35,009 - 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 1015ms')
2024-11-07 02:33:35,010 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76795696-26471699 failed!
2024-11-07 02:33:35,062 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76795696:ctest-vn-55780835 is 76.230.29.193 and allocation pool is NOT set
2024-11-07 02:33:37,122 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.708 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.708/2.683/4.659/1.975 ms')
2024-11-07 02:33:37,122 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76795696-26471699 passed
2024-11-07 02:33:37,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 02:33:37,279 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76795696-26471699, IP 76.230.29.195, Port 22
2024-11-07 02:33:37,442 - DEBUG - VM ctest-TestRoutersBasic-76795696-26471699 is ready for SSH connections
2024-11-07 02:33:37,442 - INFO - Waiting for VM ctest-TestRoutersBasic-76795696-78163047 to be up..
2024-11-07 02:33:37,527 - DEBUG - VM is in ACTIVE state now
2024-11-07 02:33:37,527 - INFO - VM name : ctest-TestRoutersBasic-76795696-78163047
2024-11-07 02:33:37,606 - DEBUG - VM ctest-TestRoutersBasic-76795696-78163047 ID is f27e04e4-66b5-4676-bc76-246cbbd0ab7a
2024-11-07 02:33:37,606 - DEBUG - VM ctest-TestRoutersBasic-76795696-78163047 launched on Node cn-jenkins-deploy-platform-ansible-os-2209-1
2024-11-07 02:33:37,689 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/f27e04e4-66b5-4676-bc76-246cbbd0ab7a
2024-11-07 02:33:37,698 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/eec8b4ab-a276-4381-b4f0-136feeba03b7
2024-11-07 02:33:38,930 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.329 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.329/1.760/3.192/1.431 ms')
2024-11-07 02:33:38,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76795696-78163047 passed
2024-11-07 02:33:39,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 02:33:39,083 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76795696-78163047, IP 194.249.149.195, Port 22
2024-11-07 02:33:39,238 - DEBUG - VM ctest-TestRoutersBasic-76795696-78163047 is ready for SSH connections
2024-11-07 02:33:39,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 02:33:39,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.249.149.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-11-07 02:33:39,238 - DEBUG - ping -s 56 -c 3 -W 1 194.249.149.195
2024-11-07 02:33:42,995 - DEBUG - PING 194.249.149.195 (194.249.149.195): 56 data bytes
64 bytes from 194.249.149.195: seq=0 ttl=62 time=6.926 ms
64 bytes from 194.249.149.195: seq=1 ttl=62 time=1.090 ms
64 bytes from 194.249.149.195: seq=2 ttl=62 time=0.930 ms
--- 194.249.149.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.930/2.982/6.926 ms
2024-11-07 02:33:42,996 - INFO - Ping to IP 194.249.149.195 from VM ctest-TestRoutersBasic-76795696-26471699 passed
2024-11-07 02:33:42,996 - INFO - Deleting interface with subnet_id 5799476d-59e2-4dbf-a91a-76d9c8c37ce5, port_id None from router 47b1cf55-ad02-4b4e-922e-a44d93e99de2
2024-11-07 02:33:43,203 - INFO - Deleting VM ctest-TestRoutersBasic-76795696-78163047
2024-11-07 02:33:43,279 - INFO - Deleting VM ctest-TestRoutersBasic-76795696-26471699
2024-11-07 02:33:43,353 - INFO - Deleting VN ctest-ext_vn-87296936
2024-11-07 02:33:43,441 - DEBUG - VN 0b99212d-7070-4952-93f2-287ab81375e1 still in use: Unable to complete operation on network 0b99212d-7070-4952-93f2-287ab81375e1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4b8fceaa-8962-4c5f-af88-3ba995f99dbc']
2024-11-07 02:33:43,441 - WARNING - Deleting VN ctest-ext_vn-87296936 failed..Will retry
2024-11-07 02:33:45,555 - DEBUG - Response for deleting network ()
2024-11-07 02:33:45,555 - INFO - Deleting VN ctest-vn-55780835
2024-11-07 02:33:45,701 - DEBUG - Response for deleting network ()
2024-11-07 02:33:45,961 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 02:33:45,961 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-11-07 02:33:45,961 - INFO - --------------------------------------------------------------------------------
2024-11-07 02:33:46,750 - INFO - Deleted project: ctest-TestRoutersBasic-76795696, ID : f943e721-2981-4655-b8d9-55924cbaf3a9