2025-05-03 08:59:26,158 - INFO - Domain Default found not creating 2025-05-03 08:59:26,298 - INFO - Project ctest-TestRoutersBasic-37655391 not found, creating it 2025-05-03 08:59:26,740 - INFO - Created Project:ctest-TestRoutersBasic-37655391, ID : 598dfb08-6b11-45c5-bc83-d4a7c58b926e 2025-05-03 08:59:28,240 - INFO - ================================================================================ 2025-05-03 08:59:28,240 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-03 08:59:28,240 - 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-05-03 08:59:28,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-03 08:59:28,497 - INFO - Initial checks done. Running the testcase now 2025-05-03 08:59:28,497 - INFO - 2025-05-03 08:59:29,275 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37655391 2025-05-03 08:59:29,370 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37655391 2025-05-03 08:59:29,694 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37655391', 'default']} 2025-05-03 08:59:29,976 - DEBUG - Response for create_network : {'network': {'id': 'b9b470de-24c8-48df-baaa-65313747e590', 'name': 'ctest-vn-43005027', 'tenant_id': '598dfb086b1145c5bc83d4a7c58b926e', 'project_id': '598dfb086b1145c5bc83d4a7c58b926e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37655391', 'ctest-vn-43005027'], 'port_security_enabled': True, 'description': ''}} 2025-05-03 08:59:30,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e52c0b1-51b5-4284-a53f-3341b3b7878b', 'name': '', 'tenant_id': '598dfb086b1145c5bc83d4a7c58b926e', 'network_id': 'b9b470de-24c8-48df-baaa-65313747e590', 'ip_version': 4, 'cidr': '111.53.175.128/26', 'allocation_pools': [{'start': '111.53.175.130', 'end': '111.53.175.190'}], 'gateway_ip': '111.53.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.53.175.130', 'tags': [], 'project_id': '598dfb086b1145c5bc83d4a7c58b926e'}} 2025-05-03 08:59:30,141 - INFO - Created VN ctest-vn-43005027 2025-05-03 08:59:30,194 - DEBUG - VN ctest-vn-43005027 UUID is b9b470de-24c8-48df-baaa-65313747e590 2025-05-03 08:59:30,831 - DEBUG - Response for create_network : {'network': {'id': '0811f803-37c4-4139-b9ec-4ec17b4fe12d', 'name': 'ctest-ext_vn-12428111', 'tenant_id': '598dfb086b1145c5bc83d4a7c58b926e', 'project_id': '598dfb086b1145c5bc83d4a7c58b926e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37655391', 'ctest-ext_vn-12428111'], 'port_security_enabled': True, 'description': ''}} 2025-05-03 08:59:31,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '50e90b9e-bffe-4d86-8115-ce05f27d80e4', 'name': '', 'tenant_id': '598dfb086b1145c5bc83d4a7c58b926e', 'network_id': '0811f803-37c4-4139-b9ec-4ec17b4fe12d', 'ip_version': 4, 'cidr': '27.76.166.0/26', 'allocation_pools': [{'start': '27.76.166.2', 'end': '27.76.166.62'}], 'gateway_ip': '27.76.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.76.166.2', 'tags': [], 'project_id': '598dfb086b1145c5bc83d4a7c58b926e'}} 2025-05-03 08:59:31,038 - INFO - Created VN ctest-ext_vn-12428111 2025-05-03 08:59:31,098 - DEBUG - VN ctest-ext_vn-12428111 UUID is 0811f803-37c4-4139-b9ec-4ec17b4fe12d 2025-05-03 08:59:31,267 - DEBUG - Services list from nova: [, , ] 2025-05-03 08:59:32,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3258-1) 2025-05-03 08:59:33,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3258-1) 2025-05-03 08:59:33,735 - INFO - Setting gateway for router 45dba231-eee0-454e-8610-6a73ae0b5752 to network 0811f803-37c4-4139-b9ec-4ec17b4fe12d 2025-05-03 08:59:33,809 - INFO - Adding interface with subnet_id 1e52c0b1-51b5-4284-a53f-3341b3b7878b, port_id None to router 45dba231-eee0-454e-8610-6a73ae0b5752 2025-05-03 08:59:34,244 - INFO - Waiting for VM ctest-TestRoutersBasic-37655391-41811444 to be up.. 2025-05-03 08:59:34,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-03 08:59:39,487 - DEBUG - VM is in ACTIVE state now 2025-05-03 08:59:39,487 - INFO - VM name : ctest-TestRoutersBasic-37655391-41811444 2025-05-03 08:59:39,556 - DEBUG - VM ctest-TestRoutersBasic-37655391-41811444 ID is 5ec473a8-51ac-4df6-bafd-ede419ebd85b 2025-05-03 08:59:39,573 - DEBUG - VM ctest-TestRoutersBasic-37655391-41811444 launched on Node cn-jenkins-deploy-platform-ansible-os-3258-1 2025-05-03 08:59:39,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5ec473a8-51ac-4df6-bafd-ede419ebd85b 2025-05-03 08:59:39,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5ec473a8-51ac-4df6-bafd-ede419ebd85b 2025-05-03 08:59:40,007 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/710135c3-154e-4c75-9a44-6d797bad8c75 2025-05-03 08:59:43,261 - 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') 2025-05-03 08:59:43,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37655391-41811444 failed! 2025-05-03 08:59:43,314 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37655391:ctest-vn-43005027 is 111.53.175.129 and allocation pool is NOT set 2025-05-03 08:59:45,371 - 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=5.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.803 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.803/2.917/5.031/2.114 ms') 2025-05-03 08:59:45,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37655391-41811444 passed 2025-05-03 08:59:45,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 08:59:45,518 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37655391-41811444, IP 111.53.175.131, Port 22 2025-05-03 08:59:45,677 - DEBUG - VM ctest-TestRoutersBasic-37655391-41811444 is ready for SSH connections 2025-05-03 08:59:45,677 - INFO - Waiting for VM ctest-TestRoutersBasic-37655391-55731269 to be up.. 2025-05-03 08:59:45,752 - DEBUG - VM is in ACTIVE state now 2025-05-03 08:59:45,752 - INFO - VM name : ctest-TestRoutersBasic-37655391-55731269 2025-05-03 08:59:45,821 - DEBUG - VM ctest-TestRoutersBasic-37655391-55731269 ID is e42da5ac-884f-4b30-8de2-419d81f730ff 2025-05-03 08:59:45,821 - DEBUG - VM ctest-TestRoutersBasic-37655391-55731269 launched on Node cn-jenkins-deploy-platform-ansible-os-3258-1 2025-05-03 08:59:45,903 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e42da5ac-884f-4b30-8de2-419d81f730ff 2025-05-03 08:59:45,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dc14ac54-0094-4657-a578-988040fbb7fb 2025-05-03 08:59:47,161 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/1.830/3.103/1.273 ms') 2025-05-03 08:59:47,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37655391-55731269 passed 2025-05-03 08:59:47,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 08:59:47,310 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37655391-55731269, IP 27.76.166.3, Port 22 2025-05-03 08:59:47,466 - DEBUG - VM ctest-TestRoutersBasic-37655391-55731269 is ready for SSH connections 2025-05-03 08:59:47,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 08:59:47,466 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.76.166.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-03 08:59:47,466 - DEBUG - ping -s 56 -c 3 -W 1 27.76.166.3 2025-05-03 08:59:51,498 - DEBUG - PING 27.76.166.3 (27.76.166.3): 56 data bytes 64 bytes from 27.76.166.3: seq=0 ttl=62 time=6.448 ms 64 bytes from 27.76.166.3: seq=1 ttl=62 time=0.900 ms 64 bytes from 27.76.166.3: seq=2 ttl=62 time=1.012 ms --- 27.76.166.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.900/2.786/6.448 ms 2025-05-03 08:59:51,498 - INFO - Ping to IP 27.76.166.3 from VM ctest-TestRoutersBasic-37655391-41811444 passed 2025-05-03 08:59:51,498 - INFO - Deleting interface with subnet_id 1e52c0b1-51b5-4284-a53f-3341b3b7878b, port_id None from router 45dba231-eee0-454e-8610-6a73ae0b5752 2025-05-03 08:59:51,686 - INFO - Deleting VM ctest-TestRoutersBasic-37655391-55731269 2025-05-03 08:59:51,749 - INFO - Deleting VM ctest-TestRoutersBasic-37655391-41811444 2025-05-03 08:59:51,832 - INFO - Deleting VN ctest-ext_vn-12428111 2025-05-03 08:59:51,902 - DEBUG - VN 0811f803-37c4-4139-b9ec-4ec17b4fe12d still in use: Unable to complete operation on network 0811f803-37c4-4139-b9ec-4ec17b4fe12d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4cd2c13e-da5c-4407-bf9c-2845adf59393'] 2025-05-03 08:59:51,902 - WARNING - Deleting VN ctest-ext_vn-12428111 failed..Will retry 2025-05-03 08:59:53,999 - DEBUG - Response for deleting network () 2025-05-03 08:59:53,999 - INFO - Deleting VN ctest-vn-43005027 2025-05-03 08:59:54,100 - DEBUG - Response for deleting network () 2025-05-03 08:59:54,360 - DEBUG - No XMPP flaps were noticed during the test
2025-05-03 08:59:54,360 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-03 08:59:54,360 - INFO - -------------------------------------------------------------------------------- 2025-05-03 08:59:55,064 - INFO - Deleted project: ctest-TestRoutersBasic-37655391, ID : 598dfb08-6b11-45c5-bc83-d4a7c58b926e