2025-04-24 01:49:00,184 - INFO - Reading existing Domain with UUID 1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f 2025-04-24 01:49:00,196 - INFO - Using existing domain ['admin_domain'](1ee32fc6-759e-4293-a6ec-90a3fbdfdd5f) 2025-04-24 01:49:00,361 - INFO - Project ctest-TestRoutersBasic-83791256 not found, creating it 2025-04-24 01:49:00,836 - INFO - Created Project:ctest-TestRoutersBasic-83791256, ID : 6f26fd6d-2003-4f2f-a895-7ae49634e2fd 2025-04-24 01:49:02,382 - INFO - ================================================================================ 2025-04-24 01:49:02,382 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-24 01:49:02,382 - 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-24 01:49:02,766 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2025-04-24 01:49:02,766 - INFO - Initial checks done. Running the testcase now 2025-04-24 01:49:02,766 - INFO - 2025-04-24 01:49:03,516 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83791256 2025-04-24 01:49:03,624 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83791256 2025-04-24 01:49:03,956 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-83791256', 'default']} 2025-04-24 01:49:04,434 - DEBUG - Response for create_network : {'network': {'id': '11a771f7-6e38-40a4-a0dd-71342769127a', 'name': 'ctest-vn-74526245', 'tenant_id': '6f26fd6d20034f2fa8957ae49634e2fd', 'project_id': '6f26fd6d20034f2fa8957ae49634e2fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-83791256', 'ctest-vn-74526245'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-24 01:49:04,641 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2ab0901-4f58-407d-be5b-8d58be8ff1f3', 'name': '', 'tenant_id': '6f26fd6d20034f2fa8957ae49634e2fd', 'network_id': '11a771f7-6e38-40a4-a0dd-71342769127a', 'ip_version': 4, 'cidr': '213.43.28.192/26', 'allocation_pools': [{'start': '213.43.28.194', 'end': '213.43.28.254'}], 'gateway_ip': '213.43.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-24T01:49:04.542866', 'updated_at': '2025-04-24T01:49:04.542866', 'dns_server_address': '213.43.28.194', 'tags': [], 'project_id': '6f26fd6d20034f2fa8957ae49634e2fd'}} 2025-04-24 01:49:04,706 - INFO - Created VN ctest-vn-74526245 2025-04-24 01:49:04,760 - DEBUG - VN ctest-vn-74526245 UUID is 11a771f7-6e38-40a4-a0dd-71342769127a 2025-04-24 01:49:05,281 - DEBUG - Response for create_network : {'network': {'id': '6e4b54a7-9ebd-4447-8f5e-ad79b586bec6', 'name': 'ctest-ext_vn-52309089', 'tenant_id': '6f26fd6d20034f2fa8957ae49634e2fd', 'project_id': '6f26fd6d20034f2fa8957ae49634e2fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-83791256', 'ctest-ext_vn-52309089'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-24 01:49:05,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9b2f98b-5107-4b31-b73e-97ddf8549911', 'name': '', 'tenant_id': '6f26fd6d20034f2fa8957ae49634e2fd', 'network_id': '6e4b54a7-9ebd-4447-8f5e-ad79b586bec6', 'ip_version': 4, 'cidr': '33.252.193.64/26', 'allocation_pools': [{'start': '33.252.193.66', 'end': '33.252.193.126'}], 'gateway_ip': '33.252.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-24T01:49:05.449850', 'updated_at': '2025-04-24T01:49:05.449850', 'dns_server_address': '33.252.193.66', 'tags': [], 'project_id': '6f26fd6d20034f2fa8957ae49634e2fd'}} 2025-04-24 01:49:05,618 - INFO - Created VN ctest-ext_vn-52309089 2025-04-24 01:49:05,672 - DEBUG - VN ctest-ext_vn-52309089 UUID is 6e4b54a7-9ebd-4447-8f5e-ad79b586bec6 2025-04-24 01:49:05,951 - DEBUG - Services list from nova: [, , ] 2025-04-24 01:49:06,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-531-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-531-1) 2025-04-24 01:49:08,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-531-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-531-1) 2025-04-24 01:49:08,357 - INFO - Setting gateway for router 0e778f05-a3c2-407e-8aa7-5664a716d080 to network 6e4b54a7-9ebd-4447-8f5e-ad79b586bec6 2025-04-24 01:49:08,497 - INFO - Adding interface with subnet_id b2ab0901-4f58-407d-be5b-8d58be8ff1f3, port_id None to router 0e778f05-a3c2-407e-8aa7-5664a716d080 2025-04-24 01:49:09,027 - INFO - Waiting for VM ctest-TestRoutersBasic-83791256-05226034 to be up.. 2025-04-24 01:49:09,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 01:49:14,350 - DEBUG - VM is in ACTIVE state now 2025-04-24 01:49:14,350 - INFO - VM name : ctest-TestRoutersBasic-83791256-05226034 2025-04-24 01:49:14,482 - DEBUG - VM ctest-TestRoutersBasic-83791256-05226034 ID is 77a8bd60-90de-41d2-90d9-3573c4b6e88e 2025-04-24 01:49:14,503 - DEBUG - VM ctest-TestRoutersBasic-83791256-05226034 launched on Node cn-jenkins-deploy-platform-juju-os-531-1 2025-04-24 01:49:14,636 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/77a8bd60-90de-41d2-90d9-3573c4b6e88e 2025-04-24 01:49:14,977 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/77a8bd60-90de-41d2-90d9-3573c4b6e88e 2025-04-24 01:49:15,065 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/17fe8679-a936-49cc-8ef6-69592922464f 2025-04-24 01:49:18,533 - 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-24 01:49:18,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83791256-05226034 failed! 2025-04-24 01:49:18,592 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-83791256:ctest-vn-74526245 is 213.43.28.193 and allocation pool is NOT set 2025-04-24 01:49:20,684 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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.957/2.742/3.528/0.785 ms') 2025-04-24 01:49:20,684 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83791256-05226034 passed 2025-04-24 01:49:20,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 01:49:20,840 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83791256-05226034, IP 213.43.28.195, Port 22 2025-04-24 01:49:21,063 - DEBUG - VM ctest-TestRoutersBasic-83791256-05226034 is ready for SSH connections 2025-04-24 01:49:21,063 - INFO - Waiting for VM ctest-TestRoutersBasic-83791256-04458599 to be up.. 2025-04-24 01:49:21,195 - DEBUG - VM is in ACTIVE state now 2025-04-24 01:49:21,195 - INFO - VM name : ctest-TestRoutersBasic-83791256-04458599 2025-04-24 01:49:21,324 - DEBUG - VM ctest-TestRoutersBasic-83791256-04458599 ID is 9bb08ea7-7632-4fdc-acbb-c15d57460ae3 2025-04-24 01:49:21,324 - DEBUG - VM ctest-TestRoutersBasic-83791256-04458599 launched on Node cn-jenkins-deploy-platform-juju-os-531-1 2025-04-24 01:49:21,456 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/9bb08ea7-7632-4fdc-acbb-c15d57460ae3 2025-04-24 01:49:21,509 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/8bf9b7de-8344-45c4-a0bf-61ae53641583 2025-04-24 01:49:22,970 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/2.030/3.675/1.644 ms') 2025-04-24 01:49:22,970 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83791256-04458599 passed 2025-04-24 01:49:23,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 01:49:23,120 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83791256-04458599, IP 33.252.193.67, Port 22 2025-04-24 01:49:23,326 - DEBUG - VM ctest-TestRoutersBasic-83791256-04458599 is ready for SSH connections 2025-04-24 01:49:23,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 01:49:23,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.252.193.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-04-24 01:49:23,326 - DEBUG - ping -s 56 -c 3 -W 1 33.252.193.67 2025-04-24 01:49:26,972 - DEBUG - PING 33.252.193.67 (33.252.193.67): 56 data bytes 64 bytes from 33.252.193.67: seq=0 ttl=62 time=7.137 ms 64 bytes from 33.252.193.67: seq=1 ttl=62 time=0.844 ms 64 bytes from 33.252.193.67: seq=2 ttl=62 time=0.838 ms --- 33.252.193.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/2.939/7.137 ms 2025-04-24 01:49:26,972 - INFO - Ping to IP 33.252.193.67 from VM ctest-TestRoutersBasic-83791256-05226034 passed 2025-04-24 01:49:26,973 - INFO - Deleting interface with subnet_id b2ab0901-4f58-407d-be5b-8d58be8ff1f3, port_id None from router 0e778f05-a3c2-407e-8aa7-5664a716d080 2025-04-24 01:49:27,334 - INFO - Deleting VM ctest-TestRoutersBasic-83791256-04458599 2025-04-24 01:49:27,426 - INFO - Deleting VM ctest-TestRoutersBasic-83791256-05226034 2025-04-24 01:49:27,523 - INFO - Deleting VN ctest-ext_vn-52309089 2025-04-24 01:49:27,775 - DEBUG - VN 6e4b54a7-9ebd-4447-8f5e-ad79b586bec6 still in use: Unable to complete operation on network 6e4b54a7-9ebd-4447-8f5e-ad79b586bec6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43e757d0-88d2-4504-9f0f-87203b8cb0b9'] 2025-04-24 01:49:27,776 - WARNING - Deleting VN ctest-ext_vn-52309089 failed..Will retry 2025-04-24 01:49:29,949 - DEBUG - Response for deleting network () 2025-04-24 01:49:29,950 - INFO - Deleting VN ctest-vn-74526245 2025-04-24 01:49:30,101 - DEBUG - Response for deleting network () 2025-04-24 01:49:30,489 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 01:49:30,489 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-04-24 01:49:30,490 - INFO - -------------------------------------------------------------------------------- 2025-04-24 01:49:31,200 - INFO - Deleted project: ctest-TestRoutersBasic-83791256, ID : 6f26fd6d-2003-4f2f-a895-7ae49634e2fd