2025-10-22 23:01:33,190 - INFO - Domain Default found not creating
2025-10-22 23:01:33,330 - INFO - Project ctest-TestRoutersBasic-80078131 not found, creating it
2025-10-22 23:01:33,776 - INFO - Created Project:ctest-TestRoutersBasic-80078131, ID : e2854657-ae65-43ce-986d-1938be15e6f5
2025-10-22 23:01:35,266 - INFO - ================================================================================
2025-10-22 23:01:35,266 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-22 23:01:35,266 - 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-10-22 23:01:35,523 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-22 23:01:35,523 - INFO - Initial checks done. Running the testcase now
2025-10-22 23:01:35,523 - INFO -
2025-10-22 23:01:36,240 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80078131
2025-10-22 23:01:36,334 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80078131
2025-10-22 23:01:36,649 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80078131', 'default']}
2025-10-22 23:01:36,936 - DEBUG - Response for create_network : {'network': {'id': '8c76dcf1-4eff-45a9-8b0c-3d9eba58b988', 'name': 'ctest-vn-42894222', 'tenant_id': 'e2854657ae6543ce986d1938be15e6f5', 'project_id': 'e2854657ae6543ce986d1938be15e6f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80078131', 'ctest-vn-42894222'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:01:37,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '9579b823-b2e1-410b-b553-6f1590b9d931', 'name': '', 'tenant_id': 'e2854657ae6543ce986d1938be15e6f5', 'network_id': '8c76dcf1-4eff-45a9-8b0c-3d9eba58b988', 'ip_version': 4, 'cidr': '184.61.232.64/26', 'allocation_pools': [{'start': '184.61.232.66', 'end': '184.61.232.126'}], 'gateway_ip': '184.61.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.61.232.66', 'tags': [], 'project_id': 'e2854657ae6543ce986d1938be15e6f5'}}
2025-10-22 23:01:37,116 - INFO - Created VN ctest-vn-42894222
2025-10-22 23:01:37,170 - DEBUG - VN ctest-vn-42894222 UUID is 8c76dcf1-4eff-45a9-8b0c-3d9eba58b988
2025-10-22 23:01:37,464 - DEBUG - Response for create_network : {'network': {'id': '4b711b88-3cb2-4fa5-aecd-728bbd1f1a31', 'name': 'ctest-ext_vn-75459921', 'tenant_id': 'e2854657ae6543ce986d1938be15e6f5', 'project_id': 'e2854657ae6543ce986d1938be15e6f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80078131', 'ctest-ext_vn-75459921'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:01:37,677 - DEBUG - Response for create_subnet : {'subnet': {'id': 'deba3cd1-7772-4a32-9102-5e33a036e85a', 'name': '', 'tenant_id': 'e2854657ae6543ce986d1938be15e6f5', 'network_id': '4b711b88-3cb2-4fa5-aecd-728bbd1f1a31', 'ip_version': 4, 'cidr': '48.104.38.192/26', 'allocation_pools': [{'start': '48.104.38.194', 'end': '48.104.38.254'}], 'gateway_ip': '48.104.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.104.38.194', 'tags': [], 'project_id': 'e2854657ae6543ce986d1938be15e6f5'}}
2025-10-22 23:01:37,696 - INFO - Created VN ctest-ext_vn-75459921
2025-10-22 23:01:37,753 - DEBUG - VN ctest-ext_vn-75459921 UUID is 4b711b88-3cb2-4fa5-aecd-728bbd1f1a31
2025-10-22 23:01:37,956 - DEBUG - Services list from nova: [, , ]
2025-10-22 23:01:38,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4444-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4444-1)
2025-10-22 23:01:40,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4444-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4444-1)
2025-10-22 23:01:40,148 - INFO - Setting gateway for router 9cce2f49-b2af-42c2-8c1a-5f5f045e8012 to network 4b711b88-3cb2-4fa5-aecd-728bbd1f1a31
2025-10-22 23:01:40,203 - INFO - Adding interface with subnet_id 9579b823-b2e1-410b-b553-6f1590b9d931, port_id None to router 9cce2f49-b2af-42c2-8c1a-5f5f045e8012
2025-10-22 23:01:40,520 - INFO - Waiting for VM ctest-TestRoutersBasic-80078131-01306416 to be up..
2025-10-22 23:01:40,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 23:01:45,713 - DEBUG - VM is in ACTIVE state now
2025-10-22 23:01:45,714 - INFO - VM name : ctest-TestRoutersBasic-80078131-01306416
2025-10-22 23:01:45,789 - DEBUG - VM ctest-TestRoutersBasic-80078131-01306416 ID is c7ca5cf1-3377-48af-bd2e-ea6ca871f1c4
2025-10-22 23:01:45,814 - DEBUG - VM ctest-TestRoutersBasic-80078131-01306416 launched on Node cn-jenkins-deploy-platform-ansible-os-4444-1
2025-10-22 23:01:45,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c7ca5cf1-3377-48af-bd2e-ea6ca871f1c4
2025-10-22 23:01:46,193 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c7ca5cf1-3377-48af-bd2e-ea6ca871f1c4
2025-10-22 23:01:46,223 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/44e2bf5c-e858-4480-a60a-d6fb14285d17
2025-10-22 23:01:49,476 - 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 1018ms')
2025-10-22 23:01:49,476 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80078131-01306416 failed!
2025-10-22 23:01:49,529 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80078131:ctest-vn-42894222 is 184.61.232.65 and allocation pool is NOT set
2025-10-22 23:01:51,587 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 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 = 1.373/2.766/4.159/1.393 ms')
2025-10-22 23:01:51,587 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80078131-01306416 passed
2025-10-22 23:01:51,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 23:01:51,689 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80078131-01306416, IP 184.61.232.67, Port 22
2025-10-22 23:01:51,840 - DEBUG - VM ctest-TestRoutersBasic-80078131-01306416 is ready for SSH connections
2025-10-22 23:01:51,840 - INFO - Waiting for VM ctest-TestRoutersBasic-80078131-36721779 to be up..
2025-10-22 23:01:51,919 - DEBUG - VM is in ACTIVE state now
2025-10-22 23:01:51,919 - INFO - VM name : ctest-TestRoutersBasic-80078131-36721779
2025-10-22 23:01:51,996 - DEBUG - VM ctest-TestRoutersBasic-80078131-36721779 ID is 27d2c8c9-5ac4-48bf-ab1e-0720a6489745
2025-10-22 23:01:51,996 - DEBUG - VM ctest-TestRoutersBasic-80078131-36721779 launched on Node cn-jenkins-deploy-platform-ansible-os-4444-1
2025-10-22 23:01:52,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/27d2c8c9-5ac4-48bf-ab1e-0720a6489745
2025-10-22 23:01:52,078 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/25a1bc39-eba2-41a9-8a6c-8dd1138304cc
2025-10-22 23:01:53,314 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.713/2.940/1.227 ms')
2025-10-22 23:01:53,314 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80078131-36721779 passed
2025-10-22 23:01:53,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 23:01:53,462 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80078131-36721779, IP 48.104.38.195, Port 22
2025-10-22 23:01:53,617 - DEBUG - VM ctest-TestRoutersBasic-80078131-36721779 is ready for SSH connections
2025-10-22 23:01:53,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 23:01:53,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.104.38.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-22 23:01:53,617 - DEBUG - ping -s 56 -c 3 -W 1 48.104.38.195
2025-10-22 23:01:57,396 - DEBUG - PING 48.104.38.195 (48.104.38.195): 56 data bytes
64 bytes from 48.104.38.195: seq=0 ttl=62 time=4.889 ms
64 bytes from 48.104.38.195: seq=1 ttl=62 time=0.884 ms
64 bytes from 48.104.38.195: seq=2 ttl=62 time=0.846 ms
--- 48.104.38.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.846/2.206/4.889 ms
2025-10-22 23:01:57,396 - INFO - Ping to IP 48.104.38.195 from VM ctest-TestRoutersBasic-80078131-01306416 passed
2025-10-22 23:01:57,396 - INFO - Deleting interface with subnet_id 9579b823-b2e1-410b-b553-6f1590b9d931, port_id None from router 9cce2f49-b2af-42c2-8c1a-5f5f045e8012
2025-10-22 23:01:57,578 - INFO - Deleting VM ctest-TestRoutersBasic-80078131-36721779
2025-10-22 23:01:57,652 - INFO - Deleting VM ctest-TestRoutersBasic-80078131-01306416
2025-10-22 23:01:57,734 - INFO - Deleting VN ctest-ext_vn-75459921
2025-10-22 23:01:57,806 - DEBUG - VN 4b711b88-3cb2-4fa5-aecd-728bbd1f1a31 still in use: Unable to complete operation on network 4b711b88-3cb2-4fa5-aecd-728bbd1f1a31. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6c1e5c5c-ff68-4dd1-bd2e-57548f41580c']
2025-10-22 23:01:57,806 - WARNING - Deleting VN ctest-ext_vn-75459921 failed..Will retry
2025-10-22 23:01:59,904 - DEBUG - Response for deleting network ()
2025-10-22 23:01:59,904 - INFO - Deleting VN ctest-vn-42894222
2025-10-22 23:02:00,014 - DEBUG - Response for deleting network ()
2025-10-22 23:02:00,275 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 23:02:00,275 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-22 23:02:00,275 - INFO - --------------------------------------------------------------------------------
2025-10-22 23:02:00,975 - INFO - Deleted project: ctest-TestRoutersBasic-80078131, ID : e2854657-ae65-43ce-986d-1938be15e6f5