2025-08-06 07:24:34,524 - INFO - Domain Default found not creating 2025-08-06 07:24:34,679 - INFO - Project ctest-TestRoutersBasic-54493817 not found, creating it 2025-08-06 07:24:35,180 - INFO - Created Project:ctest-TestRoutersBasic-54493817, ID : 7223706a-8a5e-4a42-83d5-ed2b929fad47 2025-08-06 07:24:36,686 - INFO - ================================================================================ 2025-08-06 07:24:36,686 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-06 07:24:36,686 - 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-06 07:24:36,948 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 07:24:36,948 - INFO - Initial checks done. Running the testcase now 2025-08-06 07:24:36,948 - INFO - 2025-08-06 07:24:37,675 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54493817 2025-08-06 07:24:37,769 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54493817 2025-08-06 07:24:38,097 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54493817', 'default']} 2025-08-06 07:24:38,406 - DEBUG - Response for create_network : {'network': {'id': 'f97e2c2a-cbe0-4c38-bce8-3f0937662ca5', 'name': 'ctest-vn-90264861', 'tenant_id': '7223706a8a5e4a4283d5ed2b929fad47', 'project_id': '7223706a8a5e4a4283d5ed2b929fad47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54493817', 'ctest-vn-90264861'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:24:38,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cdbe8f6-1ffe-4ebb-b156-b42e0784ec38', 'name': '', 'tenant_id': '7223706a8a5e4a4283d5ed2b929fad47', 'network_id': 'f97e2c2a-cbe0-4c38-bce8-3f0937662ca5', 'ip_version': 4, 'cidr': '88.237.7.64/26', 'allocation_pools': [{'start': '88.237.7.66', 'end': '88.237.7.126'}], 'gateway_ip': '88.237.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.237.7.66', 'tags': [], 'project_id': '7223706a8a5e4a4283d5ed2b929fad47'}} 2025-08-06 07:24:38,663 - INFO - Created VN ctest-vn-90264861 2025-08-06 07:24:38,717 - DEBUG - VN ctest-vn-90264861 UUID is f97e2c2a-cbe0-4c38-bce8-3f0937662ca5 2025-08-06 07:24:39,033 - DEBUG - Response for create_network : {'network': {'id': '202a8158-15e6-4064-9522-561a9eef40d7', 'name': 'ctest-ext_vn-38404394', 'tenant_id': '7223706a8a5e4a4283d5ed2b929fad47', 'project_id': '7223706a8a5e4a4283d5ed2b929fad47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54493817', 'ctest-ext_vn-38404394'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:24:39,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '90273376-964e-4b83-a469-d6f7f8a46d81', 'name': '', 'tenant_id': '7223706a8a5e4a4283d5ed2b929fad47', 'network_id': '202a8158-15e6-4064-9522-561a9eef40d7', 'ip_version': 4, 'cidr': '86.66.3.192/26', 'allocation_pools': [{'start': '86.66.3.194', 'end': '86.66.3.254'}], 'gateway_ip': '86.66.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.66.3.194', 'tags': [], 'project_id': '7223706a8a5e4a4283d5ed2b929fad47'}} 2025-08-06 07:24:39,246 - INFO - Created VN ctest-ext_vn-38404394 2025-08-06 07:24:39,301 - DEBUG - VN ctest-ext_vn-38404394 UUID is 202a8158-15e6-4064-9522-561a9eef40d7 2025-08-06 07:24:39,468 - DEBUG - Services list from nova: [, , ] 2025-08-06 07:24:40,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3760-1) 2025-08-06 07:24:41,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3760-1) 2025-08-06 07:24:41,682 - INFO - Setting gateway for router 58f5e642-4677-4e0f-b237-2dd2f506c6b7 to network 202a8158-15e6-4064-9522-561a9eef40d7 2025-08-06 07:24:41,738 - INFO - Adding interface with subnet_id 5cdbe8f6-1ffe-4ebb-b156-b42e0784ec38, port_id None to router 58f5e642-4677-4e0f-b237-2dd2f506c6b7 2025-08-06 07:24:42,111 - INFO - Waiting for VM ctest-TestRoutersBasic-54493817-39991632 to be up.. 2025-08-06 07:24:42,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:24:47,357 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:24:47,357 - INFO - VM name : ctest-TestRoutersBasic-54493817-39991632 2025-08-06 07:24:47,442 - DEBUG - VM ctest-TestRoutersBasic-54493817-39991632 ID is ecd54f6a-f13d-47a7-85e9-2efe5ffbf88e 2025-08-06 07:24:47,462 - DEBUG - VM ctest-TestRoutersBasic-54493817-39991632 launched on Node cn-jenkins-deploy-platform-ansible-os-3760-1 2025-08-06 07:24:47,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ecd54f6a-f13d-47a7-85e9-2efe5ffbf88e 2025-08-06 07:24:47,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ecd54f6a-f13d-47a7-85e9-2efe5ffbf88e 2025-08-06 07:24:47,881 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/86da8498-c860-4baa-b360-24f1194b4789 2025-08-06 07:24:51,142 - 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 1015ms') 2025-08-06 07:24:51,142 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54493817-39991632 failed! 2025-08-06 07:24:51,201 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54493817:ctest-vn-90264861 is 88.237.7.65 and allocation pool is NOT set 2025-08-06 07:24:53,257 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.913/3.409/1.496 ms') 2025-08-06 07:24:53,257 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54493817-39991632 passed 2025-08-06 07:24:53,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:53,413 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54493817-39991632, IP 88.237.7.67, Port 22 2025-08-06 07:24:53,568 - DEBUG - VM ctest-TestRoutersBasic-54493817-39991632 is ready for SSH connections 2025-08-06 07:24:53,568 - INFO - Waiting for VM ctest-TestRoutersBasic-54493817-89060308 to be up.. 2025-08-06 07:24:53,660 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:24:53,660 - INFO - VM name : ctest-TestRoutersBasic-54493817-89060308 2025-08-06 07:24:53,743 - DEBUG - VM ctest-TestRoutersBasic-54493817-89060308 ID is 7f26ea85-89ef-445a-955c-54a38bf5cb59 2025-08-06 07:24:53,743 - DEBUG - VM ctest-TestRoutersBasic-54493817-89060308 launched on Node cn-jenkins-deploy-platform-ansible-os-3760-1 2025-08-06 07:24:53,834 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7f26ea85-89ef-445a-955c-54a38bf5cb59 2025-08-06 07:24:53,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6bfb27b1-83d6-4e0c-a5db-a405749e6905 2025-08-06 07:24:55,102 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/1.616/2.698/1.081 ms') 2025-08-06 07:24:55,102 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54493817-89060308 passed 2025-08-06 07:24:55,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:55,257 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54493817-89060308, IP 86.66.3.195, Port 22 2025-08-06 07:24:55,412 - DEBUG - VM ctest-TestRoutersBasic-54493817-89060308 is ready for SSH connections 2025-08-06 07:24:55,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:55,413 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.66.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:24:55,413 - DEBUG - ping -s 56 -c 3 -W 1 86.66.3.195 2025-08-06 07:24:59,105 - DEBUG - PING 86.66.3.195 (86.66.3.195): 56 data bytes 64 bytes from 86.66.3.195: seq=0 ttl=62 time=7.096 ms 64 bytes from 86.66.3.195: seq=1 ttl=62 time=0.995 ms 64 bytes from 86.66.3.195: seq=2 ttl=62 time=0.961 ms --- 86.66.3.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.961/3.017/7.096 ms 2025-08-06 07:24:59,105 - INFO - Ping to IP 86.66.3.195 from VM ctest-TestRoutersBasic-54493817-39991632 passed 2025-08-06 07:24:59,105 - INFO - Deleting interface with subnet_id 5cdbe8f6-1ffe-4ebb-b156-b42e0784ec38, port_id None from router 58f5e642-4677-4e0f-b237-2dd2f506c6b7 2025-08-06 07:24:59,305 - INFO - Deleting VM ctest-TestRoutersBasic-54493817-89060308 2025-08-06 07:24:59,374 - INFO - Deleting VM ctest-TestRoutersBasic-54493817-39991632 2025-08-06 07:24:59,462 - INFO - Deleting VN ctest-ext_vn-38404394 2025-08-06 07:24:59,552 - DEBUG - VN 202a8158-15e6-4064-9522-561a9eef40d7 still in use: Unable to complete operation on network 202a8158-15e6-4064-9522-561a9eef40d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2bcb7194-89f1-4a62-b442-5b56e8bd81de'] 2025-08-06 07:24:59,552 - WARNING - Deleting VN ctest-ext_vn-38404394 failed..Will retry 2025-08-06 07:25:01,662 - DEBUG - Response for deleting network () 2025-08-06 07:25:01,662 - INFO - Deleting VN ctest-vn-90264861 2025-08-06 07:25:01,785 - DEBUG - Response for deleting network () 2025-08-06 07:25:02,040 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 07:25:02,040 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-06 07:25:02,040 - INFO - -------------------------------------------------------------------------------- 2025-08-06 07:25:02,743 - INFO - Deleted project: ctest-TestRoutersBasic-54493817, ID : 7223706a-8a5e-4a42-83d5-ed2b929fad47