2025-10-08 16:14:46,140 - INFO - Domain Default found not creating
2025-10-08 16:14:46,274 - INFO - Project ctest-TestRoutersBasic-65981310 not found, creating it
2025-10-08 16:14:46,713 - INFO - Created Project:ctest-TestRoutersBasic-65981310, ID : 1b3c29c5-0871-411f-a986-744ebad85509
2025-10-08 16:14:48,092 - INFO - ================================================================================
2025-10-08 16:14:48,093 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-08 16:14:48,093 - 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-08 16:14:48,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with
2025-10-08 16:14:48,348 - INFO - Initial checks done. Running the testcase now
2025-10-08 16:14:48,348 - INFO -
2025-10-08 16:14:49,022 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65981310
2025-10-08 16:14:49,115 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65981310
2025-10-08 16:14:49,427 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65981310', 'default']}
2025-10-08 16:14:49,706 - DEBUG - Response for create_network : {'network': {'id': '5fa6cbd3-1661-4476-9101-37971f7c4158', 'name': 'ctest-vn-30869963', 'tenant_id': '1b3c29c50871411fa986744ebad85509', 'project_id': '1b3c29c50871411fa986744ebad85509', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65981310', 'ctest-vn-30869963'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 16:14:49,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '99d08698-cda4-4ff2-88f5-ddd21ab25924', 'name': '', 'tenant_id': '1b3c29c50871411fa986744ebad85509', 'network_id': '5fa6cbd3-1661-4476-9101-37971f7c4158', 'ip_version': 4, 'cidr': '92.24.132.192/26', 'allocation_pools': [{'start': '92.24.132.194', 'end': '92.24.132.254'}], 'gateway_ip': '92.24.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.24.132.194', 'tags': [], 'project_id': '1b3c29c50871411fa986744ebad85509'}}
2025-10-08 16:14:49,919 - INFO - Created VN ctest-vn-30869963
2025-10-08 16:14:49,971 - DEBUG - VN ctest-vn-30869963 UUID is 5fa6cbd3-1661-4476-9101-37971f7c4158
2025-10-08 16:14:50,259 - DEBUG - Response for create_network : {'network': {'id': '00b93e92-8443-46df-a054-d8deed7844ef', 'name': 'ctest-ext_vn-63757438', 'tenant_id': '1b3c29c50871411fa986744ebad85509', 'project_id': '1b3c29c50871411fa986744ebad85509', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65981310', 'ctest-ext_vn-63757438'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 16:14:50,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '54eddb29-2087-4043-b4e5-c1fc7eb504b6', 'name': '', 'tenant_id': '1b3c29c50871411fa986744ebad85509', 'network_id': '00b93e92-8443-46df-a054-d8deed7844ef', 'ip_version': 4, 'cidr': '21.73.237.64/26', 'allocation_pools': [{'start': '21.73.237.66', 'end': '21.73.237.126'}], 'gateway_ip': '21.73.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.73.237.66', 'tags': [], 'project_id': '1b3c29c50871411fa986744ebad85509'}}
2025-10-08 16:14:50,475 - INFO - Created VN ctest-ext_vn-63757438
2025-10-08 16:14:50,527 - DEBUG - VN ctest-ext_vn-63757438 UUID is 00b93e92-8443-46df-a054-d8deed7844ef
2025-10-08 16:14:50,720 - DEBUG - Services list from nova: [, , ]
2025-10-08 16:14:51,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4238-1)
2025-10-08 16:14:52,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4238-1)
2025-10-08 16:14:52,826 - INFO - Setting gateway for router a2a67a7d-add1-47d9-93a2-00f0bec9516b to network 00b93e92-8443-46df-a054-d8deed7844ef
2025-10-08 16:14:52,900 - INFO - Adding interface with subnet_id 99d08698-cda4-4ff2-88f5-ddd21ab25924, port_id None to router a2a67a7d-add1-47d9-93a2-00f0bec9516b
2025-10-08 16:14:53,367 - INFO - Waiting for VM ctest-TestRoutersBasic-65981310-00630993 to be up..
2025-10-08 16:14:53,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 16:14:58,623 - DEBUG - VM is in ACTIVE state now
2025-10-08 16:14:58,623 - INFO - VM name : ctest-TestRoutersBasic-65981310-00630993
2025-10-08 16:14:58,688 - DEBUG - VM ctest-TestRoutersBasic-65981310-00630993 ID is 8b156c0d-67f5-49da-b20f-2185605d4690
2025-10-08 16:14:58,705 - DEBUG - VM ctest-TestRoutersBasic-65981310-00630993 launched on Node cn-jenkins-deploy-platform-ansible-os-4238-1
2025-10-08 16:14:58,772 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8b156c0d-67f5-49da-b20f-2185605d4690
2025-10-08 16:14:59,060 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8b156c0d-67f5-49da-b20f-2185605d4690
2025-10-08 16:14:59,089 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/416dd34f-9454-487f-a36f-52d444a60158
2025-10-08 16:15:02,328 - 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 1008ms')
2025-10-08 16:15:02,328 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65981310-00630993 failed!
2025-10-08 16:15:02,383 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65981310:ctest-vn-30869963 is 92.24.132.193 and allocation pool is NOT set
2025-10-08 16:15:04,440 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/1.780/3.165/1.385 ms')
2025-10-08 16:15:04,440 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65981310-00630993 passed
2025-10-08 16:15:04,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:15:04,587 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65981310-00630993, IP 92.24.132.195, Port 22
2025-10-08 16:15:04,738 - DEBUG - VM ctest-TestRoutersBasic-65981310-00630993 is ready for SSH connections
2025-10-08 16:15:04,738 - INFO - Waiting for VM ctest-TestRoutersBasic-65981310-88942510 to be up..
2025-10-08 16:15:04,807 - DEBUG - VM is in ACTIVE state now
2025-10-08 16:15:04,807 - INFO - VM name : ctest-TestRoutersBasic-65981310-88942510
2025-10-08 16:15:04,871 - DEBUG - VM ctest-TestRoutersBasic-65981310-88942510 ID is 7235146e-1099-4d9f-9c60-798d2d21c067
2025-10-08 16:15:04,871 - DEBUG - VM ctest-TestRoutersBasic-65981310-88942510 launched on Node cn-jenkins-deploy-platform-ansible-os-4238-1
2025-10-08 16:15:04,935 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7235146e-1099-4d9f-9c60-798d2d21c067
2025-10-08 16:15:04,943 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/45b75e79-9e7c-42eb-b49d-b62d43f8edce
2025-10-08 16:15:06,175 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.858 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.858/3.128/5.399/2.270 ms')
2025-10-08 16:15:06,175 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65981310-88942510 passed
2025-10-08 16:15:06,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:15:06,327 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65981310-88942510, IP 21.73.237.67, Port 22
2025-10-08 16:15:06,478 - DEBUG - VM ctest-TestRoutersBasic-65981310-88942510 is ready for SSH connections
2025-10-08 16:15:06,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:15:06,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.73.237.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-10-08 16:15:06,479 - DEBUG - ping -s 56 -c 3 -W 1 21.73.237.67
2025-10-08 16:15:10,437 - DEBUG - PING 21.73.237.67 (21.73.237.67): 56 data bytes
64 bytes from 21.73.237.67: seq=0 ttl=62 time=6.907 ms
64 bytes from 21.73.237.67: seq=1 ttl=62 time=0.778 ms
64 bytes from 21.73.237.67: seq=2 ttl=62 time=0.843 ms
--- 21.73.237.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.778/2.842/6.907 ms
2025-10-08 16:15:10,437 - INFO - Ping to IP 21.73.237.67 from VM ctest-TestRoutersBasic-65981310-00630993 passed
2025-10-08 16:15:10,437 - INFO - Deleting interface with subnet_id 99d08698-cda4-4ff2-88f5-ddd21ab25924, port_id None from router a2a67a7d-add1-47d9-93a2-00f0bec9516b
2025-10-08 16:15:10,602 - INFO - Deleting VM ctest-TestRoutersBasic-65981310-88942510
2025-10-08 16:15:10,664 - INFO - Deleting VM ctest-TestRoutersBasic-65981310-00630993
2025-10-08 16:15:10,739 - INFO - Deleting VN ctest-ext_vn-63757438
2025-10-08 16:15:10,802 - DEBUG - VN 00b93e92-8443-46df-a054-d8deed7844ef still in use: Unable to complete operation on network 00b93e92-8443-46df-a054-d8deed7844ef. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bb9fd0e2-6e6c-4ab1-ac54-16d855f821af']
2025-10-08 16:15:10,803 - WARNING - Deleting VN ctest-ext_vn-63757438 failed..Will retry
2025-10-08 16:15:12,888 - DEBUG - Response for deleting network ()
2025-10-08 16:15:12,888 - INFO - Deleting VN ctest-vn-30869963
2025-10-08 16:15:12,989 - DEBUG - Response for deleting network ()
2025-10-08 16:15:13,244 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 16:15:13,244 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-08 16:15:13,244 - INFO - --------------------------------------------------------------------------------
2025-10-08 16:15:13,914 - INFO - Deleted project: ctest-TestRoutersBasic-65981310, ID : 1b3c29c5-0871-411f-a986-744ebad85509