2025-10-31 19:40:10,775 - INFO - Domain Default found not creating 2025-10-31 19:40:11,192 - INFO - Project ctest-TestRoutersBasic-74254204 not found, creating it 2025-10-31 19:40:11,971 - INFO - Created Project:ctest-TestRoutersBasic-74254204, ID : 89513051-ea7b-48e3-8c49-672a33f6214e 2025-10-31 19:40:14,206 - INFO - ================================================================================ 2025-10-31 19:40:14,207 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 19:40:14,207 - 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-10-31 19:40:14,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-31 19:40:14,543 - INFO - Initial checks done. Running the testcase now 2025-10-31 19:40:14,544 - INFO - 2025-10-31 19:40:15,463 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74254204 2025-10-31 19:40:15,574 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74254204 2025-10-31 19:40:15,990 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74254204', 'default']} 2025-10-31 19:40:16,479 - DEBUG - Response for create_network : {'network': {'id': 'e24845d5-874c-4dcb-8c43-199ce2ff9b31', 'name': 'ctest-vn-35413974', 'tenant_id': '89513051ea7b48e38c49672a33f6214e', 'project_id': '89513051ea7b48e38c49672a33f6214e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74254204', 'ctest-vn-35413974'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:40:16,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fba3d0d-c3d7-4cd2-8c00-702ccedaca0e', 'name': '', 'tenant_id': '89513051ea7b48e38c49672a33f6214e', 'network_id': 'e24845d5-874c-4dcb-8c43-199ce2ff9b31', 'ip_version': 4, 'cidr': '48.68.83.128/26', 'allocation_pools': [{'start': '48.68.83.130', 'end': '48.68.83.190'}], 'gateway_ip': '48.68.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.68.83.130', 'tags': [], 'project_id': '89513051ea7b48e38c49672a33f6214e'}} 2025-10-31 19:40:16,791 - INFO - Created VN ctest-vn-35413974 2025-10-31 19:40:16,855 - DEBUG - VN ctest-vn-35413974 UUID is e24845d5-874c-4dcb-8c43-199ce2ff9b31 2025-10-31 19:40:17,241 - DEBUG - Response for create_network : {'network': {'id': '5cb71191-abe0-462f-a2b3-cbf3da04ea3a', 'name': 'ctest-ext_vn-15891755', 'tenant_id': '89513051ea7b48e38c49672a33f6214e', 'project_id': '89513051ea7b48e38c49672a33f6214e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74254204', 'ctest-ext_vn-15891755'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:40:17,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '11d70cc4-bd42-4104-a3c7-01492f1465fa', 'name': '', 'tenant_id': '89513051ea7b48e38c49672a33f6214e', 'network_id': '5cb71191-abe0-462f-a2b3-cbf3da04ea3a', 'ip_version': 4, 'cidr': '57.158.225.64/26', 'allocation_pools': [{'start': '57.158.225.66', 'end': '57.158.225.126'}], 'gateway_ip': '57.158.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.158.225.66', 'tags': [], 'project_id': '89513051ea7b48e38c49672a33f6214e'}} 2025-10-31 19:40:17,492 - INFO - Created VN ctest-ext_vn-15891755 2025-10-31 19:40:17,554 - DEBUG - VN ctest-ext_vn-15891755 UUID is 5cb71191-abe0-462f-a2b3-cbf3da04ea3a 2025-10-31 19:40:17,880 - DEBUG - Services list from nova: [, , ] 2025-10-31 19:40:19,582 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4580-1) 2025-10-31 19:40:20,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4580-1) 2025-10-31 19:40:21,035 - INFO - Setting gateway for router 40aec213-7d43-4b66-9dca-af37bf11eb99 to network 5cb71191-abe0-462f-a2b3-cbf3da04ea3a 2025-10-31 19:40:21,108 - INFO - Adding interface with subnet_id 2fba3d0d-c3d7-4cd2-8c00-702ccedaca0e, port_id None to router 40aec213-7d43-4b66-9dca-af37bf11eb99 2025-10-31 19:40:21,424 - INFO - Waiting for VM ctest-TestRoutersBasic-74254204-28504606 to be up.. 2025-10-31 19:40:21,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 19:40:26,685 - DEBUG - VM is in ACTIVE state now 2025-10-31 19:40:26,686 - INFO - VM name : ctest-TestRoutersBasic-74254204-28504606 2025-10-31 19:40:26,782 - DEBUG - VM ctest-TestRoutersBasic-74254204-28504606 ID is c985fd29-db0b-4228-96c8-92b20deaf437 2025-10-31 19:40:26,802 - DEBUG - VM ctest-TestRoutersBasic-74254204-28504606 launched on Node cn-jenkins-deploy-platform-ansible-os-4580-1 2025-10-31 19:40:26,877 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c985fd29-db0b-4228-96c8-92b20deaf437 2025-10-31 19:40:27,185 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c985fd29-db0b-4228-96c8-92b20deaf437 2025-10-31 19:40:27,225 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/87ff0adc-b422-4b55-9cdd-479df8b20570 2025-10-31 19:40:30,538 - 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') 2025-10-31 19:40:30,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74254204-28504606 failed! 2025-10-31 19:40:30,594 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74254204:ctest-vn-35413974 is 48.68.83.129 and allocation pool is NOT set 2025-10-31 19:40:32,659 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.73 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 = 4.157/4.945/5.733/0.788 ms') 2025-10-31 19:40:32,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74254204-28504606 passed 2025-10-31 19:40:32,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:40:32,835 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74254204-28504606, IP 48.68.83.131, Port 22 2025-10-31 19:40:33,033 - DEBUG - VM ctest-TestRoutersBasic-74254204-28504606 is ready for SSH connections 2025-10-31 19:40:33,033 - INFO - Waiting for VM ctest-TestRoutersBasic-74254204-95430069 to be up.. 2025-10-31 19:40:33,181 - DEBUG - VM is in ACTIVE state now 2025-10-31 19:40:33,181 - INFO - VM name : ctest-TestRoutersBasic-74254204-95430069 2025-10-31 19:40:33,296 - DEBUG - VM ctest-TestRoutersBasic-74254204-95430069 ID is 60e174a6-4c00-446a-b2fc-bf2e36873043 2025-10-31 19:40:33,296 - DEBUG - VM ctest-TestRoutersBasic-74254204-95430069 launched on Node cn-jenkins-deploy-platform-ansible-os-4580-1 2025-10-31 19:40:33,406 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/60e174a6-4c00-446a-b2fc-bf2e36873043 2025-10-31 19:40:33,416 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7de819d3-adcd-4f63-b3a6-6830d2689a01 2025-10-31 19:40:34,710 - 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=4.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.65 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 = 1.653/3.308/4.963/1.655 ms') 2025-10-31 19:40:34,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74254204-95430069 passed 2025-10-31 19:40:34,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:40:34,870 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74254204-95430069, IP 57.158.225.67, Port 22 2025-10-31 19:40:34,935 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 19:40:35,013 - DEBUG - VM ctest-TestRoutersBasic-74254204-95430069 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 19:40:40,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:40:40,013 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74254204-95430069, IP 57.158.225.67, Port 22 2025-10-31 19:40:40,223 - DEBUG - VM ctest-TestRoutersBasic-74254204-95430069 is ready for SSH connections 2025-10-31 19:40:40,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:40:40,224 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.158.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-31 19:40:40,224 - DEBUG - ping -s 56 -c 3 -W 1 57.158.225.67 2025-10-31 19:40:44,791 - DEBUG - PING 57.158.225.67 (57.158.225.67): 56 data bytes 64 bytes from 57.158.225.67: seq=0 ttl=62 time=11.478 ms 64 bytes from 57.158.225.67: seq=1 ttl=62 time=2.127 ms 64 bytes from 57.158.225.67: seq=2 ttl=62 time=2.087 ms --- 57.158.225.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.087/5.230/11.478 ms 2025-10-31 19:40:44,791 - INFO - Ping to IP 57.158.225.67 from VM ctest-TestRoutersBasic-74254204-28504606 passed 2025-10-31 19:40:44,792 - INFO - Deleting interface with subnet_id 2fba3d0d-c3d7-4cd2-8c00-702ccedaca0e, port_id None from router 40aec213-7d43-4b66-9dca-af37bf11eb99 2025-10-31 19:40:45,116 - INFO - Deleting VM ctest-TestRoutersBasic-74254204-95430069 2025-10-31 19:40:45,198 - INFO - Deleting VM ctest-TestRoutersBasic-74254204-28504606 2025-10-31 19:40:45,272 - INFO - Deleting VN ctest-ext_vn-15891755 2025-10-31 19:40:45,350 - DEBUG - VN 5cb71191-abe0-462f-a2b3-cbf3da04ea3a still in use: Unable to complete operation on network 5cb71191-abe0-462f-a2b3-cbf3da04ea3a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c81828c4-f92e-4d8b-9a79-6ebb99ff5256'] 2025-10-31 19:40:45,350 - WARNING - Deleting VN ctest-ext_vn-15891755 failed..Will retry 2025-10-31 19:40:47,559 - DEBUG - Response for deleting network () 2025-10-31 19:40:47,559 - INFO - Deleting VN ctest-vn-35413974 2025-10-31 19:40:47,683 - DEBUG - Response for deleting network () 2025-10-31 19:40:47,988 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 19:40:47,988 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2025-10-31 19:40:47,988 - INFO - -------------------------------------------------------------------------------- 2025-10-31 19:40:48,998 - INFO - Deleted project: ctest-TestRoutersBasic-74254204, ID : 89513051-ea7b-48e3-8c49-672a33f6214e