2025-11-19 07:56:43,434 - INFO - Domain Default found not creating
2025-11-19 07:56:43,613 - INFO - Project ctest-TestRoutersBasic-60821677 not found, creating it
2025-11-19 07:56:44,076 - INFO - Created Project:ctest-TestRoutersBasic-60821677, ID : 83e34aff-0e8b-4f2a-a40e-357ed42e7b58
2025-11-19 07:56:45,599 - INFO - ================================================================================
2025-11-19 07:56:45,599 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-19 07:56:45,599 - 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-11-19 07:56:45,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-19 07:56:45,859 - INFO - Initial checks done. Running the testcase now
2025-11-19 07:56:45,859 - INFO -
2025-11-19 07:56:46,564 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60821677
2025-11-19 07:56:46,662 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60821677
2025-11-19 07:56:46,985 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60821677', 'default']}
2025-11-19 07:56:47,284 - DEBUG - Response for create_network : {'network': {'id': 'bc00036a-a0e8-4398-b060-e6b82c413bea', 'name': 'ctest-vn-14643516', 'tenant_id': '83e34aff0e8b4f2aa40e357ed42e7b58', 'project_id': '83e34aff0e8b4f2aa40e357ed42e7b58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60821677', 'ctest-vn-14643516'], 'port_security_enabled': True, 'description': ''}}
2025-11-19 07:56:47,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '2143759f-092d-473d-9452-fb3d01286460', 'name': '', 'tenant_id': '83e34aff0e8b4f2aa40e357ed42e7b58', 'network_id': 'bc00036a-a0e8-4398-b060-e6b82c413bea', 'ip_version': 4, 'cidr': '164.253.147.192/26', 'allocation_pools': [{'start': '164.253.147.194', 'end': '164.253.147.254'}], 'gateway_ip': '164.253.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.253.147.194', 'tags': [], 'project_id': '83e34aff0e8b4f2aa40e357ed42e7b58'}}
2025-11-19 07:56:47,524 - INFO - Created VN ctest-vn-14643516
2025-11-19 07:56:47,574 - DEBUG - VN ctest-vn-14643516 UUID is bc00036a-a0e8-4398-b060-e6b82c413bea
2025-11-19 07:56:47,920 - DEBUG - Response for create_network : {'network': {'id': 'da12e6cc-c048-4767-9a61-09ef889d6994', 'name': 'ctest-ext_vn-46532007', 'tenant_id': '83e34aff0e8b4f2aa40e357ed42e7b58', 'project_id': '83e34aff0e8b4f2aa40e357ed42e7b58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60821677', 'ctest-ext_vn-46532007'], 'port_security_enabled': True, 'description': ''}}
2025-11-19 07:56:48,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '21f3d000-c981-4ffa-8a17-0f788396c01c', 'name': '', 'tenant_id': '83e34aff0e8b4f2aa40e357ed42e7b58', 'network_id': 'da12e6cc-c048-4767-9a61-09ef889d6994', 'ip_version': 4, 'cidr': '94.6.228.0/26', 'allocation_pools': [{'start': '94.6.228.2', 'end': '94.6.228.62'}], 'gateway_ip': '94.6.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.6.228.2', 'tags': [], 'project_id': '83e34aff0e8b4f2aa40e357ed42e7b58'}}
2025-11-19 07:56:48,091 - INFO - Created VN ctest-ext_vn-46532007
2025-11-19 07:56:48,141 - DEBUG - VN ctest-ext_vn-46532007 UUID is da12e6cc-c048-4767-9a61-09ef889d6994
2025-11-19 07:56:48,339 - DEBUG - Services list from nova: [, , ]
2025-11-19 07:56:49,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4759-1)
2025-11-19 07:56:50,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4759-1)
2025-11-19 07:56:50,621 - INFO - Setting gateway for router e993f661-1e9b-4898-a65a-97ffbf093882 to network da12e6cc-c048-4767-9a61-09ef889d6994
2025-11-19 07:56:50,671 - INFO - Adding interface with subnet_id 2143759f-092d-473d-9452-fb3d01286460, port_id None to router e993f661-1e9b-4898-a65a-97ffbf093882
2025-11-19 07:56:50,992 - INFO - Waiting for VM ctest-TestRoutersBasic-60821677-75748288 to be up..
2025-11-19 07:56:51,109 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-19 07:56:56,179 - DEBUG - VM is in ACTIVE state now
2025-11-19 07:56:56,179 - INFO - VM name : ctest-TestRoutersBasic-60821677-75748288
2025-11-19 07:56:56,249 - DEBUG - VM ctest-TestRoutersBasic-60821677-75748288 ID is b5b8ec66-cdb5-4fb6-9b35-38c9d0bdcb1a
2025-11-19 07:56:56,267 - DEBUG - VM ctest-TestRoutersBasic-60821677-75748288 launched on Node cn-jenkins-deploy-platform-ansible-os-4759-1
2025-11-19 07:56:56,332 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b5b8ec66-cdb5-4fb6-9b35-38c9d0bdcb1a
2025-11-19 07:56:56,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b5b8ec66-cdb5-4fb6-9b35-38c9d0bdcb1a
2025-11-19 07:56:56,680 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6c435b36-d97e-43ee-b7f3-9804ed074599
2025-11-19 07:56:59,935 - 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-11-19 07:56:59,935 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60821677-75748288 failed!
2025-11-19 07:56:59,990 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60821677:ctest-vn-14643516 is 164.253.147.193 and allocation pool is NOT set
2025-11-19 07:57:02,051 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.793 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.793/2.180/3.567/1.387 ms')
2025-11-19 07:57:02,051 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60821677-75748288 passed
2025-11-19 07:57:02,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-19 07:57:02,210 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60821677-75748288, IP 164.253.147.195, Port 22
2025-11-19 07:57:02,384 - DEBUG - VM ctest-TestRoutersBasic-60821677-75748288 is ready for SSH connections
2025-11-19 07:57:02,384 - INFO - Waiting for VM ctest-TestRoutersBasic-60821677-51370706 to be up..
2025-11-19 07:57:02,486 - DEBUG - VM is in ACTIVE state now
2025-11-19 07:57:02,486 - INFO - VM name : ctest-TestRoutersBasic-60821677-51370706
2025-11-19 07:57:02,583 - DEBUG - VM ctest-TestRoutersBasic-60821677-51370706 ID is 8a74ca36-d023-404a-9da5-110f7e7e7366
2025-11-19 07:57:02,583 - DEBUG - VM ctest-TestRoutersBasic-60821677-51370706 launched on Node cn-jenkins-deploy-platform-ansible-os-4759-1
2025-11-19 07:57:02,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8a74ca36-d023-404a-9da5-110f7e7e7366
2025-11-19 07:57:02,684 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d5a24c61-209e-40d0-a6c0-0c68519d1b2e
2025-11-19 07:57:03,926 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/1.798/3.074/1.275 ms')
2025-11-19 07:57:03,926 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60821677-51370706 passed
2025-11-19 07:57:04,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-19 07:57:04,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60821677-51370706, IP 94.6.228.3, Port 22
2025-11-19 07:57:04,244 - DEBUG - VM ctest-TestRoutersBasic-60821677-51370706 is ready for SSH connections
2025-11-19 07:57:04,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-19 07:57:04,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.6.228.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-19 07:57:04,244 - DEBUG - ping -s 56 -c 3 -W 1 94.6.228.3
2025-11-19 07:57:08,312 - DEBUG - PING 94.6.228.3 (94.6.228.3): 56 data bytes
64 bytes from 94.6.228.3: seq=0 ttl=62 time=7.376 ms
64 bytes from 94.6.228.3: seq=1 ttl=62 time=0.946 ms
64 bytes from 94.6.228.3: seq=2 ttl=62 time=0.865 ms
--- 94.6.228.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.865/3.062/7.376 ms
2025-11-19 07:57:08,313 - INFO - Ping to IP 94.6.228.3 from VM ctest-TestRoutersBasic-60821677-75748288 passed
2025-11-19 07:57:08,313 - INFO - Deleting interface with subnet_id 2143759f-092d-473d-9452-fb3d01286460, port_id None from router e993f661-1e9b-4898-a65a-97ffbf093882
2025-11-19 07:57:08,506 - INFO - Deleting VM ctest-TestRoutersBasic-60821677-51370706
2025-11-19 07:57:08,580 - INFO - Deleting VM ctest-TestRoutersBasic-60821677-75748288
2025-11-19 07:57:08,664 - INFO - Deleting VN ctest-ext_vn-46532007
2025-11-19 07:57:08,731 - DEBUG - VN da12e6cc-c048-4767-9a61-09ef889d6994 still in use: Unable to complete operation on network da12e6cc-c048-4767-9a61-09ef889d6994. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-19a4b21b-52bd-4560-b572-ab54c3c3dd4b']
2025-11-19 07:57:08,731 - WARNING - Deleting VN ctest-ext_vn-46532007 failed..Will retry
2025-11-19 07:57:10,823 - DEBUG - Response for deleting network ()
2025-11-19 07:57:10,823 - INFO - Deleting VN ctest-vn-14643516
2025-11-19 07:57:10,909 - DEBUG - Response for deleting network ()
2025-11-19 07:57:11,166 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 07:57:11,166 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-19 07:57:11,166 - INFO - --------------------------------------------------------------------------------
2025-11-19 07:57:11,840 - INFO - Deleted project: ctest-TestRoutersBasic-60821677, ID : 83e34aff-0e8b-4f2a-a40e-357ed42e7b58