2025-09-14 22:37:27,152 - INFO - Domain Default found not creating 2025-09-14 22:37:27,277 - INFO - Project ctest-TestRoutersBasic-53612755 not found, creating it 2025-09-14 22:37:27,709 - INFO - Created Project:ctest-TestRoutersBasic-53612755, ID : 3bfebeae-f01d-4d63-bb2a-e05ae1af95af 2025-09-14 22:37:29,104 - INFO - ================================================================================ 2025-09-14 22:37:29,104 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-14 22:37:29,104 - 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-09-14 22:37:29,357 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-14 22:37:29,357 - INFO - Initial checks done. Running the testcase now 2025-09-14 22:37:29,357 - INFO - 2025-09-14 22:37:30,040 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53612755 2025-09-14 22:37:30,137 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53612755 2025-09-14 22:37:30,452 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53612755', 'default']} 2025-09-14 22:37:30,734 - DEBUG - Response for create_network : {'network': {'id': '503a9089-976b-458a-b1d5-478e328a693f', 'name': 'ctest-vn-60397691', 'tenant_id': '3bfebeaef01d4d63bb2ae05ae1af95af', 'project_id': '3bfebeaef01d4d63bb2ae05ae1af95af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53612755', 'ctest-vn-60397691'], 'port_security_enabled': True, 'description': ''}} 2025-09-14 22:37:30,956 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c98e5391-e819-4471-8345-c460e81ddce8', 'name': '', 'tenant_id': '3bfebeaef01d4d63bb2ae05ae1af95af', 'network_id': '503a9089-976b-458a-b1d5-478e328a693f', 'ip_version': 4, 'cidr': '170.220.119.64/26', 'allocation_pools': [{'start': '170.220.119.66', 'end': '170.220.119.126'}], 'gateway_ip': '170.220.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.220.119.66', 'tags': [], 'project_id': '3bfebeaef01d4d63bb2ae05ae1af95af'}} 2025-09-14 22:37:30,970 - INFO - Created VN ctest-vn-60397691 2025-09-14 22:37:31,020 - DEBUG - VN ctest-vn-60397691 UUID is 503a9089-976b-458a-b1d5-478e328a693f 2025-09-14 22:37:31,350 - DEBUG - Response for create_network : {'network': {'id': '82e35d18-f589-482a-9013-eb4cd2b84a12', 'name': 'ctest-ext_vn-42055958', 'tenant_id': '3bfebeaef01d4d63bb2ae05ae1af95af', 'project_id': '3bfebeaef01d4d63bb2ae05ae1af95af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53612755', 'ctest-ext_vn-42055958'], 'port_security_enabled': True, 'description': ''}} 2025-09-14 22:37:31,494 - DEBUG - Response for create_subnet : {'subnet': {'id': '798c0b25-8dd3-4c77-9e57-7c6bf35a9f87', 'name': '', 'tenant_id': '3bfebeaef01d4d63bb2ae05ae1af95af', 'network_id': '82e35d18-f589-482a-9013-eb4cd2b84a12', 'ip_version': 4, 'cidr': '162.164.213.192/26', 'allocation_pools': [{'start': '162.164.213.194', 'end': '162.164.213.254'}], 'gateway_ip': '162.164.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.164.213.194', 'tags': [], 'project_id': '3bfebeaef01d4d63bb2ae05ae1af95af'}} 2025-09-14 22:37:31,508 - INFO - Created VN ctest-ext_vn-42055958 2025-09-14 22:37:31,556 - DEBUG - VN ctest-ext_vn-42055958 UUID is 82e35d18-f589-482a-9013-eb4cd2b84a12 2025-09-14 22:37:31,746 - DEBUG - Services list from nova: [, , ] 2025-09-14 22:37:32,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4106-1) 2025-09-14 22:37:33,928 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4106-1) 2025-09-14 22:37:33,987 - INFO - Setting gateway for router 34e42555-011f-4297-a2da-7f747838839e to network 82e35d18-f589-482a-9013-eb4cd2b84a12 2025-09-14 22:37:34,033 - INFO - Adding interface with subnet_id c98e5391-e819-4471-8345-c460e81ddce8, port_id None to router 34e42555-011f-4297-a2da-7f747838839e 2025-09-14 22:37:34,405 - INFO - Waiting for VM ctest-TestRoutersBasic-53612755-04889611 to be up.. 2025-09-14 22:37:34,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-14 22:37:39,625 - DEBUG - VM is in ACTIVE state now 2025-09-14 22:37:39,625 - INFO - VM name : ctest-TestRoutersBasic-53612755-04889611 2025-09-14 22:37:39,702 - DEBUG - VM ctest-TestRoutersBasic-53612755-04889611 ID is 003378e5-96cc-40ac-ad0b-a13b11f50a1c 2025-09-14 22:37:39,722 - DEBUG - VM ctest-TestRoutersBasic-53612755-04889611 launched on Node cn-jenkins-deploy-platform-ansible-os-4106-1 2025-09-14 22:37:39,803 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/003378e5-96cc-40ac-ad0b-a13b11f50a1c 2025-09-14 22:37:40,114 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/003378e5-96cc-40ac-ad0b-a13b11f50a1c 2025-09-14 22:37:40,143 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/478b4f4d-de89-4222-892a-f783b8a55570 2025-09-14 22:37:43,394 - 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=2 ttl=63 time=11.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 11.067/11.067/11.067/0.000 ms') 2025-09-14 22:37:43,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53612755-04889611 passed 2025-09-14 22:37:43,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:37:43,537 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53612755-04889611, IP 170.220.119.67, Port 22 2025-09-14 22:37:43,602 - 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': ''} 2025-09-14 22:37:43,666 - DEBUG - VM ctest-TestRoutersBasic-53612755-04889611 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-14 22:37:48,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:37:48,666 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53612755-04889611, IP 170.220.119.67, Port 22 2025-09-14 22:37:48,847 - DEBUG - VM ctest-TestRoutersBasic-53612755-04889611 is ready for SSH connections 2025-09-14 22:37:48,847 - INFO - Waiting for VM ctest-TestRoutersBasic-53612755-31306553 to be up.. 2025-09-14 22:37:48,913 - DEBUG - VM is in ACTIVE state now 2025-09-14 22:37:48,914 - INFO - VM name : ctest-TestRoutersBasic-53612755-31306553 2025-09-14 22:37:48,974 - DEBUG - VM ctest-TestRoutersBasic-53612755-31306553 ID is e995df39-7199-49aa-9c79-6fbf2a0a3051 2025-09-14 22:37:48,975 - DEBUG - VM ctest-TestRoutersBasic-53612755-31306553 launched on Node cn-jenkins-deploy-platform-ansible-os-4106-1 2025-09-14 22:37:49,036 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e995df39-7199-49aa-9c79-6fbf2a0a3051 2025-09-14 22:37:49,044 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/37670bb4-01df-408c-a8a1-2cd440333687 2025-09-14 22:37:50,268 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.689/2.994/1.304 ms') 2025-09-14 22:37:50,268 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53612755-31306553 passed 2025-09-14 22:37:50,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:37:50,416 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53612755-31306553, IP 162.164.213.195, Port 22 2025-09-14 22:37:50,572 - DEBUG - VM ctest-TestRoutersBasic-53612755-31306553 is ready for SSH connections 2025-09-14 22:37:50,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:37:50,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.164.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-14 22:37:50,572 - DEBUG - ping -s 56 -c 3 -W 1 162.164.213.195 2025-09-14 22:37:54,557 - DEBUG - PING 162.164.213.195 (162.164.213.195): 56 data bytes 64 bytes from 162.164.213.195: seq=0 ttl=62 time=5.007 ms 64 bytes from 162.164.213.195: seq=1 ttl=62 time=0.828 ms 64 bytes from 162.164.213.195: seq=2 ttl=62 time=1.101 ms --- 162.164.213.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/2.312/5.007 ms 2025-09-14 22:37:54,558 - INFO - Ping to IP 162.164.213.195 from VM ctest-TestRoutersBasic-53612755-04889611 passed 2025-09-14 22:37:54,558 - INFO - Deleting interface with subnet_id c98e5391-e819-4471-8345-c460e81ddce8, port_id None from router 34e42555-011f-4297-a2da-7f747838839e 2025-09-14 22:37:54,728 - INFO - Deleting VM ctest-TestRoutersBasic-53612755-31306553 2025-09-14 22:37:54,795 - INFO - Deleting VM ctest-TestRoutersBasic-53612755-04889611 2025-09-14 22:37:54,872 - INFO - Deleting VN ctest-ext_vn-42055958 2025-09-14 22:37:54,936 - DEBUG - VN 82e35d18-f589-482a-9013-eb4cd2b84a12 still in use: Unable to complete operation on network 82e35d18-f589-482a-9013-eb4cd2b84a12. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13211c42-ee61-494e-933d-6e670a0273c8'] 2025-09-14 22:37:54,937 - WARNING - Deleting VN ctest-ext_vn-42055958 failed..Will retry 2025-09-14 22:37:57,026 - DEBUG - Response for deleting network () 2025-09-14 22:37:57,026 - INFO - Deleting VN ctest-vn-60397691 2025-09-14 22:37:57,111 - DEBUG - Response for deleting network () 2025-09-14 22:37:57,369 - DEBUG - No XMPP flaps were noticed during the test
2025-09-14 22:37:57,369 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-09-14 22:37:57,369 - INFO - -------------------------------------------------------------------------------- 2025-09-14 22:37:58,007 - INFO - Deleted project: ctest-TestRoutersBasic-53612755, ID : 3bfebeae-f01d-4d63-bb2a-e05ae1af95af