2026-04-07 14:31:58,739 - INFO - Domain Default found not creating 2026-04-07 14:31:58,916 - INFO - Project ctest-TestRoutersBasic-67409633 not found, creating it 2026-04-07 14:31:59,409 - INFO - Created Project:ctest-TestRoutersBasic-67409633, ID : 1b6eff58-1ceb-4170-ba3b-d41bd38c1e01 2026-04-07 14:32:01,009 - INFO - ================================================================================ 2026-04-07 14:32:01,010 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-07 14:32:01,010 - 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-04-07 14:32:01,272 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-07 14:32:01,272 - INFO - Initial checks done. Running the testcase now 2026-04-07 14:32:01,272 - INFO - 2026-04-07 14:32:01,998 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67409633 2026-04-07 14:32:02,095 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67409633 2026-04-07 14:32:02,423 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67409633', 'default']} 2026-04-07 14:32:02,721 - DEBUG - Response for create_network : {'network': {'id': '0b29f040-280c-4271-99bf-24a0ea1791bd', 'name': 'ctest-vn-63228692', 'tenant_id': '1b6eff581ceb4170ba3bd41bd38c1e01', 'project_id': '1b6eff581ceb4170ba3bd41bd38c1e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67409633', 'ctest-vn-63228692'], 'port_security_enabled': True, 'description': ''}} 2026-04-07 14:32:02,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c1228c7-b8fc-4d89-8cec-0e6e513bc8c5', 'name': '', 'tenant_id': '1b6eff581ceb4170ba3bd41bd38c1e01', 'network_id': '0b29f040-280c-4271-99bf-24a0ea1791bd', 'ip_version': 4, 'cidr': '158.86.48.64/26', 'allocation_pools': [{'start': '158.86.48.66', 'end': '158.86.48.126'}], 'gateway_ip': '158.86.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.86.48.66', 'tags': [], 'project_id': '1b6eff581ceb4170ba3bd41bd38c1e01'}} 2026-04-07 14:32:02,930 - INFO - Created VN ctest-vn-63228692 2026-04-07 14:32:02,983 - DEBUG - VN ctest-vn-63228692 UUID is 0b29f040-280c-4271-99bf-24a0ea1791bd 2026-04-07 14:32:03,352 - DEBUG - Response for create_network : {'network': {'id': 'b50385f9-498b-457f-b986-5f83dce8887e', 'name': 'ctest-ext_vn-64825765', 'tenant_id': '1b6eff581ceb4170ba3bd41bd38c1e01', 'project_id': '1b6eff581ceb4170ba3bd41bd38c1e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67409633', 'ctest-ext_vn-64825765'], 'port_security_enabled': True, 'description': ''}} 2026-04-07 14:32:03,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '80e475db-fe31-4534-87c0-344a057bcbac', 'name': '', 'tenant_id': '1b6eff581ceb4170ba3bd41bd38c1e01', 'network_id': 'b50385f9-498b-457f-b986-5f83dce8887e', 'ip_version': 4, 'cidr': '48.185.3.0/26', 'allocation_pools': [{'start': '48.185.3.2', 'end': '48.185.3.62'}], 'gateway_ip': '48.185.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.185.3.2', 'tags': [], 'project_id': '1b6eff581ceb4170ba3bd41bd38c1e01'}} 2026-04-07 14:32:03,518 - INFO - Created VN ctest-ext_vn-64825765 2026-04-07 14:32:03,571 - DEBUG - VN ctest-ext_vn-64825765 UUID is b50385f9-498b-457f-b986-5f83dce8887e 2026-04-07 14:32:03,739 - DEBUG - Services list from nova: [, , ] 2026-04-07 14:32:04,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5598-1) 2026-04-07 14:32:05,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5598-1) 2026-04-07 14:32:06,013 - INFO - Setting gateway for router 5d6fe410-dda6-4a6c-b549-cb7c62848939 to network b50385f9-498b-457f-b986-5f83dce8887e 2026-04-07 14:32:06,092 - INFO - Adding interface with subnet_id 4c1228c7-b8fc-4d89-8cec-0e6e513bc8c5, port_id None to router 5d6fe410-dda6-4a6c-b549-cb7c62848939 2026-04-07 14:32:06,428 - INFO - Waiting for VM ctest-TestRoutersBasic-67409633-25078998 to be up.. 2026-04-07 14:32:06,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-07 14:32:11,708 - DEBUG - VM is in ACTIVE state now 2026-04-07 14:32:11,708 - INFO - VM name : ctest-TestRoutersBasic-67409633-25078998 2026-04-07 14:32:11,829 - DEBUG - VM ctest-TestRoutersBasic-67409633-25078998 ID is 1a880bc2-81cc-4b3e-92ea-b3407e60fdc4 2026-04-07 14:32:11,852 - DEBUG - VM ctest-TestRoutersBasic-67409633-25078998 launched on Node cn-jenkins-deploy-platform-ansible-os-5598-1 2026-04-07 14:32:12,006 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a880bc2-81cc-4b3e-92ea-b3407e60fdc4 2026-04-07 14:32:12,357 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a880bc2-81cc-4b3e-92ea-b3407e60fdc4 2026-04-07 14:32:12,394 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/63c92168-ba54-4879-a5f3-f2083b4db6a7 2026-04-07 14:32:15,668 - 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 1035ms') 2026-04-07 14:32:15,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67409633-25078998 failed! 2026-04-07 14:32:15,723 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67409633:ctest-vn-63228692 is 158.86.48.65 and allocation pool is NOT set 2026-04-07 14:32:17,797 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.61 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.612/3.049/4.486/1.437 ms') 2026-04-07 14:32:17,797 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67409633-25078998 passed 2026-04-07 14:32:17,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-07 14:32:17,915 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67409633-25078998, IP 158.86.48.67, Port 22 2026-04-07 14:32:17,984 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-07 14:32:18,073 - DEBUG - VM ctest-TestRoutersBasic-67409633-25078998 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-07 14:32:23,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-07 14:32:23,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67409633-25078998, IP 158.86.48.67, Port 22 2026-04-07 14:32:23,253 - DEBUG - VM ctest-TestRoutersBasic-67409633-25078998 is ready for SSH connections 2026-04-07 14:32:23,253 - INFO - Waiting for VM ctest-TestRoutersBasic-67409633-49440272 to be up.. 2026-04-07 14:32:23,337 - DEBUG - VM is in ACTIVE state now 2026-04-07 14:32:23,337 - INFO - VM name : ctest-TestRoutersBasic-67409633-49440272 2026-04-07 14:32:23,422 - DEBUG - VM ctest-TestRoutersBasic-67409633-49440272 ID is a9a06419-4dfc-42b0-9ad3-d08f35a4bc89 2026-04-07 14:32:23,422 - DEBUG - VM ctest-TestRoutersBasic-67409633-49440272 launched on Node cn-jenkins-deploy-platform-ansible-os-5598-1 2026-04-07 14:32:23,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a9a06419-4dfc-42b0-9ad3-d08f35a4bc89 2026-04-07 14:32:23,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3e38c36d-7b98-436e-a4d7-4dfc081d7a16 2026-04-07 14:32:24,747 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.450/1.595/2.741/1.145 ms') 2026-04-07 14:32:24,747 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67409633-49440272 passed 2026-04-07 14:32:24,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-07 14:32:24,899 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67409633-49440272, IP 48.185.3.3, Port 22 2026-04-07 14:32:25,054 - DEBUG - VM ctest-TestRoutersBasic-67409633-49440272 is ready for SSH connections 2026-04-07 14:32:25,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-07 14:32:25,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.185.3.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-07 14:32:25,055 - DEBUG - ping -s 56 -c 3 -W 1 48.185.3.3 2026-04-07 14:32:28,771 - DEBUG - PING 48.185.3.3 (48.185.3.3): 56 data bytes 64 bytes from 48.185.3.3: seq=0 ttl=62 time=6.544 ms 64 bytes from 48.185.3.3: seq=1 ttl=62 time=1.043 ms 64 bytes from 48.185.3.3: seq=2 ttl=62 time=0.969 ms --- 48.185.3.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/2.852/6.544 ms 2026-04-07 14:32:28,771 - INFO - Ping to IP 48.185.3.3 from VM ctest-TestRoutersBasic-67409633-25078998 passed 2026-04-07 14:32:28,771 - INFO - Deleting interface with subnet_id 4c1228c7-b8fc-4d89-8cec-0e6e513bc8c5, port_id None from router 5d6fe410-dda6-4a6c-b549-cb7c62848939 2026-04-07 14:32:28,985 - INFO - Deleting VM ctest-TestRoutersBasic-67409633-49440272 2026-04-07 14:32:29,063 - INFO - Deleting VM ctest-TestRoutersBasic-67409633-25078998 2026-04-07 14:32:29,152 - INFO - Deleting VN ctest-ext_vn-64825765 2026-04-07 14:32:29,221 - DEBUG - VN b50385f9-498b-457f-b986-5f83dce8887e still in use: Unable to complete operation on network b50385f9-498b-457f-b986-5f83dce8887e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-56173d93-1a7d-406d-a60f-3a9ac3b52fe1'] 2026-04-07 14:32:29,221 - WARNING - Deleting VN ctest-ext_vn-64825765 failed..Will retry 2026-04-07 14:32:31,312 - DEBUG - Response for deleting network () 2026-04-07 14:32:31,312 - INFO - Deleting VN ctest-vn-63228692 2026-04-07 14:32:31,416 - DEBUG - Response for deleting network () 2026-04-07 14:32:31,674 - DEBUG - No XMPP flaps were noticed during the test 2026-04-07 14:32:31,674 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-04-07 14:32:31,675 - INFO - -------------------------------------------------------------------------------- 2026-04-07 14:32:32,372 - INFO - Deleted project: ctest-TestRoutersBasic-67409633, ID : 1b6eff58-1ceb-4170-ba3b-d41bd38c1e01