2025-04-09 08:12:06,036 - INFO - Domain Default found not creating 2025-04-09 08:12:06,192 - INFO - Project ctest-TestRoutersBasic-66429930 not found, creating it 2025-04-09 08:12:06,660 - INFO - Created Project:ctest-TestRoutersBasic-66429930, ID : 560910fa-eefe-4fe0-abec-b628fe91395e 2025-04-09 08:12:08,074 - INFO - ================================================================================ 2025-04-09 08:12:08,074 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-09 08:12:08,074 - 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-04-09 08:12:08,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.7': '0'}} with 2025-04-09 08:12:08,330 - INFO - Initial checks done. Running the testcase now 2025-04-09 08:12:08,330 - INFO - 2025-04-09 08:12:09,029 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66429930 2025-04-09 08:12:09,130 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66429930 2025-04-09 08:12:09,458 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66429930', 'default']} 2025-04-09 08:12:09,782 - DEBUG - Response for create_network : {'network': {'id': 'b4a34e14-87f6-442a-985d-20f795d1f9b6', 'name': 'ctest-vn-48460905', 'tenant_id': '560910faeefe4fe0abecb628fe91395e', 'project_id': '560910faeefe4fe0abecb628fe91395e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66429930', 'ctest-vn-48460905'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 08:12:10,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '75f5d056-e3b6-4899-ad9b-ec3dcd21c487', 'name': '', 'tenant_id': '560910faeefe4fe0abecb628fe91395e', 'network_id': 'b4a34e14-87f6-442a-985d-20f795d1f9b6', 'ip_version': 4, 'cidr': '178.37.164.128/26', 'allocation_pools': [{'start': '178.37.164.130', 'end': '178.37.164.190'}], 'gateway_ip': '178.37.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.37.164.130', 'tags': [], 'project_id': '560910faeefe4fe0abecb628fe91395e'}} 2025-04-09 08:12:10,027 - INFO - Created VN ctest-vn-48460905 2025-04-09 08:12:10,090 - DEBUG - VN ctest-vn-48460905 UUID is b4a34e14-87f6-442a-985d-20f795d1f9b6 2025-04-09 08:12:10,465 - DEBUG - Response for create_network : {'network': {'id': '871ef5ba-a8e7-4ca5-b711-c3e249b631ee', 'name': 'ctest-ext_vn-61744580', 'tenant_id': '560910faeefe4fe0abecb628fe91395e', 'project_id': '560910faeefe4fe0abecb628fe91395e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66429930', 'ctest-ext_vn-61744580'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 08:12:10,661 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2eae736-afbc-4975-a18d-fea5603535c9', 'name': '', 'tenant_id': '560910faeefe4fe0abecb628fe91395e', 'network_id': '871ef5ba-a8e7-4ca5-b711-c3e249b631ee', 'ip_version': 4, 'cidr': '97.7.146.0/26', 'allocation_pools': [{'start': '97.7.146.2', 'end': '97.7.146.62'}], 'gateway_ip': '97.7.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.7.146.2', 'tags': [], 'project_id': '560910faeefe4fe0abecb628fe91395e'}} 2025-04-09 08:12:10,679 - INFO - Created VN ctest-ext_vn-61744580 2025-04-09 08:12:10,730 - DEBUG - VN ctest-ext_vn-61744580 UUID is 871ef5ba-a8e7-4ca5-b711-c3e249b631ee 2025-04-09 08:12:10,900 - DEBUG - Services list from nova: [, , ] 2025-04-09 08:12:11,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3061-1) 2025-04-09 08:12:13,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3061-1) 2025-04-09 08:12:13,158 - INFO - Setting gateway for router 246893ce-350d-4dc0-af16-ecafaae34c8e to network 871ef5ba-a8e7-4ca5-b711-c3e249b631ee 2025-04-09 08:12:13,221 - INFO - Adding interface with subnet_id 75f5d056-e3b6-4899-ad9b-ec3dcd21c487, port_id None to router 246893ce-350d-4dc0-af16-ecafaae34c8e 2025-04-09 08:12:13,588 - INFO - Waiting for VM ctest-TestRoutersBasic-66429930-81144847 to be up.. 2025-04-09 08:12:13,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 08:12:18,890 - DEBUG - VM is in ACTIVE state now 2025-04-09 08:12:18,890 - INFO - VM name : ctest-TestRoutersBasic-66429930-81144847 2025-04-09 08:12:18,966 - DEBUG - VM ctest-TestRoutersBasic-66429930-81144847 ID is 9ae3ecaf-da08-4ccc-945b-e9f568d6bca8 2025-04-09 08:12:18,984 - DEBUG - VM ctest-TestRoutersBasic-66429930-81144847 launched on Node cn-jenkins-deploy-platform-ansible-os-3061-1 2025-04-09 08:12:19,059 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/9ae3ecaf-da08-4ccc-945b-e9f568d6bca8 2025-04-09 08:12:19,349 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/9ae3ecaf-da08-4ccc-945b-e9f568d6bca8 2025-04-09 08:12:19,383 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/100f2849-d957-49a6-80b8-ea655e4d4ec0 2025-04-09 08:12:22,652 - 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 1023ms') 2025-04-09 08:12:22,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66429930-81144847 failed! 2025-04-09 08:12:22,706 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66429930:ctest-vn-48460905 is 178.37.164.129 and allocation pool is NOT set 2025-04-09 08:12:24,761 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.195/3.107/5.020/1.912 ms') 2025-04-09 08:12:24,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66429930-81144847 passed 2025-04-09 08:12:24,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 08:12:24,914 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66429930-81144847, IP 178.37.164.131, Port 22 2025-04-09 08:12:25,083 - DEBUG - VM ctest-TestRoutersBasic-66429930-81144847 is ready for SSH connections 2025-04-09 08:12:25,083 - INFO - Waiting for VM ctest-TestRoutersBasic-66429930-63143338 to be up.. 2025-04-09 08:12:25,163 - DEBUG - VM is in ACTIVE state now 2025-04-09 08:12:25,163 - INFO - VM name : ctest-TestRoutersBasic-66429930-63143338 2025-04-09 08:12:25,235 - DEBUG - VM ctest-TestRoutersBasic-66429930-63143338 ID is 0981fa9d-a0a7-465d-875c-7ee88f0f4b3f 2025-04-09 08:12:25,235 - DEBUG - VM ctest-TestRoutersBasic-66429930-63143338 launched on Node cn-jenkins-deploy-platform-ansible-os-3061-1 2025-04-09 08:12:25,308 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0981fa9d-a0a7-465d-875c-7ee88f0f4b3f 2025-04-09 08:12:25,316 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/0f093aea-780b-4bcd-927f-92392ca14732 2025-04-09 08:12:26,558 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.413/2.406/0.992 ms') 2025-04-09 08:12:26,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66429930-63143338 passed 2025-04-09 08:12:26,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 08:12:26,718 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66429930-63143338, IP 97.7.146.3, Port 22 2025-04-09 08:12:26,874 - DEBUG - VM ctest-TestRoutersBasic-66429930-63143338 is ready for SSH connections 2025-04-09 08:12:26,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 08:12:26,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.7.146.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-04-09 08:12:26,874 - DEBUG - ping -s 56 -c 3 -W 1 97.7.146.3 2025-04-09 08:12:30,848 - DEBUG - PING 97.7.146.3 (97.7.146.3): 56 data bytes 64 bytes from 97.7.146.3: seq=0 ttl=62 time=6.734 ms 64 bytes from 97.7.146.3: seq=1 ttl=62 time=1.181 ms 64 bytes from 97.7.146.3: seq=2 ttl=62 time=0.800 ms --- 97.7.146.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/2.905/6.734 ms 2025-04-09 08:12:30,848 - INFO - Ping to IP 97.7.146.3 from VM ctest-TestRoutersBasic-66429930-81144847 passed 2025-04-09 08:12:30,848 - INFO - Deleting interface with subnet_id 75f5d056-e3b6-4899-ad9b-ec3dcd21c487, port_id None from router 246893ce-350d-4dc0-af16-ecafaae34c8e 2025-04-09 08:12:31,073 - INFO - Deleting VM ctest-TestRoutersBasic-66429930-63143338 2025-04-09 08:12:31,135 - INFO - Deleting VM ctest-TestRoutersBasic-66429930-81144847 2025-04-09 08:12:31,216 - INFO - Deleting VN ctest-ext_vn-61744580 2025-04-09 08:12:31,290 - DEBUG - VN 871ef5ba-a8e7-4ca5-b711-c3e249b631ee still in use: Unable to complete operation on network 871ef5ba-a8e7-4ca5-b711-c3e249b631ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5438878-c50e-496b-9153-47c7804903ba'] 2025-04-09 08:12:31,290 - WARNING - Deleting VN ctest-ext_vn-61744580 failed..Will retry 2025-04-09 08:12:33,401 - DEBUG - Response for deleting network () 2025-04-09 08:12:33,401 - INFO - Deleting VN ctest-vn-48460905 2025-04-09 08:12:33,512 - DEBUG - Response for deleting network () 2025-04-09 08:12:33,768 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 08:12:33,768 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-09 08:12:33,768 - INFO - -------------------------------------------------------------------------------- 2025-04-09 08:12:34,434 - INFO - Deleted project: ctest-TestRoutersBasic-66429930, ID : 560910fa-eefe-4fe0-abec-b628fe91395e