2026-10-30 01:08:03,390 - INFO - Domain Default found not creating 2026-10-30 01:08:03,529 - INFO - Project ctest-TestRoutersBasic-49770095 not found, creating it 2026-10-30 01:08:03,956 - INFO - Created Project:ctest-TestRoutersBasic-49770095, ID : 57d1a456-c724-4ba5-830b-1bd636adb638 2026-10-30 01:08:05,347 - INFO - ================================================================================ 2026-10-30 01:08:05,347 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-30 01:08:05,347 - 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 2026-10-30 01:08:05,605 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.25': '0'}} with 2026-10-30 01:08:05,605 - INFO - Initial checks done. Running the testcase now 2026-10-30 01:08:05,605 - INFO - 2026-10-30 01:08:06,377 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49770095 2026-10-30 01:08:06,473 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49770095 2026-10-30 01:08:06,772 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49770095', 'default']} 2026-10-30 01:08:07,044 - DEBUG - Response for create_network : {'network': {'id': '74cfcf1f-7b15-4738-ac03-da28ac68514c', 'name': 'ctest-vn-94309041', 'tenant_id': '57d1a456c7244ba5830b1bd636adb638', 'project_id': '57d1a456c7244ba5830b1bd636adb638', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49770095', 'ctest-vn-94309041'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 01:08:07,243 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e74ae2cb-8f3f-43fe-b839-697019b99c6c', 'name': '', 'tenant_id': '57d1a456c7244ba5830b1bd636adb638', 'network_id': '74cfcf1f-7b15-4738-ac03-da28ac68514c', 'ip_version': 4, 'cidr': '6.101.195.128/26', 'allocation_pools': [{'start': '6.101.195.130', 'end': '6.101.195.190'}], 'gateway_ip': '6.101.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.101.195.130', 'tags': [], 'project_id': '57d1a456c7244ba5830b1bd636adb638'}} 2026-10-30 01:08:07,256 - INFO - Created VN ctest-vn-94309041 2026-10-30 01:08:07,308 - DEBUG - VN ctest-vn-94309041 UUID is 74cfcf1f-7b15-4738-ac03-da28ac68514c 2026-10-30 01:08:07,611 - DEBUG - Response for create_network : {'network': {'id': 'b02b41ff-b004-4f60-a3e9-bd48ceb5ca4a', 'name': 'ctest-ext_vn-92344517', 'tenant_id': '57d1a456c7244ba5830b1bd636adb638', 'project_id': '57d1a456c7244ba5830b1bd636adb638', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49770095', 'ctest-ext_vn-92344517'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 01:08:07,793 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db0dcb90-b6cc-4458-b9d1-8e2ff0bb0750', 'name': '', 'tenant_id': '57d1a456c7244ba5830b1bd636adb638', 'network_id': 'b02b41ff-b004-4f60-a3e9-bd48ceb5ca4a', 'ip_version': 4, 'cidr': '200.219.125.0/26', 'allocation_pools': [{'start': '200.219.125.2', 'end': '200.219.125.62'}], 'gateway_ip': '200.219.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.219.125.2', 'tags': [], 'project_id': '57d1a456c7244ba5830b1bd636adb638'}} 2026-10-30 01:08:07,805 - INFO - Created VN ctest-ext_vn-92344517 2026-10-30 01:08:07,856 - DEBUG - VN ctest-ext_vn-92344517 UUID is b02b41ff-b004-4f60-a3e9-bd48ceb5ca4a 2026-10-30 01:08:08,026 - DEBUG - Services list from nova: [, , ] 2026-10-30 01:08:08,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6446-1) 2026-10-30 01:08:08,600 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6446-1) 2026-10-30 01:08:08,651 - INFO - Setting gateway for router eae693fc-015a-4d60-8247-c5b5a7606c7e to network b02b41ff-b004-4f60-a3e9-bd48ceb5ca4a 2026-10-30 01:08:08,694 - INFO - Adding interface with subnet_id e74ae2cb-8f3f-43fe-b839-697019b99c6c, port_id None to router eae693fc-015a-4d60-8247-c5b5a7606c7e 2026-10-30 01:08:08,878 - INFO - Waiting for VM ctest-TestRoutersBasic-49770095-32678699 to be up.. 2026-10-30 01:08:08,969 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:08:14,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:08:19,096 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:08:24,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:08:29,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:08:34,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:08:39,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 01:08:44,410 - DEBUG - VM is in ACTIVE state now 2026-10-30 01:08:44,410 - INFO - VM name : ctest-TestRoutersBasic-49770095-32678699 2026-10-30 01:08:44,464 - DEBUG - VM ctest-TestRoutersBasic-49770095-32678699 ID is 91982fbc-3f70-4a24-9d4e-d2c26ee999f3 2026-10-30 01:08:44,482 - DEBUG - VM ctest-TestRoutersBasic-49770095-32678699 launched on Node cn-jenkins-deploy-platform-ansible-os-6446-1 2026-10-30 01:08:44,556 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/91982fbc-3f70-4a24-9d4e-d2c26ee999f3 2026-10-30 01:08:44,916 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/91982fbc-3f70-4a24-9d4e-d2c26ee999f3 2026-10-30 01:08:44,940 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/c42a18ff-205c-4231-aa03-e1cb49e6a41c 2026-10-30 01:08:48,199 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-10-30 01:08:48,200 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-49770095-32678699 failed! 2026-10-30 01:08:48,253 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49770095:ctest-vn-94309041 is 6.101.195.129 and allocation pool is NOT set 2026-10-30 01:08:50,307 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.18 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.345 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.345/1.762/3.180/1.417 ms') 2026-10-30 01:08:50,307 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-49770095-32678699 passed 2026-10-30 01:08:50,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 01:08:50,449 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49770095-32678699, IP 6.101.195.131, Port 22 2026-10-30 01:08:50,608 - DEBUG - VM ctest-TestRoutersBasic-49770095-32678699 is ready for SSH connections 2026-10-30 01:08:50,608 - INFO - Waiting for VM ctest-TestRoutersBasic-49770095-01322310 to be up.. 2026-10-30 01:08:50,675 - DEBUG - VM is in ACTIVE state now 2026-10-30 01:08:50,676 - INFO - VM name : ctest-TestRoutersBasic-49770095-01322310 2026-10-30 01:08:50,753 - DEBUG - VM ctest-TestRoutersBasic-49770095-01322310 ID is cb2887ca-52c8-45e0-bcec-d55c2a4eb2ef 2026-10-30 01:08:50,753 - DEBUG - VM ctest-TestRoutersBasic-49770095-01322310 launched on Node cn-jenkins-deploy-platform-ansible-os-6446-1 2026-10-30 01:08:50,818 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/cb2887ca-52c8-45e0-bcec-d55c2a4eb2ef 2026-10-30 01:08:50,825 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/72585975-ae54-4d5a-952c-38d433fddfbb 2026-10-30 01:08:52,060 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=7.35 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.882 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.882/4.115/7.349/3.233 ms') 2026-10-30 01:08:52,060 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-49770095-01322310 passed 2026-10-30 01:08:52,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 01:08:52,205 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49770095-01322310, IP 200.219.125.4, Port 22 2026-10-30 01:08:52,263 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-30 01:08:52,319 - DEBUG - VM ctest-TestRoutersBasic-49770095-01322310 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-30 01:08:57,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 01:08:57,319 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49770095-01322310, IP 200.219.125.4, Port 22 2026-10-30 01:08:57,472 - DEBUG - VM ctest-TestRoutersBasic-49770095-01322310 is ready for SSH connections 2026-10-30 01:08:57,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 01:08:57,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.219.125.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-10-30 01:08:57,473 - DEBUG - ping -s 56 -c 3 -W 1 200.219.125.4 2026-10-30 01:09:00,296 - DEBUG - PING 200.219.125.4 (200.219.125.4): 56 data bytes 64 bytes from 200.219.125.4: seq=0 ttl=62 time=4.955 ms 64 bytes from 200.219.125.4: seq=1 ttl=62 time=0.850 ms 64 bytes from 200.219.125.4: seq=2 ttl=62 time=0.821 ms --- 200.219.125.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/2.208/4.955 ms 2026-10-30 01:09:00,296 - INFO - Ping to IP 200.219.125.4 from VM ctest-TestRoutersBasic-49770095-32678699 passed 2026-10-30 01:09:00,296 - INFO - Deleting interface with subnet_id e74ae2cb-8f3f-43fe-b839-697019b99c6c, port_id None from router eae693fc-015a-4d60-8247-c5b5a7606c7e 2026-10-30 01:09:00,465 - INFO - Deleting VM ctest-TestRoutersBasic-49770095-01322310 2026-10-30 01:09:00,533 - INFO - Deleting VM ctest-TestRoutersBasic-49770095-32678699 2026-10-30 01:09:00,594 - INFO - Deleting VN ctest-ext_vn-92344517 2026-10-30 01:09:00,645 - DEBUG - VN b02b41ff-b004-4f60-a3e9-bd48ceb5ca4a still in use: Unable to complete operation on network b02b41ff-b004-4f60-a3e9-bd48ceb5ca4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b885edf-687a-433a-bc05-8193cbdad3bd'] 2026-10-30 01:09:00,645 - WARNING - Deleting VN ctest-ext_vn-92344517 failed..Will retry 2026-10-30 01:09:02,671 - DEBUG - VN b02b41ff-b004-4f60-a3e9-bd48ceb5ca4a still in use: Unable to complete operation on network b02b41ff-b004-4f60-a3e9-bd48ceb5ca4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93669312-828c-472e-b59b-d924219a5487'] 2026-10-30 01:09:02,671 - WARNING - Deleting VN ctest-ext_vn-92344517 failed..Will retry 2026-10-30 01:09:04,757 - DEBUG - Response for deleting network () 2026-10-30 01:09:04,761 - INFO - Deleting VN ctest-vn-94309041 2026-10-30 01:09:04,834 - DEBUG - Response for deleting network () 2026-10-30 01:09:05,089 - DEBUG - No XMPP flaps were noticed during the test
2026-10-30 01:09:05,089 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-10-30 01:09:05,089 - INFO - -------------------------------------------------------------------------------- 2026-10-30 01:09:05,796 - INFO - Deleted project: ctest-TestRoutersBasic-49770095, ID : 57d1a456-c724-4ba5-830b-1bd636adb638