2025-01-30 17:10:13,067 - INFO - Domain Default found not creating 2025-01-30 17:10:13,249 - INFO - Project ctest-TestRoutersBasic-84151462 not found, creating it 2025-01-30 17:10:13,749 - INFO - Created Project:ctest-TestRoutersBasic-84151462, ID : 13348c4b-d6fd-42ee-bf64-69cf90abdd28 2025-01-30 17:10:15,555 - INFO - ================================================================================ 2025-01-30 17:10:15,555 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-30 17:10:15,555 - 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 2025-01-30 17:10:15,810 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with 2025-01-30 17:10:15,810 - INFO - Initial checks done. Running the testcase now 2025-01-30 17:10:15,810 - INFO - 2025-01-30 17:10:16,549 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84151462 2025-01-30 17:10:16,653 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84151462 2025-01-30 17:10:16,992 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84151462', 'default']} 2025-01-30 17:10:17,316 - DEBUG - Response for create_network : {'network': {'id': 'ac4d4312-e311-4ea4-bec4-71c82af4fde9', 'name': 'ctest-vn-27155861', 'tenant_id': '13348c4bd6fd42eebf6469cf90abdd28', 'project_id': '13348c4bd6fd42eebf6469cf90abdd28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84151462', 'ctest-vn-27155861'], 'port_security_enabled': True, 'description': ''}} 2025-01-30 17:10:17,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '519f59e5-35ae-4002-a1f6-34fdad5eb185', 'name': '', 'tenant_id': '13348c4bd6fd42eebf6469cf90abdd28', 'network_id': 'ac4d4312-e311-4ea4-bec4-71c82af4fde9', 'ip_version': 4, 'cidr': '215.111.110.192/26', 'allocation_pools': [{'start': '215.111.110.194', 'end': '215.111.110.254'}], 'gateway_ip': '215.111.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.111.110.194', 'tags': [], 'project_id': '13348c4bd6fd42eebf6469cf90abdd28'}} 2025-01-30 17:10:17,546 - INFO - Created VN ctest-vn-27155861 2025-01-30 17:10:17,600 - DEBUG - VN ctest-vn-27155861 UUID is ac4d4312-e311-4ea4-bec4-71c82af4fde9 2025-01-30 17:10:17,917 - DEBUG - Response for create_network : {'network': {'id': 'd3a0e9b1-5e38-4f40-9d2f-16c54be7675c', 'name': 'ctest-ext_vn-06109410', 'tenant_id': '13348c4bd6fd42eebf6469cf90abdd28', 'project_id': '13348c4bd6fd42eebf6469cf90abdd28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84151462', 'ctest-ext_vn-06109410'], 'port_security_enabled': True, 'description': ''}} 2025-01-30 17:10:18,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '72547e6d-602a-46ee-87cb-47286d466497', 'name': '', 'tenant_id': '13348c4bd6fd42eebf6469cf90abdd28', 'network_id': 'd3a0e9b1-5e38-4f40-9d2f-16c54be7675c', 'ip_version': 4, 'cidr': '98.220.30.0/26', 'allocation_pools': [{'start': '98.220.30.2', 'end': '98.220.30.62'}], 'gateway_ip': '98.220.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.220.30.2', 'tags': [], 'project_id': '13348c4bd6fd42eebf6469cf90abdd28'}} 2025-01-30 17:10:18,243 - INFO - Created VN ctest-ext_vn-06109410 2025-01-30 17:10:18,296 - DEBUG - VN ctest-ext_vn-06109410 UUID is d3a0e9b1-5e38-4f40-9d2f-16c54be7675c 2025-01-30 17:10:18,471 - DEBUG - Services list from nova: [, , ] 2025-01-30 17:10:19,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2670-1) 2025-01-30 17:10:20,628 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2670-1) 2025-01-30 17:10:20,697 - INFO - Setting gateway for router 114f5f46-e967-49f2-8748-ae88a9ce8860 to network d3a0e9b1-5e38-4f40-9d2f-16c54be7675c 2025-01-30 17:10:20,779 - INFO - Adding interface with subnet_id 519f59e5-35ae-4002-a1f6-34fdad5eb185, port_id None to router 114f5f46-e967-49f2-8748-ae88a9ce8860 2025-01-30 17:10:21,257 - INFO - Waiting for VM ctest-TestRoutersBasic-84151462-36367859 to be up.. 2025-01-30 17:10:21,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-30 17:10:26,603 - DEBUG - VM is in ACTIVE state now 2025-01-30 17:10:26,604 - INFO - VM name : ctest-TestRoutersBasic-84151462-36367859 2025-01-30 17:10:26,679 - DEBUG - VM ctest-TestRoutersBasic-84151462-36367859 ID is 48617afc-ee13-48a8-b43f-df4653412221 2025-01-30 17:10:26,698 - DEBUG - VM ctest-TestRoutersBasic-84151462-36367859 launched on Node cn-jenkins-deploy-platform-ansible-os-2670-1 2025-01-30 17:10:26,779 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/48617afc-ee13-48a8-b43f-df4653412221 2025-01-30 17:10:27,086 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/48617afc-ee13-48a8-b43f-df4653412221 2025-01-30 17:10:27,126 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/24552af4-f419-402b-9dbf-a2ed44445fdc 2025-01-30 17:10:30,393 - 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 1014ms') 2025-01-30 17:10:30,393 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84151462-36367859 failed! 2025-01-30 17:10:30,452 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84151462:ctest-vn-27155861 is 215.111.110.193 and allocation pool is NOT set 2025-01-30 17:10:32,511 - 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=2.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/1.540/2.649/1.108 ms') 2025-01-30 17:10:32,511 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84151462-36367859 passed 2025-01-30 17:10:32,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 17:10:32,677 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84151462-36367859, IP 215.111.110.195, Port 22 2025-01-30 17:10:32,835 - DEBUG - VM ctest-TestRoutersBasic-84151462-36367859 is ready for SSH connections 2025-01-30 17:10:32,836 - INFO - Waiting for VM ctest-TestRoutersBasic-84151462-46137070 to be up.. 2025-01-30 17:10:32,912 - DEBUG - VM is in ACTIVE state now 2025-01-30 17:10:32,912 - INFO - VM name : ctest-TestRoutersBasic-84151462-46137070 2025-01-30 17:10:33,002 - DEBUG - VM ctest-TestRoutersBasic-84151462-46137070 ID is 4e9509ca-a9f9-400a-b5eb-5be3eca38646 2025-01-30 17:10:33,002 - DEBUG - VM ctest-TestRoutersBasic-84151462-46137070 launched on Node cn-jenkins-deploy-platform-ansible-os-2670-1 2025-01-30 17:10:33,105 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/4e9509ca-a9f9-400a-b5eb-5be3eca38646 2025-01-30 17:10:33,118 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/722e3265-059d-47de-b092-0da63aff25c9 2025-01-30 17:10:34,386 - 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=9.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.599 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.599/5.040/9.481/4.441 ms') 2025-01-30 17:10:34,387 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84151462-46137070 passed 2025-01-30 17:10:34,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 17:10:34,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84151462-46137070, IP 98.220.30.3, Port 22 2025-01-30 17:10:34,699 - DEBUG - VM ctest-TestRoutersBasic-84151462-46137070 is ready for SSH connections 2025-01-30 17:10:34,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 17:10:34,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.220.30.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-30 17:10:34,700 - DEBUG - ping -s 56 -c 3 -W 1 98.220.30.3 2025-01-30 17:10:38,440 - DEBUG - PING 98.220.30.3 (98.220.30.3): 56 data bytes 64 bytes from 98.220.30.3: seq=0 ttl=62 time=6.653 ms 64 bytes from 98.220.30.3: seq=1 ttl=62 time=1.093 ms 64 bytes from 98.220.30.3: seq=2 ttl=62 time=0.843 ms --- 98.220.30.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/2.863/6.653 ms 2025-01-30 17:10:38,440 - INFO - Ping to IP 98.220.30.3 from VM ctest-TestRoutersBasic-84151462-36367859 passed 2025-01-30 17:10:38,440 - INFO - Deleting interface with subnet_id 519f59e5-35ae-4002-a1f6-34fdad5eb185, port_id None from router 114f5f46-e967-49f2-8748-ae88a9ce8860 2025-01-30 17:10:38,643 - INFO - Deleting VM ctest-TestRoutersBasic-84151462-46137070 2025-01-30 17:10:38,728 - INFO - Deleting VM ctest-TestRoutersBasic-84151462-36367859 2025-01-30 17:10:38,818 - INFO - Deleting VN ctest-ext_vn-06109410 2025-01-30 17:10:38,895 - DEBUG - VN d3a0e9b1-5e38-4f40-9d2f-16c54be7675c still in use: Unable to complete operation on network d3a0e9b1-5e38-4f40-9d2f-16c54be7675c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f0690939-6a54-46a0-881c-be3d57cc25cb'] 2025-01-30 17:10:38,896 - WARNING - Deleting VN ctest-ext_vn-06109410 failed..Will retry 2025-01-30 17:10:41,008 - DEBUG - Response for deleting network () 2025-01-30 17:10:41,008 - INFO - Deleting VN ctest-vn-27155861 2025-01-30 17:10:41,122 - DEBUG - Response for deleting network () 2025-01-30 17:10:41,378 - DEBUG - No XMPP flaps were noticed during the test
2025-01-30 17:10:41,378 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-30 17:10:41,378 - INFO - -------------------------------------------------------------------------------- 2025-01-30 17:10:42,133 - INFO - Deleted project: ctest-TestRoutersBasic-84151462, ID : 13348c4b-d6fd-42ee-bf64-69cf90abdd28