2025-08-06 14:53:29,017 - INFO - Domain Default found not creating 2025-08-06 14:53:29,161 - INFO - Project ctest-TestRoutersBasic-60989648 not found, creating it 2025-08-06 14:53:29,729 - INFO - Created Project:ctest-TestRoutersBasic-60989648, ID : bb27cf8c-2f1d-4092-8829-a0d66f046619 2025-08-06 14:53:31,225 - INFO - ================================================================================ 2025-08-06 14:53:31,225 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-06 14:53:31,226 - 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 14:53:32,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.57': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2025-08-06 14:53:32,521 - INFO - Initial checks done. Running the testcase now 2025-08-06 14:53:32,521 - INFO - 2025-08-06 14:53:33,298 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60989648 2025-08-06 14:53:33,372 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60989648 2025-08-06 14:53:33,714 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60989648', 'default']} 2025-08-06 14:53:34,163 - DEBUG - Response for create_network : {'network': {'id': 'ce980934-20e4-4863-a222-4538e36c9387', 'name': 'ctest-vn-40886558', 'tenant_id': 'bb27cf8c2f1d40928829a0d66f046619', 'project_id': 'bb27cf8c2f1d40928829a0d66f046619', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60989648', 'ctest-vn-40886558'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 14:53:34,435 - DEBUG - Response for create_subnet : {'subnet': {'id': '168a2d6f-645c-4b1b-8c08-fcdf64c3385a', 'name': '', 'tenant_id': 'bb27cf8c2f1d40928829a0d66f046619', 'network_id': 'ce980934-20e4-4863-a222-4538e36c9387', 'ip_version': 4, 'cidr': '33.32.4.64/26', 'allocation_pools': [{'start': '33.32.4.66', 'end': '33.32.4.126'}], 'gateway_ip': '33.32.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.32.4.66', 'tags': [], 'project_id': 'bb27cf8c2f1d40928829a0d66f046619'}} 2025-08-06 14:53:34,458 - INFO - Created VN ctest-vn-40886558 2025-08-06 14:53:34,470 - DEBUG - VN ctest-vn-40886558 UUID is ce980934-20e4-4863-a222-4538e36c9387 2025-08-06 14:53:34,886 - DEBUG - Response for create_network : {'network': {'id': '4c306146-4e51-44d5-8d72-615afe555131', 'name': 'ctest-ext_vn-66487935', 'tenant_id': 'bb27cf8c2f1d40928829a0d66f046619', 'project_id': 'bb27cf8c2f1d40928829a0d66f046619', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60989648', 'ctest-ext_vn-66487935'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 14:53:35,131 - DEBUG - Response for create_subnet : {'subnet': {'id': '2295e601-8307-477e-8612-8acad0f0053b', 'name': '', 'tenant_id': 'bb27cf8c2f1d40928829a0d66f046619', 'network_id': '4c306146-4e51-44d5-8d72-615afe555131', 'ip_version': 4, 'cidr': '140.122.229.128/26', 'allocation_pools': [{'start': '140.122.229.130', 'end': '140.122.229.190'}], 'gateway_ip': '140.122.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.122.229.130', 'tags': [], 'project_id': 'bb27cf8c2f1d40928829a0d66f046619'}} 2025-08-06 14:53:35,153 - INFO - Created VN ctest-ext_vn-66487935 2025-08-06 14:53:35,165 - DEBUG - VN ctest-ext_vn-66487935 UUID is 4c306146-4e51-44d5-8d72-615afe555131 2025-08-06 14:53:35,375 - DEBUG - Services list from nova: [, , , ] 2025-08-06 14:53:36,438 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-1) 2025-08-06 14:53:37,964 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-2) 2025-08-06 14:53:38,082 - INFO - Setting gateway for router 4ea38432-9ca3-4912-8ec6-cf9c3a0824a7 to network 4c306146-4e51-44d5-8d72-615afe555131 2025-08-06 14:53:38,182 - INFO - Adding interface with subnet_id 168a2d6f-645c-4b1b-8c08-fcdf64c3385a, port_id None to router 4ea38432-9ca3-4912-8ec6-cf9c3a0824a7 2025-08-06 14:53:38,633 - INFO - Waiting for VM ctest-TestRoutersBasic-60989648-50308504 to be up.. 2025-08-06 14:53:38,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 14:53:43,934 - DEBUG - VM is in ACTIVE state now 2025-08-06 14:53:43,934 - INFO - VM name : ctest-TestRoutersBasic-60989648-50308504 2025-08-06 14:53:44,015 - DEBUG - VM ctest-TestRoutersBasic-60989648-50308504 ID is f4dbdeb1-da58-4cc9-abf5-a17712f2b99c 2025-08-06 14:53:44,040 - DEBUG - VM ctest-TestRoutersBasic-60989648-50308504 launched on Node an-jenkins-deploy-platform-ansible-os-3763-1 2025-08-06 14:53:44,122 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f4dbdeb1-da58-4cc9-abf5-a17712f2b99c 2025-08-06 14:53:44,420 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f4dbdeb1-da58-4cc9-abf5-a17712f2b99c 2025-08-06 14:53:44,450 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5ca3a757-7516-4372-a4e9-f9a41d14bf69 2025-08-06 14:53:47,665 - 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 1005ms') 2025-08-06 14:53:47,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60989648-50308504 failed! 2025-08-06 14:53:47,679 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60989648:ctest-vn-40886558 is 33.32.4.65 and allocation pool is NOT set 2025-08-06 14:53:49,743 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/2.005/3.542/1.536 ms') 2025-08-06 14:53:49,743 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60989648-50308504 passed 2025-08-06 14:53:49,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:53:49,856 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60989648-50308504, IP 33.32.4.67, Port 22 2025-08-06 14:53:50,030 - DEBUG - VM ctest-TestRoutersBasic-60989648-50308504 is ready for SSH connections 2025-08-06 14:53:50,030 - INFO - Waiting for VM ctest-TestRoutersBasic-60989648-96409060 to be up.. 2025-08-06 14:53:50,159 - DEBUG - VM is in ACTIVE state now 2025-08-06 14:53:50,160 - INFO - VM name : ctest-TestRoutersBasic-60989648-96409060 2025-08-06 14:53:50,259 - DEBUG - VM ctest-TestRoutersBasic-60989648-96409060 ID is d282a88c-4618-4498-b55e-2a8e249765b5 2025-08-06 14:53:50,259 - DEBUG - VM ctest-TestRoutersBasic-60989648-96409060 launched on Node an-jenkins-deploy-platform-ansible-os-3763-2 2025-08-06 14:53:50,338 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d282a88c-4618-4498-b55e-2a8e249765b5 2025-08-06 14:53:50,350 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/eb1e7a22-96a8-4e28-9ba8-b34cc9ed2da2 2025-08-06 14:53:51,583 - 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=12.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.43 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 = 3.433/8.066/12.699/4.633 ms') 2025-08-06 14:53:51,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60989648-96409060 passed 2025-08-06 14:53:51,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:53:51,696 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60989648-96409060, IP 140.122.229.131, Port 22 2025-08-06 14:53:51,870 - DEBUG - VM ctest-TestRoutersBasic-60989648-96409060 is ready for SSH connections 2025-08-06 14:53:51,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:53:51,870 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.122.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 14:53:51,870 - DEBUG - ping -s 56 -c 3 -W 1 140.122.229.131 2025-08-06 14:53:55,832 - DEBUG - PING 140.122.229.131 (140.122.229.131): 56 data bytes 64 bytes from 140.122.229.131: seq=0 ttl=62 time=7.903 ms 64 bytes from 140.122.229.131: seq=1 ttl=62 time=1.516 ms 64 bytes from 140.122.229.131: seq=2 ttl=62 time=1.242 ms --- 140.122.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.242/3.553/7.903 ms 2025-08-06 14:53:55,832 - INFO - Ping to IP 140.122.229.131 from VM ctest-TestRoutersBasic-60989648-50308504 passed 2025-08-06 14:53:55,832 - INFO - Deleting interface with subnet_id 168a2d6f-645c-4b1b-8c08-fcdf64c3385a, port_id None from router 4ea38432-9ca3-4912-8ec6-cf9c3a0824a7 2025-08-06 14:53:56,136 - INFO - Deleting VM ctest-TestRoutersBasic-60989648-96409060 2025-08-06 14:53:56,252 - INFO - Deleting VM ctest-TestRoutersBasic-60989648-50308504 2025-08-06 14:53:56,348 - INFO - Deleting VN ctest-ext_vn-66487935 2025-08-06 14:53:56,453 - DEBUG - VN 4c306146-4e51-44d5-8d72-615afe555131 still in use: Unable to complete operation on network 4c306146-4e51-44d5-8d72-615afe555131. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88aa9203-e194-4c5f-a5fc-08dcb97ba3d8'] 2025-08-06 14:53:56,453 - WARNING - Deleting VN ctest-ext_vn-66487935 failed..Will retry 2025-08-06 14:53:58,606 - DEBUG - Response for deleting network () 2025-08-06 14:53:58,606 - INFO - Deleting VN ctest-vn-40886558 2025-08-06 14:53:58,771 - DEBUG - Response for deleting network () 2025-08-06 14:54:00,047 - DEBUG - No XMPP flaps were noticed during the test 2025-08-06 14:54:00,047 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-08-06 14:54:00,047 - INFO - -------------------------------------------------------------------------------- 2025-08-06 14:54:00,803 - INFO - Deleted project: ctest-TestRoutersBasic-60989648, ID : bb27cf8c-2f1d-4092-8829-a0d66f046619