2025-04-14 02:35:50,643 - INFO - Domain Default found not creating 2025-04-14 02:35:50,810 - INFO - Project ctest-TestRoutersBasic-92768179 not found, creating it 2025-04-14 02:35:51,307 - INFO - Created Project:ctest-TestRoutersBasic-92768179, ID : db8ead55-318c-48d1-a5d7-c2310a652720 2025-04-14 02:35:52,823 - INFO - ================================================================================ 2025-04-14 02:35:52,823 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-14 02:35:52,823 - 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-14 02:35:53,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-04-14 02:35:53,087 - INFO - Initial checks done. Running the testcase now 2025-04-14 02:35:53,087 - INFO - 2025-04-14 02:35:53,863 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92768179 2025-04-14 02:35:53,960 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92768179 2025-04-14 02:35:54,300 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92768179', 'default']} 2025-04-14 02:35:54,624 - DEBUG - Response for create_network : {'network': {'id': '65e2377a-b992-4318-a3c4-e24de39e8444', 'name': 'ctest-vn-25713076', 'tenant_id': 'db8ead55318c48d1a5d7c2310a652720', 'project_id': 'db8ead55318c48d1a5d7c2310a652720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92768179', 'ctest-vn-25713076'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 02:35:54,868 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b54dd0a9-b5a6-4428-b36e-1cd861eee282', 'name': '', 'tenant_id': 'db8ead55318c48d1a5d7c2310a652720', 'network_id': '65e2377a-b992-4318-a3c4-e24de39e8444', 'ip_version': 4, 'cidr': '90.33.52.64/26', 'allocation_pools': [{'start': '90.33.52.66', 'end': '90.33.52.126'}], 'gateway_ip': '90.33.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.33.52.66', 'tags': [], 'project_id': 'db8ead55318c48d1a5d7c2310a652720'}} 2025-04-14 02:35:54,891 - INFO - Created VN ctest-vn-25713076 2025-04-14 02:35:54,944 - DEBUG - VN ctest-vn-25713076 UUID is 65e2377a-b992-4318-a3c4-e24de39e8444 2025-04-14 02:35:55,418 - DEBUG - Response for create_network : {'network': {'id': 'cd0e5be5-c224-4404-be94-52639ae36bff', 'name': 'ctest-ext_vn-18844041', 'tenant_id': 'db8ead55318c48d1a5d7c2310a652720', 'project_id': 'db8ead55318c48d1a5d7c2310a652720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92768179', 'ctest-ext_vn-18844041'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 02:35:55,582 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff00031b-0c5c-4f60-b202-a754bcc09d7c', 'name': '', 'tenant_id': 'db8ead55318c48d1a5d7c2310a652720', 'network_id': 'cd0e5be5-c224-4404-be94-52639ae36bff', 'ip_version': 4, 'cidr': '35.12.133.192/26', 'allocation_pools': [{'start': '35.12.133.194', 'end': '35.12.133.254'}], 'gateway_ip': '35.12.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.12.133.194', 'tags': [], 'project_id': 'db8ead55318c48d1a5d7c2310a652720'}} 2025-04-14 02:35:55,599 - INFO - Created VN ctest-ext_vn-18844041 2025-04-14 02:35:55,656 - DEBUG - VN ctest-ext_vn-18844041 UUID is cd0e5be5-c224-4404-be94-52639ae36bff 2025-04-14 02:35:55,843 - DEBUG - Services list from nova: [, , ] 2025-04-14 02:35:56,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3089-1) 2025-04-14 02:35:58,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3089-1) 2025-04-14 02:35:58,262 - INFO - Setting gateway for router 139c6b1d-1550-476f-897d-92fa84032776 to network cd0e5be5-c224-4404-be94-52639ae36bff 2025-04-14 02:35:58,342 - INFO - Adding interface with subnet_id b54dd0a9-b5a6-4428-b36e-1cd861eee282, port_id None to router 139c6b1d-1550-476f-897d-92fa84032776 2025-04-14 02:35:58,757 - INFO - Waiting for VM ctest-TestRoutersBasic-92768179-57525529 to be up.. 2025-04-14 02:35:58,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 02:36:04,013 - DEBUG - VM is in ACTIVE state now 2025-04-14 02:36:04,014 - INFO - VM name : ctest-TestRoutersBasic-92768179-57525529 2025-04-14 02:36:04,099 - DEBUG - VM ctest-TestRoutersBasic-92768179-57525529 ID is bf3884ae-8af5-4cd9-8f6a-a0a0dd26a87b 2025-04-14 02:36:04,124 - DEBUG - VM ctest-TestRoutersBasic-92768179-57525529 launched on Node cn-jenkins-deploy-platform-ansible-os-3089-1 2025-04-14 02:36:04,214 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bf3884ae-8af5-4cd9-8f6a-a0a0dd26a87b 2025-04-14 02:36:04,514 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bf3884ae-8af5-4cd9-8f6a-a0a0dd26a87b 2025-04-14 02:36:04,548 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b48fd628-df8f-4b79-a4d2-989c1f235400 2025-04-14 02:36:07,829 - 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 1022ms') 2025-04-14 02:36:07,829 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92768179-57525529 failed! 2025-04-14 02:36:07,892 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92768179:ctest-vn-25713076 is 90.33.52.65 and allocation pool is NOT set 2025-04-14 02:36:09,962 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.966/3.495/1.529 ms') 2025-04-14 02:36:09,963 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92768179-57525529 passed 2025-04-14 02:36:10,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 02:36:10,120 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92768179-57525529, IP 90.33.52.67, Port 22 2025-04-14 02:36:10,279 - DEBUG - VM ctest-TestRoutersBasic-92768179-57525529 is ready for SSH connections 2025-04-14 02:36:10,279 - INFO - Waiting for VM ctest-TestRoutersBasic-92768179-87234454 to be up.. 2025-04-14 02:36:10,372 - DEBUG - VM is in ACTIVE state now 2025-04-14 02:36:10,372 - INFO - VM name : ctest-TestRoutersBasic-92768179-87234454 2025-04-14 02:36:10,482 - DEBUG - VM ctest-TestRoutersBasic-92768179-87234454 ID is dafcc957-cf73-4a97-a04d-c5f4b6100a40 2025-04-14 02:36:10,482 - DEBUG - VM ctest-TestRoutersBasic-92768179-87234454 launched on Node cn-jenkins-deploy-platform-ansible-os-3089-1 2025-04-14 02:36:10,572 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dafcc957-cf73-4a97-a04d-c5f4b6100a40 2025-04-14 02:36:10,582 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0bd61f13-9ae3-490e-998f-772d4fc65600 2025-04-14 02:36:11,838 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.811 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.811/2.340/3.869/1.529 ms') 2025-04-14 02:36:11,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92768179-87234454 passed 2025-04-14 02:36:12,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 02:36:12,008 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92768179-87234454, IP 35.12.133.195, Port 22 2025-04-14 02:36:12,179 - DEBUG - VM ctest-TestRoutersBasic-92768179-87234454 is ready for SSH connections 2025-04-14 02:36:12,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 02:36:12,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.12.133.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-14 02:36:12,179 - DEBUG - ping -s 56 -c 3 -W 1 35.12.133.195 2025-04-14 02:36:15,984 - DEBUG - PING 35.12.133.195 (35.12.133.195): 56 data bytes 64 bytes from 35.12.133.195: seq=0 ttl=62 time=7.567 ms 64 bytes from 35.12.133.195: seq=1 ttl=62 time=1.137 ms 64 bytes from 35.12.133.195: seq=2 ttl=62 time=1.546 ms --- 35.12.133.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.137/3.416/7.567 ms 2025-04-14 02:36:15,984 - INFO - Ping to IP 35.12.133.195 from VM ctest-TestRoutersBasic-92768179-57525529 passed 2025-04-14 02:36:15,985 - INFO - Deleting interface with subnet_id b54dd0a9-b5a6-4428-b36e-1cd861eee282, port_id None from router 139c6b1d-1550-476f-897d-92fa84032776 2025-04-14 02:36:16,245 - INFO - Deleting VM ctest-TestRoutersBasic-92768179-87234454 2025-04-14 02:36:16,349 - INFO - Deleting VM ctest-TestRoutersBasic-92768179-57525529 2025-04-14 02:36:16,448 - INFO - Deleting VN ctest-ext_vn-18844041 2025-04-14 02:36:16,585 - DEBUG - VN cd0e5be5-c224-4404-be94-52639ae36bff still in use: Unable to complete operation on network cd0e5be5-c224-4404-be94-52639ae36bff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22ae3ac1-0bb1-4aa8-8084-96238ab47f01'] 2025-04-14 02:36:16,586 - WARNING - Deleting VN ctest-ext_vn-18844041 failed..Will retry 2025-04-14 02:36:18,720 - DEBUG - Response for deleting network () 2025-04-14 02:36:18,720 - INFO - Deleting VN ctest-vn-25713076 2025-04-14 02:36:18,872 - DEBUG - Response for deleting network () 2025-04-14 02:36:19,135 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 02:36:19,135 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-14 02:36:19,135 - INFO - -------------------------------------------------------------------------------- 2025-04-14 02:36:19,867 - INFO - Deleted project: ctest-TestRoutersBasic-92768179, ID : db8ead55-318c-48d1-a5d7-c2310a652720