2025-01-02 22:56:40,429 - INFO - Domain Default found not creating 2025-01-02 22:56:40,575 - INFO - Project ctest-TestRoutersBasic-53875484 not found, creating it 2025-01-02 22:56:41,040 - INFO - Created Project:ctest-TestRoutersBasic-53875484, ID : 3fc085b8-992e-43fd-8a0f-931881159fe8 2025-01-02 22:56:42,527 - INFO - ================================================================================ 2025-01-02 22:56:42,527 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-02 22:56:42,527 - 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-02 22:56:42,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2025-01-02 22:56:42,787 - INFO - Initial checks done. Running the testcase now 2025-01-02 22:56:42,787 - INFO - 2025-01-02 22:56:43,494 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53875484 2025-01-02 22:56:43,592 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53875484 2025-01-02 22:56:43,920 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53875484', 'default']} 2025-01-02 22:56:44,212 - DEBUG - Response for create_network : {'network': {'id': '6950d8cf-151e-4b80-88c0-c64708c8d662', 'name': 'ctest-vn-32105897', 'tenant_id': '3fc085b8992e43fd8a0f931881159fe8', 'project_id': '3fc085b8992e43fd8a0f931881159fe8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53875484', 'ctest-vn-32105897'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:56:44,429 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd80f6137-f8b4-4c53-9d01-bda0e896eccf', 'name': '', 'tenant_id': '3fc085b8992e43fd8a0f931881159fe8', 'network_id': '6950d8cf-151e-4b80-88c0-c64708c8d662', 'ip_version': 4, 'cidr': '63.225.137.128/26', 'allocation_pools': [{'start': '63.225.137.130', 'end': '63.225.137.190'}], 'gateway_ip': '63.225.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.225.137.130', 'tags': [], 'project_id': '3fc085b8992e43fd8a0f931881159fe8'}} 2025-01-02 22:56:44,448 - INFO - Created VN ctest-vn-32105897 2025-01-02 22:56:44,504 - DEBUG - VN ctest-vn-32105897 UUID is 6950d8cf-151e-4b80-88c0-c64708c8d662 2025-01-02 22:56:44,854 - DEBUG - Response for create_network : {'network': {'id': 'fea074f4-ef1f-496e-a099-618bb558da91', 'name': 'ctest-ext_vn-63715843', 'tenant_id': '3fc085b8992e43fd8a0f931881159fe8', 'project_id': '3fc085b8992e43fd8a0f931881159fe8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53875484', 'ctest-ext_vn-63715843'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:56:45,066 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c58d2f9-5570-4342-b388-5b2e75a3009f', 'name': '', 'tenant_id': '3fc085b8992e43fd8a0f931881159fe8', 'network_id': 'fea074f4-ef1f-496e-a099-618bb558da91', 'ip_version': 4, 'cidr': '162.34.174.64/26', 'allocation_pools': [{'start': '162.34.174.66', 'end': '162.34.174.126'}], 'gateway_ip': '162.34.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.34.174.66', 'tags': [], 'project_id': '3fc085b8992e43fd8a0f931881159fe8'}} 2025-01-02 22:56:45,084 - INFO - Created VN ctest-ext_vn-63715843 2025-01-02 22:56:45,140 - DEBUG - VN ctest-ext_vn-63715843 UUID is fea074f4-ef1f-496e-a099-618bb558da91 2025-01-02 22:56:45,339 - DEBUG - Services list from nova: [, , ] 2025-01-02 22:56:46,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2516-1) 2025-01-02 22:56:47,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2516-1) 2025-01-02 22:56:47,601 - INFO - Setting gateway for router 5d429004-3be7-4019-a30e-fec096e169e9 to network fea074f4-ef1f-496e-a099-618bb558da91 2025-01-02 22:56:47,672 - INFO - Adding interface with subnet_id d80f6137-f8b4-4c53-9d01-bda0e896eccf, port_id None to router 5d429004-3be7-4019-a30e-fec096e169e9 2025-01-02 22:56:48,082 - INFO - Waiting for VM ctest-TestRoutersBasic-53875484-06389669 to be up.. 2025-01-02 22:56:48,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 22:56:53,316 - DEBUG - VM is in ACTIVE state now 2025-01-02 22:56:53,316 - INFO - VM name : ctest-TestRoutersBasic-53875484-06389669 2025-01-02 22:56:53,393 - DEBUG - VM ctest-TestRoutersBasic-53875484-06389669 ID is 27bb00ca-1fd6-459a-a174-81ab969bcb7f 2025-01-02 22:56:53,413 - DEBUG - VM ctest-TestRoutersBasic-53875484-06389669 launched on Node cn-jenkins-deploy-platform-ansible-os-2516-1 2025-01-02 22:56:53,482 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/27bb00ca-1fd6-459a-a174-81ab969bcb7f 2025-01-02 22:56:53,778 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/27bb00ca-1fd6-459a-a174-81ab969bcb7f 2025-01-02 22:56:53,808 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/56fe169b-a69f-4da6-a720-dde2bace4704 2025-01-02 22:56:57,087 - 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 1018ms') 2025-01-02 22:56:57,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53875484-06389669 failed! 2025-01-02 22:56:57,144 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53875484:ctest-vn-32105897 is 63.225.137.129 and allocation pool is NOT set 2025-01-02 22:56:59,208 - 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=3.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.493 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.493/1.935/3.378/1.442 ms') 2025-01-02 22:56:59,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53875484-06389669 passed 2025-01-02 22:56:59,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:56:59,360 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53875484-06389669, IP 63.225.137.131, Port 22 2025-01-02 22:56:59,528 - DEBUG - VM ctest-TestRoutersBasic-53875484-06389669 is ready for SSH connections 2025-01-02 22:56:59,528 - INFO - Waiting for VM ctest-TestRoutersBasic-53875484-46576793 to be up.. 2025-01-02 22:56:59,602 - DEBUG - VM is in ACTIVE state now 2025-01-02 22:56:59,602 - INFO - VM name : ctest-TestRoutersBasic-53875484-46576793 2025-01-02 22:56:59,672 - DEBUG - VM ctest-TestRoutersBasic-53875484-46576793 ID is f9c9b252-01a5-45b6-9db7-a2d5001352e1 2025-01-02 22:56:59,673 - DEBUG - VM ctest-TestRoutersBasic-53875484-46576793 launched on Node cn-jenkins-deploy-platform-ansible-os-2516-1 2025-01-02 22:56:59,744 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/f9c9b252-01a5-45b6-9db7-a2d5001352e1 2025-01-02 22:56:59,752 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/aeecf998-58c0-4e9f-b6c2-b65a3a0a9223 2025-01-02 22:57:00,981 - 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=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.576/2.704/1.128 ms') 2025-01-02 22:57:00,981 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53875484-46576793 passed 2025-01-02 22:57:01,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:57:01,132 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53875484-46576793, IP 162.34.174.67, Port 22 2025-01-02 22:57:01,288 - DEBUG - VM ctest-TestRoutersBasic-53875484-46576793 is ready for SSH connections 2025-01-02 22:57:01,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:57:01,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.34.174.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-02 22:57:01,288 - DEBUG - ping -s 56 -c 3 -W 1 162.34.174.67 2025-01-02 22:57:04,944 - DEBUG - PING 162.34.174.67 (162.34.174.67): 56 data bytes 64 bytes from 162.34.174.67: seq=0 ttl=62 time=5.045 ms 64 bytes from 162.34.174.67: seq=1 ttl=62 time=0.788 ms 64 bytes from 162.34.174.67: seq=2 ttl=62 time=0.837 ms --- 162.34.174.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/2.223/5.045 ms 2025-01-02 22:57:04,944 - INFO - Ping to IP 162.34.174.67 from VM ctest-TestRoutersBasic-53875484-06389669 passed 2025-01-02 22:57:04,945 - INFO - Deleting interface with subnet_id d80f6137-f8b4-4c53-9d01-bda0e896eccf, port_id None from router 5d429004-3be7-4019-a30e-fec096e169e9 2025-01-02 22:57:05,137 - INFO - Deleting VM ctest-TestRoutersBasic-53875484-46576793 2025-01-02 22:57:05,209 - INFO - Deleting VM ctest-TestRoutersBasic-53875484-06389669 2025-01-02 22:57:05,285 - INFO - Deleting VN ctest-ext_vn-63715843 2025-01-02 22:57:05,357 - DEBUG - VN fea074f4-ef1f-496e-a099-618bb558da91 still in use: Unable to complete operation on network fea074f4-ef1f-496e-a099-618bb558da91. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d114efb-159b-4368-8eaa-52be744dcb66'] 2025-01-02 22:57:05,357 - WARNING - Deleting VN ctest-ext_vn-63715843 failed..Will retry 2025-01-02 22:57:07,453 - DEBUG - Response for deleting network () 2025-01-02 22:57:07,453 - INFO - Deleting VN ctest-vn-32105897 2025-01-02 22:57:07,568 - DEBUG - Response for deleting network () 2025-01-02 22:57:07,821 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 22:57:07,821 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-02 22:57:07,821 - INFO - -------------------------------------------------------------------------------- 2025-01-02 22:57:08,480 - INFO - Deleted project: ctest-TestRoutersBasic-53875484, ID : 3fc085b8-992e-43fd-8a0f-931881159fe8