2024-09-12 06:40:54,044 - INFO - Domain Default found not creating 2024-09-12 06:40:54,236 - INFO - Project ctest-TestRoutersBasic-40938153 not found, creating it 2024-09-12 06:40:54,811 - INFO - Created Project:ctest-TestRoutersBasic-40938153, ID : 62637f64-03e4-4fee-a657-e7ccd257d8d8 2024-09-12 06:40:56,594 - INFO - ================================================================================ 2024-09-12 06:40:56,594 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-12 06:40:56,594 - 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-12 06:40:56,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.19': '0'}} with 2024-09-12 06:40:56,852 - INFO - Initial checks done. Running the testcase now 2024-09-12 06:40:56,852 - INFO - 2024-09-12 06:40:57,710 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40938153 2024-09-12 06:40:57,817 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40938153 2024-09-12 06:40:58,173 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40938153', 'default']} 2024-09-12 06:40:58,524 - DEBUG - Response for create_network : {'network': {'id': 'e90aa686-aa38-4051-a7f2-bf792b699595', 'name': 'ctest-vn-52271660', 'tenant_id': '62637f6403e44feea657e7ccd257d8d8', 'project_id': '62637f6403e44feea657e7ccd257d8d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40938153', 'ctest-vn-52271660'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 06:40:58,718 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be590c95-b543-4f2e-bc91-a187b3c6be06', 'name': '', 'tenant_id': '62637f6403e44feea657e7ccd257d8d8', 'network_id': 'e90aa686-aa38-4051-a7f2-bf792b699595', 'ip_version': 4, 'cidr': '88.139.126.128/26', 'allocation_pools': [{'start': '88.139.126.130', 'end': '88.139.126.190'}], 'gateway_ip': '88.139.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.139.126.130', 'tags': [], 'project_id': '62637f6403e44feea657e7ccd257d8d8'}} 2024-09-12 06:40:58,740 - INFO - Created VN ctest-vn-52271660 2024-09-12 06:40:58,801 - DEBUG - VN ctest-vn-52271660 UUID is e90aa686-aa38-4051-a7f2-bf792b699595 2024-09-12 06:40:59,176 - DEBUG - Response for create_network : {'network': {'id': '2762c296-64ea-4678-9da2-5cfff650bfe9', 'name': 'ctest-ext_vn-41488452', 'tenant_id': '62637f6403e44feea657e7ccd257d8d8', 'project_id': '62637f6403e44feea657e7ccd257d8d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40938153', 'ctest-ext_vn-41488452'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 06:40:59,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e9ee0f3-1657-4d28-9162-174ec49cebe4', 'name': '', 'tenant_id': '62637f6403e44feea657e7ccd257d8d8', 'network_id': '2762c296-64ea-4678-9da2-5cfff650bfe9', 'ip_version': 4, 'cidr': '153.217.128.0/26', 'allocation_pools': [{'start': '153.217.128.2', 'end': '153.217.128.62'}], 'gateway_ip': '153.217.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.217.128.2', 'tags': [], 'project_id': '62637f6403e44feea657e7ccd257d8d8'}} 2024-09-12 06:40:59,425 - INFO - Created VN ctest-ext_vn-41488452 2024-09-12 06:40:59,489 - DEBUG - VN ctest-ext_vn-41488452 UUID is 2762c296-64ea-4678-9da2-5cfff650bfe9 2024-09-12 06:40:59,689 - DEBUG - Services list from nova: [, , ] 2024-09-12 06:41:00,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1905-1) 2024-09-12 06:41:02,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1905-1) 2024-09-12 06:41:02,297 - INFO - Setting gateway for router 429f3f4a-db85-4879-8d2b-0527e29553d7 to network 2762c296-64ea-4678-9da2-5cfff650bfe9 2024-09-12 06:41:02,439 - INFO - Adding interface with subnet_id be590c95-b543-4f2e-bc91-a187b3c6be06, port_id None to router 429f3f4a-db85-4879-8d2b-0527e29553d7 2024-09-12 06:41:02,854 - INFO - Waiting for VM ctest-TestRoutersBasic-40938153-76806915 to be up.. 2024-09-12 06:41:03,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 06:41:08,214 - DEBUG - VM is in ACTIVE state now 2024-09-12 06:41:08,215 - INFO - VM name : ctest-TestRoutersBasic-40938153-76806915 2024-09-12 06:41:08,307 - DEBUG - VM ctest-TestRoutersBasic-40938153-76806915 ID is 05fad92b-ed91-48e3-9f4c-00edf043f4d2 2024-09-12 06:41:08,329 - DEBUG - VM ctest-TestRoutersBasic-40938153-76806915 launched on Node cn-jenkins-deploy-platform-ansible-os-1905-1 2024-09-12 06:41:08,423 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/05fad92b-ed91-48e3-9f4c-00edf043f4d2 2024-09-12 06:41:08,759 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/05fad92b-ed91-48e3-9f4c-00edf043f4d2 2024-09-12 06:41:08,799 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/ac5c1320-be0c-47fe-bf52-7cb596ecae58 2024-09-12 06:41:12,065 - 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 1011ms') 2024-09-12 06:41:12,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40938153-76806915 failed! 2024-09-12 06:41:12,129 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40938153:ctest-vn-52271660 is 88.139.126.129 and allocation pool is NOT set 2024-09-12 06:41:14,194 - 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=7.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.17 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 = 2.171/5.018/7.866/2.847 ms') 2024-09-12 06:41:14,194 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40938153-76806915 passed 2024-09-12 06:41:14,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:41:14,357 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40938153-76806915, IP 88.139.126.131, Port 22 2024-09-12 06:41:14,534 - DEBUG - VM ctest-TestRoutersBasic-40938153-76806915 is ready for SSH connections 2024-09-12 06:41:14,534 - INFO - Waiting for VM ctest-TestRoutersBasic-40938153-35525452 to be up.. 2024-09-12 06:41:14,636 - DEBUG - VM is in ACTIVE state now 2024-09-12 06:41:14,637 - INFO - VM name : ctest-TestRoutersBasic-40938153-35525452 2024-09-12 06:41:14,725 - DEBUG - VM ctest-TestRoutersBasic-40938153-35525452 ID is 6927f7bd-1cde-4737-a581-baf8037ee0da 2024-09-12 06:41:14,726 - DEBUG - VM ctest-TestRoutersBasic-40938153-35525452 launched on Node cn-jenkins-deploy-platform-ansible-os-1905-1 2024-09-12 06:41:14,850 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/6927f7bd-1cde-4737-a581-baf8037ee0da 2024-09-12 06:41:14,862 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/fab9ff9e-8515-4c3a-afe9-bb8703b6757c 2024-09-12 06:41:16,128 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.585 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.585/2.222/3.860/1.637 ms') 2024-09-12 06:41:16,128 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40938153-35525452 passed 2024-09-12 06:41:16,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:41:16,289 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40938153-35525452, IP 153.217.128.3, Port 22 2024-09-12 06:41:16,449 - DEBUG - VM ctest-TestRoutersBasic-40938153-35525452 is ready for SSH connections 2024-09-12 06:41:16,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:41:16,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.217.128.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-12 06:41:16,449 - DEBUG - ping -s 56 -c 3 -W 1 153.217.128.3 2024-09-12 06:41:20,209 - DEBUG - PING 153.217.128.3 (153.217.128.3): 56 data bytes 64 bytes from 153.217.128.3: seq=0 ttl=62 time=7.966 ms 64 bytes from 153.217.128.3: seq=1 ttl=62 time=0.926 ms 64 bytes from 153.217.128.3: seq=2 ttl=62 time=1.078 ms --- 153.217.128.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/3.323/7.966 ms 2024-09-12 06:41:20,209 - INFO - Ping to IP 153.217.128.3 from VM ctest-TestRoutersBasic-40938153-76806915 passed 2024-09-12 06:41:20,209 - INFO - Deleting interface with subnet_id be590c95-b543-4f2e-bc91-a187b3c6be06, port_id None from router 429f3f4a-db85-4879-8d2b-0527e29553d7 2024-09-12 06:41:20,471 - INFO - Deleting VM ctest-TestRoutersBasic-40938153-35525452 2024-09-12 06:41:20,556 - INFO - Deleting VM ctest-TestRoutersBasic-40938153-76806915 2024-09-12 06:41:20,651 - INFO - Deleting VN ctest-ext_vn-41488452 2024-09-12 06:41:20,737 - DEBUG - VN 2762c296-64ea-4678-9da2-5cfff650bfe9 still in use: Unable to complete operation on network 2762c296-64ea-4678-9da2-5cfff650bfe9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb2bbf42-ed4d-4a7f-a475-88e34ddec017'] 2024-09-12 06:41:20,737 - WARNING - Deleting VN ctest-ext_vn-41488452 failed..Will retry 2024-09-12 06:41:22,860 - DEBUG - Response for deleting network () 2024-09-12 06:41:22,860 - INFO - Deleting VN ctest-vn-52271660 2024-09-12 06:41:22,992 - DEBUG - Response for deleting network () 2024-09-12 06:41:23,247 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 06:41:23,247 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-09-12 06:41:23,248 - INFO - -------------------------------------------------------------------------------- 2024-09-12 06:41:24,066 - INFO - Deleted project: ctest-TestRoutersBasic-40938153, ID : 62637f64-03e4-4fee-a657-e7ccd257d8d8