2025-11-07 13:30:05,259 - INFO - Domain Default found not creating
2025-11-07 13:30:05,434 - INFO - Project ctest-TestRoutersBasic-14124882 not found, creating it
2025-11-07 13:30:05,919 - INFO - Created Project:ctest-TestRoutersBasic-14124882, ID : 6906f5af-4dcc-4979-a092-b0cc2c6d8b44
2025-11-07 13:30:07,527 - INFO - ================================================================================
2025-11-07 13:30:07,527 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-07 13:30:07,528 - 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-07 13:30:07,785 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-07 13:30:07,786 - INFO - Initial checks done. Running the testcase now
2025-11-07 13:30:07,786 - INFO -
2025-11-07 13:30:08,482 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14124882
2025-11-07 13:30:08,578 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14124882
2025-11-07 13:30:08,902 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14124882', 'default']}
2025-11-07 13:30:09,215 - DEBUG - Response for create_network : {'network': {'id': '4633a9b8-f04b-4c53-9606-07e99c9233e1', 'name': 'ctest-vn-14156867', 'tenant_id': '6906f5af4dcc4979a092b0cc2c6d8b44', 'project_id': '6906f5af4dcc4979a092b0cc2c6d8b44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14124882', 'ctest-vn-14156867'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 13:30:09,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '994f11ed-315e-4b6e-b9c4-14c89eda1d65', 'name': '', 'tenant_id': '6906f5af4dcc4979a092b0cc2c6d8b44', 'network_id': '4633a9b8-f04b-4c53-9606-07e99c9233e1', 'ip_version': 4, 'cidr': '2.134.97.192/26', 'allocation_pools': [{'start': '2.134.97.194', 'end': '2.134.97.254'}], 'gateway_ip': '2.134.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.134.97.194', 'tags': [], 'project_id': '6906f5af4dcc4979a092b0cc2c6d8b44'}}
2025-11-07 13:30:09,475 - INFO - Created VN ctest-vn-14156867
2025-11-07 13:30:09,526 - DEBUG - VN ctest-vn-14156867 UUID is 4633a9b8-f04b-4c53-9606-07e99c9233e1
2025-11-07 13:30:09,854 - DEBUG - Response for create_network : {'network': {'id': '32751c26-c7ad-4084-b78b-b03d8269ed1b', 'name': 'ctest-ext_vn-60545677', 'tenant_id': '6906f5af4dcc4979a092b0cc2c6d8b44', 'project_id': '6906f5af4dcc4979a092b0cc2c6d8b44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14124882', 'ctest-ext_vn-60545677'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 13:30:10,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f64d450-e0cf-4b80-a32f-8341e4dc136d', 'name': '', 'tenant_id': '6906f5af4dcc4979a092b0cc2c6d8b44', 'network_id': '32751c26-c7ad-4084-b78b-b03d8269ed1b', 'ip_version': 4, 'cidr': '94.146.93.192/26', 'allocation_pools': [{'start': '94.146.93.194', 'end': '94.146.93.254'}], 'gateway_ip': '94.146.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.146.93.194', 'tags': [], 'project_id': '6906f5af4dcc4979a092b0cc2c6d8b44'}}
2025-11-07 13:30:10,038 - INFO - Created VN ctest-ext_vn-60545677
2025-11-07 13:30:10,090 - DEBUG - VN ctest-ext_vn-60545677 UUID is 32751c26-c7ad-4084-b78b-b03d8269ed1b
2025-11-07 13:30:10,268 - DEBUG - Services list from nova: [, , ]
2025-11-07 13:30:11,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4669-1)
2025-11-07 13:30:12,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4669-1)
2025-11-07 13:30:12,673 - INFO - Setting gateway for router b9909341-0c10-4ec3-86ec-a1eb008e6b51 to network 32751c26-c7ad-4084-b78b-b03d8269ed1b
2025-11-07 13:30:12,752 - INFO - Adding interface with subnet_id 994f11ed-315e-4b6e-b9c4-14c89eda1d65, port_id None to router b9909341-0c10-4ec3-86ec-a1eb008e6b51
2025-11-07 13:30:13,212 - INFO - Waiting for VM ctest-TestRoutersBasic-14124882-15262238 to be up..
2025-11-07 13:30:13,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-07 13:30:18,596 - DEBUG - VM is in ACTIVE state now
2025-11-07 13:30:18,596 - INFO - VM name : ctest-TestRoutersBasic-14124882-15262238
2025-11-07 13:30:18,680 - DEBUG - VM ctest-TestRoutersBasic-14124882-15262238 ID is d2062133-1a8b-474d-905c-77687f972082
2025-11-07 13:30:18,707 - DEBUG - VM ctest-TestRoutersBasic-14124882-15262238 launched on Node cn-jenkins-deploy-platform-ansible-os-4669-1
2025-11-07 13:30:18,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d2062133-1a8b-474d-905c-77687f972082
2025-11-07 13:30:19,090 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d2062133-1a8b-474d-905c-77687f972082
2025-11-07 13:30:19,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/421e2616-1271-4ccd-82be-e90573b281e7
2025-11-07 13:30:22,369 - 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 1014ms')
2025-11-07 13:30:22,370 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14124882-15262238 failed!
2025-11-07 13:30:22,426 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14124882:ctest-vn-14156867 is 2.134.97.193 and allocation pool is NOT set
2025-11-07 13:30:24,498 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.83 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 = 2.834/3.119/3.404/0.285 ms')
2025-11-07 13:30:24,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14124882-15262238 passed
2025-11-07 13:30:24,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 13:30:24,655 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14124882-15262238, IP 2.134.97.195, Port 22
2025-11-07 13:30:24,814 - DEBUG - VM ctest-TestRoutersBasic-14124882-15262238 is ready for SSH connections
2025-11-07 13:30:24,814 - INFO - Waiting for VM ctest-TestRoutersBasic-14124882-15311417 to be up..
2025-11-07 13:30:24,898 - DEBUG - VM is in ACTIVE state now
2025-11-07 13:30:24,898 - INFO - VM name : ctest-TestRoutersBasic-14124882-15311417
2025-11-07 13:30:24,975 - DEBUG - VM ctest-TestRoutersBasic-14124882-15311417 ID is 342f5d12-b55f-4393-b1c4-90990ec12813
2025-11-07 13:30:24,975 - DEBUG - VM ctest-TestRoutersBasic-14124882-15311417 launched on Node cn-jenkins-deploy-platform-ansible-os-4669-1
2025-11-07 13:30:25,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/342f5d12-b55f-4393-b1c4-90990ec12813
2025-11-07 13:30:25,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1bd67c5c-db18-46c5-b720-7467dec51d07
2025-11-07 13:30:26,309 - 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=5.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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 = 1.066/3.037/5.009/1.971 ms')
2025-11-07 13:30:26,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14124882-15311417 passed
2025-11-07 13:30:26,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 13:30:26,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14124882-15311417, IP 94.146.93.195, Port 22
2025-11-07 13:30:26,618 - DEBUG - VM ctest-TestRoutersBasic-14124882-15311417 is ready for SSH connections
2025-11-07 13:30:26,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 13:30:26,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.146.93.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-07 13:30:26,619 - DEBUG - ping -s 56 -c 3 -W 1 94.146.93.195
2025-11-07 13:30:30,331 - DEBUG - PING 94.146.93.195 (94.146.93.195): 56 data bytes
64 bytes from 94.146.93.195: seq=0 ttl=62 time=6.808 ms
64 bytes from 94.146.93.195: seq=1 ttl=62 time=1.105 ms
64 bytes from 94.146.93.195: seq=2 ttl=62 time=1.383 ms
--- 94.146.93.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.105/3.098/6.808 ms
2025-11-07 13:30:30,331 - INFO - Ping to IP 94.146.93.195 from VM ctest-TestRoutersBasic-14124882-15262238 passed
2025-11-07 13:30:30,331 - INFO - Deleting interface with subnet_id 994f11ed-315e-4b6e-b9c4-14c89eda1d65, port_id None from router b9909341-0c10-4ec3-86ec-a1eb008e6b51
2025-11-07 13:30:30,532 - INFO - Deleting VM ctest-TestRoutersBasic-14124882-15311417
2025-11-07 13:30:30,619 - INFO - Deleting VM ctest-TestRoutersBasic-14124882-15262238
2025-11-07 13:30:30,722 - INFO - Deleting VN ctest-ext_vn-60545677
2025-11-07 13:30:30,794 - DEBUG - VN 32751c26-c7ad-4084-b78b-b03d8269ed1b still in use: Unable to complete operation on network 32751c26-c7ad-4084-b78b-b03d8269ed1b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7b4250a3-494e-4330-a8b6-9067040fd0bb']
2025-11-07 13:30:30,794 - WARNING - Deleting VN ctest-ext_vn-60545677 failed..Will retry
2025-11-07 13:30:32,902 - DEBUG - Response for deleting network ()
2025-11-07 13:30:32,903 - INFO - Deleting VN ctest-vn-14156867
2025-11-07 13:30:33,030 - DEBUG - Response for deleting network ()
2025-11-07 13:30:33,284 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 13:30:33,284 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-07 13:30:33,284 - INFO - --------------------------------------------------------------------------------
2025-11-07 13:30:33,969 - INFO - Deleted project: ctest-TestRoutersBasic-14124882, ID : 6906f5af-4dcc-4979-a092-b0cc2c6d8b44