2025-08-04 10:05:49,409 - INFO - Domain Default found not creating
2025-08-04 10:05:49,584 - INFO - Project ctest-TestRoutersBasic-77551061 not found, creating it
2025-08-04 10:05:50,084 - INFO - Created Project:ctest-TestRoutersBasic-77551061, ID : e464e732-fc4a-4190-97b0-5e4bcdd21864
2025-08-04 10:05:51,630 - INFO - ================================================================================
2025-08-04 10:05:51,631 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-04 10:05:51,631 - 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-08-04 10:05:51,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-08-04 10:05:51,890 - INFO - Initial checks done. Running the testcase now
2025-08-04 10:05:51,890 - INFO -
2025-08-04 10:05:52,639 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77551061
2025-08-04 10:05:52,741 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77551061
2025-08-04 10:05:53,073 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77551061', 'default']}
2025-08-04 10:05:53,389 - DEBUG - Response for create_network : {'network': {'id': 'd71af5dc-91b1-4abd-aa59-de3745139d25', 'name': 'ctest-vn-87698483', 'tenant_id': 'e464e732fc4a419097b05e4bcdd21864', 'project_id': 'e464e732fc4a419097b05e4bcdd21864', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77551061', 'ctest-vn-87698483'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 10:05:53,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eaa6215-c0ad-4aed-9918-b15062d1ead2', 'name': '', 'tenant_id': 'e464e732fc4a419097b05e4bcdd21864', 'network_id': 'd71af5dc-91b1-4abd-aa59-de3745139d25', 'ip_version': 4, 'cidr': '81.222.157.0/26', 'allocation_pools': [{'start': '81.222.157.2', 'end': '81.222.157.62'}], 'gateway_ip': '81.222.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.222.157.2', 'tags': [], 'project_id': 'e464e732fc4a419097b05e4bcdd21864'}}
2025-08-04 10:05:53,577 - INFO - Created VN ctest-vn-87698483
2025-08-04 10:05:53,633 - DEBUG - VN ctest-vn-87698483 UUID is d71af5dc-91b1-4abd-aa59-de3745139d25
2025-08-04 10:05:53,965 - DEBUG - Response for create_network : {'network': {'id': '50393077-9471-4c6a-9f97-9f10df74cd3b', 'name': 'ctest-ext_vn-94332670', 'tenant_id': 'e464e732fc4a419097b05e4bcdd21864', 'project_id': 'e464e732fc4a419097b05e4bcdd21864', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77551061', 'ctest-ext_vn-94332670'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 10:05:54,193 - DEBUG - Response for create_subnet : {'subnet': {'id': '41dd702e-7c40-48b2-9baf-cb5397a2d014', 'name': '', 'tenant_id': 'e464e732fc4a419097b05e4bcdd21864', 'network_id': '50393077-9471-4c6a-9f97-9f10df74cd3b', 'ip_version': 4, 'cidr': '222.236.148.128/26', 'allocation_pools': [{'start': '222.236.148.130', 'end': '222.236.148.190'}], 'gateway_ip': '222.236.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.236.148.130', 'tags': [], 'project_id': 'e464e732fc4a419097b05e4bcdd21864'}}
2025-08-04 10:05:54,213 - INFO - Created VN ctest-ext_vn-94332670
2025-08-04 10:05:54,269 - DEBUG - VN ctest-ext_vn-94332670 UUID is 50393077-9471-4c6a-9f97-9f10df74cd3b
2025-08-04 10:05:54,454 - DEBUG - Services list from nova: [, , ]
2025-08-04 10:05:55,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3752-1)
2025-08-04 10:05:56,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3752-1)
2025-08-04 10:05:56,782 - INFO - Setting gateway for router 6051d036-5af7-4b4e-8206-8d1d169182e0 to network 50393077-9471-4c6a-9f97-9f10df74cd3b
2025-08-04 10:05:56,843 - INFO - Adding interface with subnet_id 1eaa6215-c0ad-4aed-9918-b15062d1ead2, port_id None to router 6051d036-5af7-4b4e-8206-8d1d169182e0
2025-08-04 10:05:57,248 - INFO - Waiting for VM ctest-TestRoutersBasic-77551061-76400464 to be up..
2025-08-04 10:05:57,397 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 10:06:02,494 - DEBUG - VM is in ACTIVE state now
2025-08-04 10:06:02,494 - INFO - VM name : ctest-TestRoutersBasic-77551061-76400464
2025-08-04 10:06:02,582 - DEBUG - VM ctest-TestRoutersBasic-77551061-76400464 ID is 302088a6-6d8e-4684-9f24-92a45f63e841
2025-08-04 10:06:02,604 - DEBUG - VM ctest-TestRoutersBasic-77551061-76400464 launched on Node cn-jenkins-deploy-platform-ansible-os-3752-1
2025-08-04 10:06:02,686 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/302088a6-6d8e-4684-9f24-92a45f63e841
2025-08-04 10:06:02,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/302088a6-6d8e-4684-9f24-92a45f63e841
2025-08-04 10:06:03,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c7c4f9f4-201c-460d-bd74-913b7d2c72f2
2025-08-04 10:06:06,301 - 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-08-04 10:06:06,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77551061-76400464 failed!
2025-08-04 10:06:06,356 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77551061:ctest-vn-87698483 is 81.222.157.1 and allocation pool is NOT set
2025-08-04 10:06:08,422 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.55 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 = 1.551/3.078/4.605/1.527 ms')
2025-08-04 10:06:08,422 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77551061-76400464 passed
2025-08-04 10:06:08,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 10:06:08,581 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77551061-76400464, IP 81.222.157.3, Port 22
2025-08-04 10:06:08,750 - DEBUG - VM ctest-TestRoutersBasic-77551061-76400464 is ready for SSH connections
2025-08-04 10:06:08,750 - INFO - Waiting for VM ctest-TestRoutersBasic-77551061-71288003 to be up..
2025-08-04 10:06:08,832 - DEBUG - VM is in ACTIVE state now
2025-08-04 10:06:08,832 - INFO - VM name : ctest-TestRoutersBasic-77551061-71288003
2025-08-04 10:06:08,924 - DEBUG - VM ctest-TestRoutersBasic-77551061-71288003 ID is 67147bf1-99c3-4b06-aad1-01b2a39e5832
2025-08-04 10:06:08,924 - DEBUG - VM ctest-TestRoutersBasic-77551061-71288003 launched on Node cn-jenkins-deploy-platform-ansible-os-3752-1
2025-08-04 10:06:09,028 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/67147bf1-99c3-4b06-aad1-01b2a39e5832
2025-08-04 10:06:09,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3c55ce8d-8eb2-439f-862a-bdc00d9d5204
2025-08-04 10:06:10,287 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/1.850/3.175/1.325 ms')
2025-08-04 10:06:10,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77551061-71288003 passed
2025-08-04 10:06:10,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 10:06:10,465 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77551061-71288003, IP 222.236.148.131, Port 22
2025-08-04 10:06:10,621 - DEBUG - VM ctest-TestRoutersBasic-77551061-71288003 is ready for SSH connections
2025-08-04 10:06:10,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 10:06:10,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.236.148.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-04 10:06:10,621 - DEBUG - ping -s 56 -c 3 -W 1 222.236.148.131
2025-08-04 10:06:14,337 - DEBUG - PING 222.236.148.131 (222.236.148.131): 56 data bytes
64 bytes from 222.236.148.131: seq=0 ttl=62 time=6.684 ms
64 bytes from 222.236.148.131: seq=1 ttl=62 time=1.178 ms
64 bytes from 222.236.148.131: seq=2 ttl=62 time=1.148 ms
--- 222.236.148.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.148/3.003/6.684 ms
2025-08-04 10:06:14,337 - INFO - Ping to IP 222.236.148.131 from VM ctest-TestRoutersBasic-77551061-76400464 passed
2025-08-04 10:06:14,337 - INFO - Deleting interface with subnet_id 1eaa6215-c0ad-4aed-9918-b15062d1ead2, port_id None from router 6051d036-5af7-4b4e-8206-8d1d169182e0
2025-08-04 10:06:14,592 - INFO - Deleting VM ctest-TestRoutersBasic-77551061-71288003
2025-08-04 10:06:14,687 - INFO - Deleting VM ctest-TestRoutersBasic-77551061-76400464
2025-08-04 10:06:14,778 - INFO - Deleting VN ctest-ext_vn-94332670
2025-08-04 10:06:14,884 - DEBUG - VN 50393077-9471-4c6a-9f97-9f10df74cd3b still in use: Unable to complete operation on network 50393077-9471-4c6a-9f97-9f10df74cd3b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6e12bbdd-fc81-4ea7-9f0b-54a1411fb4a2']
2025-08-04 10:06:14,884 - WARNING - Deleting VN ctest-ext_vn-94332670 failed..Will retry
2025-08-04 10:06:17,028 - DEBUG - Response for deleting network ()
2025-08-04 10:06:17,028 - INFO - Deleting VN ctest-vn-87698483
2025-08-04 10:06:17,156 - DEBUG - Response for deleting network ()
2025-08-04 10:06:17,419 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 10:06:17,419 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-04 10:06:17,419 - INFO - --------------------------------------------------------------------------------
2025-08-04 10:06:18,166 - INFO - Deleted project: ctest-TestRoutersBasic-77551061, ID : e464e732-fc4a-4190-97b0-5e4bcdd21864