2025-07-31 13:55:46,543 - INFO - Domain Default found not creating 2025-07-31 13:55:46,699 - INFO - Project ctest-TestRoutersBasic-97086236 not found, creating it 2025-07-31 13:55:47,159 - INFO - Created Project:ctest-TestRoutersBasic-97086236, ID : 512b7d3b-d7b1-4534-adb3-09d0b401ff84 2025-07-31 13:55:48,618 - INFO - ================================================================================ 2025-07-31 13:55:48,618 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-31 13:55:48,619 - 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-07-31 13:55:48,877 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-07-31 13:55:48,878 - INFO - Initial checks done. Running the testcase now 2025-07-31 13:55:48,878 - INFO - 2025-07-31 13:55:49,591 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97086236 2025-07-31 13:55:49,691 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97086236 2025-07-31 13:55:50,011 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97086236', 'default']} 2025-07-31 13:55:50,309 - DEBUG - Response for create_network : {'network': {'id': '3a63c1da-24e9-446f-bfc4-70717a3ee236', 'name': 'ctest-vn-21431417', 'tenant_id': '512b7d3bd7b14534adb309d0b401ff84', 'project_id': '512b7d3bd7b14534adb309d0b401ff84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97086236', 'ctest-vn-21431417'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:55:50,454 - DEBUG - Response for create_subnet : {'subnet': {'id': '3460a28d-59f9-45bf-9c8b-acf6365b2cee', 'name': '', 'tenant_id': '512b7d3bd7b14534adb309d0b401ff84', 'network_id': '3a63c1da-24e9-446f-bfc4-70717a3ee236', 'ip_version': 4, 'cidr': '17.110.8.192/26', 'allocation_pools': [{'start': '17.110.8.194', 'end': '17.110.8.254'}], 'gateway_ip': '17.110.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.110.8.194', 'tags': [], 'project_id': '512b7d3bd7b14534adb309d0b401ff84'}} 2025-07-31 13:55:50,473 - INFO - Created VN ctest-vn-21431417 2025-07-31 13:55:50,527 - DEBUG - VN ctest-vn-21431417 UUID is 3a63c1da-24e9-446f-bfc4-70717a3ee236 2025-07-31 13:55:50,844 - DEBUG - Response for create_network : {'network': {'id': '3237e642-1519-457d-9541-96447c3316ff', 'name': 'ctest-ext_vn-70121546', 'tenant_id': '512b7d3bd7b14534adb309d0b401ff84', 'project_id': '512b7d3bd7b14534adb309d0b401ff84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97086236', 'ctest-ext_vn-70121546'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:55:51,072 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff1251e6-2d4a-4f3f-8575-ba12e01308a0', 'name': '', 'tenant_id': '512b7d3bd7b14534adb309d0b401ff84', 'network_id': '3237e642-1519-457d-9541-96447c3316ff', 'ip_version': 4, 'cidr': '69.185.254.64/26', 'allocation_pools': [{'start': '69.185.254.66', 'end': '69.185.254.126'}], 'gateway_ip': '69.185.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.185.254.66', 'tags': [], 'project_id': '512b7d3bd7b14534adb309d0b401ff84'}} 2025-07-31 13:55:51,090 - INFO - Created VN ctest-ext_vn-70121546 2025-07-31 13:55:51,143 - DEBUG - VN ctest-ext_vn-70121546 UUID is 3237e642-1519-457d-9541-96447c3316ff 2025-07-31 13:55:51,314 - DEBUG - Services list from nova: [, , ] 2025-07-31 13:55:52,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1) 2025-07-31 13:55:53,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1) 2025-07-31 13:55:53,571 - INFO - Setting gateway for router 02f57a2f-a017-49b8-8334-961227266f37 to network 3237e642-1519-457d-9541-96447c3316ff 2025-07-31 13:55:53,647 - INFO - Adding interface with subnet_id 3460a28d-59f9-45bf-9c8b-acf6365b2cee, port_id None to router 02f57a2f-a017-49b8-8334-961227266f37 2025-07-31 13:55:54,093 - INFO - Waiting for VM ctest-TestRoutersBasic-97086236-62061235 to be up.. 2025-07-31 13:55:54,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 13:55:59,318 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:55:59,318 - INFO - VM name : ctest-TestRoutersBasic-97086236-62061235 2025-07-31 13:55:59,394 - DEBUG - VM ctest-TestRoutersBasic-97086236-62061235 ID is bb7a5007-993c-4272-b2a3-23a38e339949 2025-07-31 13:55:59,417 - DEBUG - VM ctest-TestRoutersBasic-97086236-62061235 launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1 2025-07-31 13:55:59,498 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/bb7a5007-993c-4272-b2a3-23a38e339949 2025-07-31 13:55:59,801 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/bb7a5007-993c-4272-b2a3-23a38e339949 2025-07-31 13:55:59,831 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/3df3878d-0641-44bc-ad2f-f7ec98bd4b05 2025-07-31 13:56:03,083 - 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-07-31 13:56:03,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97086236-62061235 failed! 2025-07-31 13:56:03,139 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97086236:ctest-vn-21431417 is 17.110.8.193 and allocation pool is NOT set 2025-07-31 13:56:05,200 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 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 = 0.472/1.861/3.251/1.389 ms') 2025-07-31 13:56:05,200 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97086236-62061235 passed 2025-07-31 13:56:05,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:56:05,355 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97086236-62061235, IP 17.110.8.195, Port 22 2025-07-31 13:56:05,529 - DEBUG - VM ctest-TestRoutersBasic-97086236-62061235 is ready for SSH connections 2025-07-31 13:56:05,529 - INFO - Waiting for VM ctest-TestRoutersBasic-97086236-30897718 to be up.. 2025-07-31 13:56:05,615 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:56:05,615 - INFO - VM name : ctest-TestRoutersBasic-97086236-30897718 2025-07-31 13:56:05,688 - DEBUG - VM ctest-TestRoutersBasic-97086236-30897718 ID is 83b67a75-1084-4b3c-95ba-b7a49b1ae0f9 2025-07-31 13:56:05,689 - DEBUG - VM ctest-TestRoutersBasic-97086236-30897718 launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1 2025-07-31 13:56:05,773 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/83b67a75-1084-4b3c-95ba-b7a49b1ae0f9 2025-07-31 13:56:05,783 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d782bf3a-ea7d-4f3a-acaa-41821a43c21d 2025-07-31 13:56:07,024 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/2.309/4.200/1.891 ms') 2025-07-31 13:56:07,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97086236-30897718 passed 2025-07-31 13:56:07,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:56:07,183 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97086236-30897718, IP 69.185.254.67, Port 22 2025-07-31 13:56:07,339 - DEBUG - VM ctest-TestRoutersBasic-97086236-30897718 is ready for SSH connections 2025-07-31 13:56:07,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:56:07,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.185.254.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:56:07,340 - DEBUG - ping -s 56 -c 3 -W 1 69.185.254.67 2025-07-31 13:56:11,050 - DEBUG - PING 69.185.254.67 (69.185.254.67): 56 data bytes 64 bytes from 69.185.254.67: seq=0 ttl=62 time=6.452 ms 64 bytes from 69.185.254.67: seq=1 ttl=62 time=1.065 ms 64 bytes from 69.185.254.67: seq=2 ttl=62 time=1.592 ms --- 69.185.254.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.065/3.036/6.452 ms 2025-07-31 13:56:11,050 - INFO - Ping to IP 69.185.254.67 from VM ctest-TestRoutersBasic-97086236-62061235 passed 2025-07-31 13:56:11,050 - INFO - Deleting interface with subnet_id 3460a28d-59f9-45bf-9c8b-acf6365b2cee, port_id None from router 02f57a2f-a017-49b8-8334-961227266f37 2025-07-31 13:56:11,286 - INFO - Deleting VM ctest-TestRoutersBasic-97086236-30897718 2025-07-31 13:56:11,364 - INFO - Deleting VM ctest-TestRoutersBasic-97086236-62061235 2025-07-31 13:56:11,468 - INFO - Deleting VN ctest-ext_vn-70121546 2025-07-31 13:56:11,546 - DEBUG - VN 3237e642-1519-457d-9541-96447c3316ff still in use: Unable to complete operation on network 3237e642-1519-457d-9541-96447c3316ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8365016-930b-4955-b122-aec1529b606d'] 2025-07-31 13:56:11,547 - WARNING - Deleting VN ctest-ext_vn-70121546 failed..Will retry 2025-07-31 13:56:13,672 - DEBUG - Response for deleting network () 2025-07-31 13:56:13,672 - INFO - Deleting VN ctest-vn-21431417 2025-07-31 13:56:13,774 - DEBUG - Response for deleting network () 2025-07-31 13:56:14,039 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 13:56:14,039 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-31 13:56:14,039 - INFO - -------------------------------------------------------------------------------- 2025-07-31 13:56:14,720 - INFO - Deleted project: ctest-TestRoutersBasic-97086236, ID : 512b7d3b-d7b1-4534-adb3-09d0b401ff84