2025-11-02 16:25:12,536 - INFO - Domain Default found not creating
2025-11-02 16:25:12,703 - INFO - Project ctest-TestRoutersBasic-19973327 not found, creating it
2025-11-02 16:25:13,206 - INFO - Created Project:ctest-TestRoutersBasic-19973327, ID : 607fe510-44e0-4136-9700-4de81cdef3b0
2025-11-02 16:25:14,934 - INFO - ================================================================================
2025-11-02 16:25:14,934 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-02 16:25:14,934 - 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-11-02 16:25:15,201 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-11-02 16:25:15,201 - INFO - Initial checks done. Running the testcase now
2025-11-02 16:25:15,201 - INFO -
2025-11-02 16:25:16,065 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19973327
2025-11-02 16:25:16,164 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19973327
2025-11-02 16:25:16,496 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19973327', 'default']}
2025-11-02 16:25:16,821 - DEBUG - Response for create_network : {'network': {'id': '1d940ece-31cb-4572-90b7-acc65fee2846', 'name': 'ctest-vn-49088565', 'tenant_id': '607fe51044e0413697004de81cdef3b0', 'project_id': '607fe51044e0413697004de81cdef3b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19973327', 'ctest-vn-49088565'], 'port_security_enabled': True, 'description': ''}}
2025-11-02 16:25:17,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '96afdda1-4d79-48f8-8987-1f269367147f', 'name': '', 'tenant_id': '607fe51044e0413697004de81cdef3b0', 'network_id': '1d940ece-31cb-4572-90b7-acc65fee2846', 'ip_version': 4, 'cidr': '157.7.137.0/26', 'allocation_pools': [{'start': '157.7.137.2', 'end': '157.7.137.62'}], 'gateway_ip': '157.7.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.7.137.2', 'tags': [], 'project_id': '607fe51044e0413697004de81cdef3b0'}}
2025-11-02 16:25:17,073 - INFO - Created VN ctest-vn-49088565
2025-11-02 16:25:17,124 - DEBUG - VN ctest-vn-49088565 UUID is 1d940ece-31cb-4572-90b7-acc65fee2846
2025-11-02 16:25:17,430 - DEBUG - Response for create_network : {'network': {'id': '5dcde42a-0c15-4438-a7f7-70d096e74510', 'name': 'ctest-ext_vn-62603477', 'tenant_id': '607fe51044e0413697004de81cdef3b0', 'project_id': '607fe51044e0413697004de81cdef3b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19973327', 'ctest-ext_vn-62603477'], 'port_security_enabled': True, 'description': ''}}
2025-11-02 16:25:17,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '37684305-efc9-423e-8082-2245222c531d', 'name': '', 'tenant_id': '607fe51044e0413697004de81cdef3b0', 'network_id': '5dcde42a-0c15-4438-a7f7-70d096e74510', 'ip_version': 4, 'cidr': '208.216.208.128/26', 'allocation_pools': [{'start': '208.216.208.130', 'end': '208.216.208.190'}], 'gateway_ip': '208.216.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.216.208.130', 'tags': [], 'project_id': '607fe51044e0413697004de81cdef3b0'}}
2025-11-02 16:25:17,640 - INFO - Created VN ctest-ext_vn-62603477
2025-11-02 16:25:17,692 - DEBUG - VN ctest-ext_vn-62603477 UUID is 5dcde42a-0c15-4438-a7f7-70d096e74510
2025-11-02 16:25:17,867 - DEBUG - Services list from nova: [, , ]
2025-11-02 16:25:18,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4594-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4594-1)
2025-11-02 16:25:20,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4594-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4594-1)
2025-11-02 16:25:20,318 - INFO - Setting gateway for router 3d693283-4909-4591-8053-5e2991ab38e6 to network 5dcde42a-0c15-4438-a7f7-70d096e74510
2025-11-02 16:25:20,383 - INFO - Adding interface with subnet_id 96afdda1-4d79-48f8-8987-1f269367147f, port_id None to router 3d693283-4909-4591-8053-5e2991ab38e6
2025-11-02 16:25:20,750 - INFO - Waiting for VM ctest-TestRoutersBasic-19973327-00799034 to be up..
2025-11-02 16:25:20,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-02 16:25:25,960 - DEBUG - VM is in ACTIVE state now
2025-11-02 16:25:25,960 - INFO - VM name : ctest-TestRoutersBasic-19973327-00799034
2025-11-02 16:25:26,049 - DEBUG - VM ctest-TestRoutersBasic-19973327-00799034 ID is e2af2383-7b3e-4117-8017-9bfae9545609
2025-11-02 16:25:26,077 - DEBUG - VM ctest-TestRoutersBasic-19973327-00799034 launched on Node cn-jenkins-deploy-platform-ansible-os-4594-1
2025-11-02 16:25:26,169 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e2af2383-7b3e-4117-8017-9bfae9545609
2025-11-02 16:25:26,503 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e2af2383-7b3e-4117-8017-9bfae9545609
2025-11-02 16:25:26,543 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/caf2f664-2b54-4a56-ab0f-408e9d570c6c
2025-11-02 16:25:29,788 - 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 1010ms')
2025-11-02 16:25:29,788 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19973327-00799034 failed!
2025-11-02 16:25:29,844 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19973327:ctest-vn-49088565 is 157.7.137.1 and allocation pool is NOT set
2025-11-02 16:25:31,902 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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 = 0.452/2.010/3.568/1.558 ms')
2025-11-02 16:25:31,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19973327-00799034 passed
2025-11-02 16:25:32,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:25:32,056 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19973327-00799034, IP 157.7.137.3, Port 22
2025-11-02 16:25:32,214 - DEBUG - VM ctest-TestRoutersBasic-19973327-00799034 is ready for SSH connections
2025-11-02 16:25:32,214 - INFO - Waiting for VM ctest-TestRoutersBasic-19973327-43246710 to be up..
2025-11-02 16:25:32,296 - DEBUG - VM is in ACTIVE state now
2025-11-02 16:25:32,297 - INFO - VM name : ctest-TestRoutersBasic-19973327-43246710
2025-11-02 16:25:32,374 - DEBUG - VM ctest-TestRoutersBasic-19973327-43246710 ID is 0207ac99-59a7-40ed-a408-b7c667bd15f3
2025-11-02 16:25:32,374 - DEBUG - VM ctest-TestRoutersBasic-19973327-43246710 launched on Node cn-jenkins-deploy-platform-ansible-os-4594-1
2025-11-02 16:25:32,449 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0207ac99-59a7-40ed-a408-b7c667bd15f3
2025-11-02 16:25:32,458 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/568b68ff-1cad-4afe-b1ce-e4daa9e9fcfb
2025-11-02 16:25:33,699 - 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=4.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.953 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.953/2.614/4.275/1.661 ms')
2025-11-02 16:25:33,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19973327-43246710 passed
2025-11-02 16:25:33,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:25:33,852 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19973327-43246710, IP 208.216.208.131, Port 22
2025-11-02 16:25:33,908 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-02 16:25:33,984 - DEBUG - VM ctest-TestRoutersBasic-19973327-43246710 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-02 16:25:38,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:25:38,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19973327-43246710, IP 208.216.208.131, Port 22
2025-11-02 16:25:39,140 - DEBUG - VM ctest-TestRoutersBasic-19973327-43246710 is ready for SSH connections
2025-11-02 16:25:39,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:25:39,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.216.208.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-11-02 16:25:39,140 - DEBUG - ping -s 56 -c 3 -W 1 208.216.208.131
2025-11-02 16:25:42,876 - DEBUG - PING 208.216.208.131 (208.216.208.131): 56 data bytes
64 bytes from 208.216.208.131: seq=0 ttl=62 time=7.586 ms
64 bytes from 208.216.208.131: seq=1 ttl=62 time=1.100 ms
64 bytes from 208.216.208.131: seq=2 ttl=62 time=0.985 ms
--- 208.216.208.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.985/3.223/7.586 ms
2025-11-02 16:25:42,876 - INFO - Ping to IP 208.216.208.131 from VM ctest-TestRoutersBasic-19973327-00799034 passed
2025-11-02 16:25:42,876 - INFO - Deleting interface with subnet_id 96afdda1-4d79-48f8-8987-1f269367147f, port_id None from router 3d693283-4909-4591-8053-5e2991ab38e6
2025-11-02 16:25:43,078 - INFO - Deleting VM ctest-TestRoutersBasic-19973327-43246710
2025-11-02 16:25:43,149 - INFO - Deleting VM ctest-TestRoutersBasic-19973327-00799034
2025-11-02 16:25:43,234 - INFO - Deleting VN ctest-ext_vn-62603477
2025-11-02 16:25:43,308 - DEBUG - VN 5dcde42a-0c15-4438-a7f7-70d096e74510 still in use: Unable to complete operation on network 5dcde42a-0c15-4438-a7f7-70d096e74510. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-318d619c-4278-4afa-98db-2cf71a18630b']
2025-11-02 16:25:43,309 - WARNING - Deleting VN ctest-ext_vn-62603477 failed..Will retry
2025-11-02 16:25:45,432 - DEBUG - Response for deleting network ()
2025-11-02 16:25:45,432 - INFO - Deleting VN ctest-vn-49088565
2025-11-02 16:25:45,542 - DEBUG - Response for deleting network ()
2025-11-02 16:25:45,799 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 16:25:45,800 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-11-02 16:25:45,800 - INFO - --------------------------------------------------------------------------------
2025-11-02 16:25:46,553 - INFO - Deleted project: ctest-TestRoutersBasic-19973327, ID : 607fe510-44e0-4136-9700-4de81cdef3b0