2025-09-04 15:19:11,473 - INFO - Domain Default found not creating
2025-09-04 15:19:11,635 - INFO - Project ctest-TestRoutersBasic-34881763 not found, creating it
2025-09-04 15:19:12,089 - INFO - Created Project:ctest-TestRoutersBasic-34881763, ID : e36dc8b1-ee51-4311-9312-889f7fdd0471
2025-09-04 15:19:13,642 - INFO - ================================================================================
2025-09-04 15:19:13,642 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-04 15:19:13,642 - 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-09-04 15:19:13,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-04 15:19:13,906 - INFO - Initial checks done. Running the testcase now
2025-09-04 15:19:13,906 - INFO -
2025-09-04 15:19:14,688 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34881763
2025-09-04 15:19:14,785 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34881763
2025-09-04 15:19:15,108 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34881763', 'default']}
2025-09-04 15:19:15,409 - DEBUG - Response for create_network : {'network': {'id': '16ab2e67-be20-403d-beee-2f7765a99684', 'name': 'ctest-vn-93551728', 'tenant_id': 'e36dc8b1ee5143119312889f7fdd0471', 'project_id': 'e36dc8b1ee5143119312889f7fdd0471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34881763', 'ctest-vn-93551728'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 15:19:15,589 - DEBUG - Response for create_subnet : {'subnet': {'id': '6074a731-063a-4eba-bb7c-7baccb309df0', 'name': '', 'tenant_id': 'e36dc8b1ee5143119312889f7fdd0471', 'network_id': '16ab2e67-be20-403d-beee-2f7765a99684', 'ip_version': 4, 'cidr': '214.179.168.128/26', 'allocation_pools': [{'start': '214.179.168.130', 'end': '214.179.168.190'}], 'gateway_ip': '214.179.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.179.168.130', 'tags': [], 'project_id': 'e36dc8b1ee5143119312889f7fdd0471'}}
2025-09-04 15:19:15,606 - INFO - Created VN ctest-vn-93551728
2025-09-04 15:19:15,665 - DEBUG - VN ctest-vn-93551728 UUID is 16ab2e67-be20-403d-beee-2f7765a99684
2025-09-04 15:19:16,026 - DEBUG - Response for create_network : {'network': {'id': 'e3bf98b6-ef87-45b3-aaae-fef0c104372a', 'name': 'ctest-ext_vn-76973460', 'tenant_id': 'e36dc8b1ee5143119312889f7fdd0471', 'project_id': 'e36dc8b1ee5143119312889f7fdd0471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34881763', 'ctest-ext_vn-76973460'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 15:19:16,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '49f791a5-4fde-4d90-96e2-c951e4516b6d', 'name': '', 'tenant_id': 'e36dc8b1ee5143119312889f7fdd0471', 'network_id': 'e3bf98b6-ef87-45b3-aaae-fef0c104372a', 'ip_version': 4, 'cidr': '162.28.136.128/26', 'allocation_pools': [{'start': '162.28.136.130', 'end': '162.28.136.190'}], 'gateway_ip': '162.28.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.28.136.130', 'tags': [], 'project_id': 'e36dc8b1ee5143119312889f7fdd0471'}}
2025-09-04 15:19:16,278 - INFO - Created VN ctest-ext_vn-76973460
2025-09-04 15:19:16,328 - DEBUG - VN ctest-ext_vn-76973460 UUID is e3bf98b6-ef87-45b3-aaae-fef0c104372a
2025-09-04 15:19:16,531 - DEBUG - Services list from nova: [, , ]
2025-09-04 15:19:17,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4016-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4016-1)
2025-09-04 15:19:18,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4016-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4016-1)
2025-09-04 15:19:18,988 - INFO - Setting gateway for router d9dfdce3-d194-43f0-bbba-87a941e00830 to network e3bf98b6-ef87-45b3-aaae-fef0c104372a
2025-09-04 15:19:19,062 - INFO - Adding interface with subnet_id 6074a731-063a-4eba-bb7c-7baccb309df0, port_id None to router d9dfdce3-d194-43f0-bbba-87a941e00830
2025-09-04 15:19:19,436 - INFO - Waiting for VM ctest-TestRoutersBasic-34881763-10492388 to be up..
2025-09-04 15:19:19,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 15:19:24,729 - DEBUG - VM is in ACTIVE state now
2025-09-04 15:19:24,730 - INFO - VM name : ctest-TestRoutersBasic-34881763-10492388
2025-09-04 15:19:24,825 - DEBUG - VM ctest-TestRoutersBasic-34881763-10492388 ID is fc5da64f-3086-443f-bb2e-3304f0a69951
2025-09-04 15:19:24,846 - DEBUG - VM ctest-TestRoutersBasic-34881763-10492388 launched on Node cn-jenkins-deploy-platform-ansible-os-4016-1
2025-09-04 15:19:24,918 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fc5da64f-3086-443f-bb2e-3304f0a69951
2025-09-04 15:19:25,252 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fc5da64f-3086-443f-bb2e-3304f0a69951
2025-09-04 15:19:25,285 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/40f9cd95-06ce-4b20-812e-5208feb490db
2025-09-04 15:19:28,547 - 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 1022ms')
2025-09-04 15:19:28,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34881763-10492388 failed!
2025-09-04 15:19:28,629 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34881763:ctest-vn-93551728 is 214.179.168.129 and allocation pool is NOT set
2025-09-04 15:19:30,696 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.958 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.958/2.848/4.738/1.890 ms')
2025-09-04 15:19:30,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34881763-10492388 passed
2025-09-04 15:19:30,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:19:30,849 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34881763-10492388, IP 214.179.168.131, Port 22
2025-09-04 15:19:31,008 - DEBUG - VM ctest-TestRoutersBasic-34881763-10492388 is ready for SSH connections
2025-09-04 15:19:31,008 - INFO - Waiting for VM ctest-TestRoutersBasic-34881763-23595672 to be up..
2025-09-04 15:19:31,087 - DEBUG - VM is in ACTIVE state now
2025-09-04 15:19:31,087 - INFO - VM name : ctest-TestRoutersBasic-34881763-23595672
2025-09-04 15:19:31,169 - DEBUG - VM ctest-TestRoutersBasic-34881763-23595672 ID is ff48bf3c-e3ee-43ab-9e20-730a5fe57b38
2025-09-04 15:19:31,169 - DEBUG - VM ctest-TestRoutersBasic-34881763-23595672 launched on Node cn-jenkins-deploy-platform-ansible-os-4016-1
2025-09-04 15:19:31,245 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ff48bf3c-e3ee-43ab-9e20-730a5fe57b38
2025-09-04 15:19:31,254 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c3302490-c25c-4cf9-b780-cbc81c004cda
2025-09-04 15:19:32,484 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.748 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.748/2.095/3.442/1.347 ms')
2025-09-04 15:19:32,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34881763-23595672 passed
2025-09-04 15:19:32,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:19:32,641 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34881763-23595672, IP 162.28.136.131, Port 22
2025-09-04 15:19:32,806 - DEBUG - VM ctest-TestRoutersBasic-34881763-23595672 is ready for SSH connections
2025-09-04 15:19:32,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:19:32,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.28.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-04 15:19:32,807 - DEBUG - ping -s 56 -c 3 -W 1 162.28.136.131
2025-09-04 15:19:36,545 - DEBUG - PING 162.28.136.131 (162.28.136.131): 56 data bytes
64 bytes from 162.28.136.131: seq=0 ttl=62 time=5.617 ms
64 bytes from 162.28.136.131: seq=1 ttl=62 time=1.033 ms
64 bytes from 162.28.136.131: seq=2 ttl=62 time=1.113 ms
--- 162.28.136.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.033/2.587/5.617 ms
2025-09-04 15:19:36,546 - INFO - Ping to IP 162.28.136.131 from VM ctest-TestRoutersBasic-34881763-10492388 passed
2025-09-04 15:19:36,546 - INFO - Deleting interface with subnet_id 6074a731-063a-4eba-bb7c-7baccb309df0, port_id None from router d9dfdce3-d194-43f0-bbba-87a941e00830
2025-09-04 15:19:36,744 - INFO - Deleting VM ctest-TestRoutersBasic-34881763-23595672
2025-09-04 15:19:36,815 - INFO - Deleting VM ctest-TestRoutersBasic-34881763-10492388
2025-09-04 15:19:36,903 - INFO - Deleting VN ctest-ext_vn-76973460
2025-09-04 15:19:37,038 - DEBUG - VN e3bf98b6-ef87-45b3-aaae-fef0c104372a still in use: Unable to complete operation on network e3bf98b6-ef87-45b3-aaae-fef0c104372a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5103f488-8d75-40d2-988f-b4bcbb6a1bc8']
2025-09-04 15:19:37,038 - WARNING - Deleting VN ctest-ext_vn-76973460 failed..Will retry
2025-09-04 15:19:39,144 - DEBUG - Response for deleting network ()
2025-09-04 15:19:39,144 - INFO - Deleting VN ctest-vn-93551728
2025-09-04 15:19:39,256 - DEBUG - Response for deleting network ()
2025-09-04 15:19:39,521 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 15:19:39,521 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-09-04 15:19:39,521 - INFO - --------------------------------------------------------------------------------
2025-09-04 15:19:40,261 - INFO - Deleted project: ctest-TestRoutersBasic-34881763, ID : e36dc8b1-ee51-4311-9312-889f7fdd0471