2025-08-08 09:53:23,373 - INFO - Domain Default found not creating
2025-08-08 09:53:23,530 - INFO - Project ctest-TestRoutersBasic-82678513 not found, creating it
2025-08-08 09:53:24,042 - INFO - Created Project:ctest-TestRoutersBasic-82678513, ID : dd432f00-9cd9-4ac3-ae34-606206a647c5
2025-08-08 09:53:25,535 - INFO - ================================================================================
2025-08-08 09:53:25,535 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-08 09:53:25,535 - 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-08-08 09:53:25,791 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.252': '0'}} with
2025-08-08 09:53:25,791 - INFO - Initial checks done. Running the testcase now
2025-08-08 09:53:25,791 - INFO -
2025-08-08 09:53:26,537 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82678513
2025-08-08 09:53:26,636 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82678513
2025-08-08 09:53:26,967 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82678513', 'default']}
2025-08-08 09:53:27,286 - DEBUG - Response for create_network : {'network': {'id': '9d3919ca-03fd-4277-b005-b1a2f50c5acf', 'name': 'ctest-vn-97844383', 'tenant_id': 'dd432f009cd94ac3ae34606206a647c5', 'project_id': 'dd432f009cd94ac3ae34606206a647c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82678513', 'ctest-vn-97844383'], 'port_security_enabled': True, 'description': ''}}
2025-08-08 09:53:27,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '60eb891a-2a14-4119-8d31-6e1e86e39775', 'name': '', 'tenant_id': 'dd432f009cd94ac3ae34606206a647c5', 'network_id': '9d3919ca-03fd-4277-b005-b1a2f50c5acf', 'ip_version': 4, 'cidr': '214.147.110.192/26', 'allocation_pools': [{'start': '214.147.110.194', 'end': '214.147.110.254'}], 'gateway_ip': '214.147.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.147.110.194', 'tags': [], 'project_id': 'dd432f009cd94ac3ae34606206a647c5'}}
2025-08-08 09:53:27,526 - INFO - Created VN ctest-vn-97844383
2025-08-08 09:53:27,580 - DEBUG - VN ctest-vn-97844383 UUID is 9d3919ca-03fd-4277-b005-b1a2f50c5acf
2025-08-08 09:53:27,916 - DEBUG - Response for create_network : {'network': {'id': '1d53e49c-7b4f-40ac-a6c2-458094f9c219', 'name': 'ctest-ext_vn-69595248', 'tenant_id': 'dd432f009cd94ac3ae34606206a647c5', 'project_id': 'dd432f009cd94ac3ae34606206a647c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82678513', 'ctest-ext_vn-69595248'], 'port_security_enabled': True, 'description': ''}}
2025-08-08 09:53:28,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '39484182-7501-4fd8-b39c-b74e14ba8e19', 'name': '', 'tenant_id': 'dd432f009cd94ac3ae34606206a647c5', 'network_id': '1d53e49c-7b4f-40ac-a6c2-458094f9c219', 'ip_version': 4, 'cidr': '48.128.31.192/26', 'allocation_pools': [{'start': '48.128.31.194', 'end': '48.128.31.254'}], 'gateway_ip': '48.128.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.128.31.194', 'tags': [], 'project_id': 'dd432f009cd94ac3ae34606206a647c5'}}
2025-08-08 09:53:28,112 - INFO - Created VN ctest-ext_vn-69595248
2025-08-08 09:53:28,172 - DEBUG - VN ctest-ext_vn-69595248 UUID is 1d53e49c-7b4f-40ac-a6c2-458094f9c219
2025-08-08 09:53:28,341 - DEBUG - Services list from nova: [, , ]
2025-08-08 09:53:29,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3783-1)
2025-08-08 09:53:30,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3783-1)
2025-08-08 09:53:30,576 - INFO - Setting gateway for router 4583e4ae-f7ac-4d31-add2-e7f73ab196cb to network 1d53e49c-7b4f-40ac-a6c2-458094f9c219
2025-08-08 09:53:30,662 - INFO - Adding interface with subnet_id 60eb891a-2a14-4119-8d31-6e1e86e39775, port_id None to router 4583e4ae-f7ac-4d31-add2-e7f73ab196cb
2025-08-08 09:53:31,160 - INFO - Waiting for VM ctest-TestRoutersBasic-82678513-15558233 to be up..
2025-08-08 09:53:31,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-08 09:53:36,421 - DEBUG - VM is in ACTIVE state now
2025-08-08 09:53:36,421 - INFO - VM name : ctest-TestRoutersBasic-82678513-15558233
2025-08-08 09:53:36,510 - DEBUG - VM ctest-TestRoutersBasic-82678513-15558233 ID is 4da0c436-f11b-43b7-97a1-d9fdf76dd521
2025-08-08 09:53:36,532 - DEBUG - VM ctest-TestRoutersBasic-82678513-15558233 launched on Node cn-jenkins-deploy-platform-ansible-os-3783-1
2025-08-08 09:53:36,621 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4da0c436-f11b-43b7-97a1-d9fdf76dd521
2025-08-08 09:53:36,925 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4da0c436-f11b-43b7-97a1-d9fdf76dd521
2025-08-08 09:53:36,966 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c1849fcf-5209-46c9-a005-ed119530c0c3
2025-08-08 09:53:40,232 - 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 1019ms')
2025-08-08 09:53:40,233 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82678513-15558233 failed!
2025-08-08 09:53:40,292 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82678513:ctest-vn-97844383 is 214.147.110.193 and allocation pool is NOT set
2025-08-08 09:53:42,358 - 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=4.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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 = 1.056/2.923/4.791/1.867 ms')
2025-08-08 09:53:42,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82678513-15558233 passed
2025-08-08 09:53:42,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 09:53:42,512 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82678513-15558233, IP 214.147.110.195, Port 22
2025-08-08 09:53:42,678 - DEBUG - VM ctest-TestRoutersBasic-82678513-15558233 is ready for SSH connections
2025-08-08 09:53:42,678 - INFO - Waiting for VM ctest-TestRoutersBasic-82678513-23023671 to be up..
2025-08-08 09:53:42,762 - DEBUG - VM is in ACTIVE state now
2025-08-08 09:53:42,763 - INFO - VM name : ctest-TestRoutersBasic-82678513-23023671
2025-08-08 09:53:42,844 - DEBUG - VM ctest-TestRoutersBasic-82678513-23023671 ID is 54097fa5-fb4b-45bb-8e3c-00e0e96d9fbd
2025-08-08 09:53:42,844 - DEBUG - VM ctest-TestRoutersBasic-82678513-23023671 launched on Node cn-jenkins-deploy-platform-ansible-os-3783-1
2025-08-08 09:53:42,916 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/54097fa5-fb4b-45bb-8e3c-00e0e96d9fbd
2025-08-08 09:53:42,926 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/769e2bd6-1881-4ebd-b09e-a168edcd911e
2025-08-08 09:53:44,176 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.866/3.297/1.431 ms')
2025-08-08 09:53:44,176 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82678513-23023671 passed
2025-08-08 09:53:44,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 09:53:44,332 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82678513-23023671, IP 48.128.31.195, Port 22
2025-08-08 09:53:44,487 - DEBUG - VM ctest-TestRoutersBasic-82678513-23023671 is ready for SSH connections
2025-08-08 09:53:44,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 09:53:44,487 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.128.31.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-08-08 09:53:44,487 - DEBUG - ping -s 56 -c 3 -W 1 48.128.31.195
2025-08-08 09:53:48,539 - DEBUG - PING 48.128.31.195 (48.128.31.195): 56 data bytes
64 bytes from 48.128.31.195: seq=0 ttl=62 time=4.866 ms
64 bytes from 48.128.31.195: seq=1 ttl=62 time=1.229 ms
64 bytes from 48.128.31.195: seq=2 ttl=62 time=1.173 ms
--- 48.128.31.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.173/2.422/4.866 ms
2025-08-08 09:53:48,540 - INFO - Ping to IP 48.128.31.195 from VM ctest-TestRoutersBasic-82678513-15558233 passed
2025-08-08 09:53:48,540 - INFO - Deleting interface with subnet_id 60eb891a-2a14-4119-8d31-6e1e86e39775, port_id None from router 4583e4ae-f7ac-4d31-add2-e7f73ab196cb
2025-08-08 09:53:48,730 - INFO - Deleting VM ctest-TestRoutersBasic-82678513-23023671
2025-08-08 09:53:48,800 - INFO - Deleting VM ctest-TestRoutersBasic-82678513-15558233
2025-08-08 09:53:48,893 - INFO - Deleting VN ctest-ext_vn-69595248
2025-08-08 09:53:48,964 - DEBUG - VN 1d53e49c-7b4f-40ac-a6c2-458094f9c219 still in use: Unable to complete operation on network 1d53e49c-7b4f-40ac-a6c2-458094f9c219. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b6e6c0d5-9007-41f2-bede-67fca030464f']
2025-08-08 09:53:48,965 - WARNING - Deleting VN ctest-ext_vn-69595248 failed..Will retry
2025-08-08 09:53:51,083 - DEBUG - Response for deleting network ()
2025-08-08 09:53:51,083 - INFO - Deleting VN ctest-vn-97844383
2025-08-08 09:53:51,217 - DEBUG - Response for deleting network ()
2025-08-08 09:53:51,478 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 09:53:51,478 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-08 09:53:51,478 - INFO - --------------------------------------------------------------------------------
2025-08-08 09:53:52,180 - INFO - Deleted project: ctest-TestRoutersBasic-82678513, ID : dd432f00-9cd9-4ac3-ae34-606206a647c5