2025-10-27 09:03:35,652 - INFO - Domain Default found not creating
2025-10-27 09:03:35,815 - INFO - Project ctest-TestRoutersBasic-00466842 not found, creating it
2025-10-27 09:03:36,322 - INFO - Created Project:ctest-TestRoutersBasic-00466842, ID : 15bbfa7d-ffb1-4a49-9a29-ffa45d5d62c8
2025-10-27 09:03:38,014 - INFO - ================================================================================
2025-10-27 09:03:38,014 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-27 09:03:38,014 - 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-10-27 09:03:38,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2025-10-27 09:03:38,275 - INFO - Initial checks done. Running the testcase now
2025-10-27 09:03:38,275 - INFO -
2025-10-27 09:03:39,085 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00466842
2025-10-27 09:03:39,184 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00466842
2025-10-27 09:03:39,520 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00466842', 'default']}
2025-10-27 09:03:39,849 - DEBUG - Response for create_network : {'network': {'id': '7d4f39d5-82bb-4f79-b09d-54abda5288e7', 'name': 'ctest-vn-48643167', 'tenant_id': '15bbfa7dffb14a499a29ffa45d5d62c8', 'project_id': '15bbfa7dffb14a499a29ffa45d5d62c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00466842', 'ctest-vn-48643167'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 09:03:40,096 - DEBUG - Response for create_subnet : {'subnet': {'id': '73152f30-2b7c-4703-b413-615b088fc48f', 'name': '', 'tenant_id': '15bbfa7dffb14a499a29ffa45d5d62c8', 'network_id': '7d4f39d5-82bb-4f79-b09d-54abda5288e7', 'ip_version': 4, 'cidr': '162.196.93.0/26', 'allocation_pools': [{'start': '162.196.93.2', 'end': '162.196.93.62'}], 'gateway_ip': '162.196.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.196.93.2', 'tags': [], 'project_id': '15bbfa7dffb14a499a29ffa45d5d62c8'}}
2025-10-27 09:03:40,119 - INFO - Created VN ctest-vn-48643167
2025-10-27 09:03:40,172 - DEBUG - VN ctest-vn-48643167 UUID is 7d4f39d5-82bb-4f79-b09d-54abda5288e7
2025-10-27 09:03:40,528 - DEBUG - Response for create_network : {'network': {'id': 'd89ab5c0-758a-4667-bb57-c5a8140c56ef', 'name': 'ctest-ext_vn-26058280', 'tenant_id': '15bbfa7dffb14a499a29ffa45d5d62c8', 'project_id': '15bbfa7dffb14a499a29ffa45d5d62c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00466842', 'ctest-ext_vn-26058280'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 09:03:40,706 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ceaa587-68cc-418d-8574-5eadb50d1755', 'name': '', 'tenant_id': '15bbfa7dffb14a499a29ffa45d5d62c8', 'network_id': 'd89ab5c0-758a-4667-bb57-c5a8140c56ef', 'ip_version': 4, 'cidr': '80.235.90.192/26', 'allocation_pools': [{'start': '80.235.90.194', 'end': '80.235.90.254'}], 'gateway_ip': '80.235.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.235.90.194', 'tags': [], 'project_id': '15bbfa7dffb14a499a29ffa45d5d62c8'}}
2025-10-27 09:03:40,728 - INFO - Created VN ctest-ext_vn-26058280
2025-10-27 09:03:40,780 - DEBUG - VN ctest-ext_vn-26058280 UUID is d89ab5c0-758a-4667-bb57-c5a8140c56ef
2025-10-27 09:03:40,974 - DEBUG - Services list from nova: [, , ]
2025-10-27 09:03:42,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4496-1)
2025-10-27 09:03:43,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4496-1)
2025-10-27 09:03:43,713 - INFO - Setting gateway for router b567aaba-a91f-414b-83ad-528b32356595 to network d89ab5c0-758a-4667-bb57-c5a8140c56ef
2025-10-27 09:03:43,797 - INFO - Adding interface with subnet_id 73152f30-2b7c-4703-b413-615b088fc48f, port_id None to router b567aaba-a91f-414b-83ad-528b32356595
2025-10-27 09:03:44,204 - INFO - Waiting for VM ctest-TestRoutersBasic-00466842-91693964 to be up..
2025-10-27 09:03:44,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 09:03:49,476 - DEBUG - VM is in ACTIVE state now
2025-10-27 09:03:49,476 - INFO - VM name : ctest-TestRoutersBasic-00466842-91693964
2025-10-27 09:03:49,559 - DEBUG - VM ctest-TestRoutersBasic-00466842-91693964 ID is acb95cd0-cc30-4f5a-97fb-47682ce56cf2
2025-10-27 09:03:49,580 - DEBUG - VM ctest-TestRoutersBasic-00466842-91693964 launched on Node cn-jenkins-deploy-platform-ansible-os-4496-1
2025-10-27 09:03:49,659 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/acb95cd0-cc30-4f5a-97fb-47682ce56cf2
2025-10-27 09:03:49,996 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/acb95cd0-cc30-4f5a-97fb-47682ce56cf2
2025-10-27 09:03:50,031 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a71dd502-4096-4d6d-8cf6-4411b8624069
2025-10-27 09:03:53,287 - 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-10-27 09:03:53,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00466842-91693964 failed!
2025-10-27 09:03:53,348 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00466842:ctest-vn-48643167 is 162.196.93.1 and allocation pool is NOT set
2025-10-27 09:03:55,422 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.44 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 = 3.407/3.421/3.435/0.014 ms')
2025-10-27 09:03:55,423 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00466842-91693964 passed
2025-10-27 09:03:55,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:03:55,577 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00466842-91693964, IP 162.196.93.3, Port 22
2025-10-27 09:03:55,643 - 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-10-27 09:03:55,748 - DEBUG - VM ctest-TestRoutersBasic-00466842-91693964 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-27 09:04:00,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:04:00,749 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00466842-91693964, IP 162.196.93.3, Port 22
2025-10-27 09:04:00,927 - DEBUG - VM ctest-TestRoutersBasic-00466842-91693964 is ready for SSH connections
2025-10-27 09:04:00,927 - INFO - Waiting for VM ctest-TestRoutersBasic-00466842-55436145 to be up..
2025-10-27 09:04:01,020 - DEBUG - VM is in ACTIVE state now
2025-10-27 09:04:01,020 - INFO - VM name : ctest-TestRoutersBasic-00466842-55436145
2025-10-27 09:04:01,110 - DEBUG - VM ctest-TestRoutersBasic-00466842-55436145 ID is d7b236d3-ffab-4df9-820a-2e9eefd1cad4
2025-10-27 09:04:01,110 - DEBUG - VM ctest-TestRoutersBasic-00466842-55436145 launched on Node cn-jenkins-deploy-platform-ansible-os-4496-1
2025-10-27 09:04:01,212 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d7b236d3-ffab-4df9-820a-2e9eefd1cad4
2025-10-27 09:04:01,224 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5b13dac1-ee53-4b35-9031-580f33a25b31
2025-10-27 09:04:02,482 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/2.544/4.607/2.063 ms')
2025-10-27 09:04:02,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00466842-55436145 passed
2025-10-27 09:04:02,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:04:02,637 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00466842-55436145, IP 80.235.90.195, Port 22
2025-10-27 09:04:02,806 - DEBUG - VM ctest-TestRoutersBasic-00466842-55436145 is ready for SSH connections
2025-10-27 09:04:02,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 09:04:02,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.235.90.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-27 09:04:02,807 - DEBUG - ping -s 56 -c 3 -W 1 80.235.90.195
2025-10-27 09:04:06,657 - DEBUG - PING 80.235.90.195 (80.235.90.195): 56 data bytes
64 bytes from 80.235.90.195: seq=0 ttl=62 time=8.976 ms
64 bytes from 80.235.90.195: seq=1 ttl=62 time=1.128 ms
64 bytes from 80.235.90.195: seq=2 ttl=62 time=1.469 ms
--- 80.235.90.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.128/3.857/8.976 ms
2025-10-27 09:04:06,658 - INFO - Ping to IP 80.235.90.195 from VM ctest-TestRoutersBasic-00466842-91693964 passed
2025-10-27 09:04:06,658 - INFO - Deleting interface with subnet_id 73152f30-2b7c-4703-b413-615b088fc48f, port_id None from router b567aaba-a91f-414b-83ad-528b32356595
2025-10-27 09:04:06,903 - INFO - Deleting VM ctest-TestRoutersBasic-00466842-55436145
2025-10-27 09:04:06,996 - INFO - Deleting VM ctest-TestRoutersBasic-00466842-91693964
2025-10-27 09:04:07,089 - INFO - Deleting VN ctest-ext_vn-26058280
2025-10-27 09:04:07,217 - DEBUG - VN d89ab5c0-758a-4667-bb57-c5a8140c56ef still in use: Unable to complete operation on network d89ab5c0-758a-4667-bb57-c5a8140c56ef. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e68b31b2-99a8-4e8c-8f8a-f490cb011b15']
2025-10-27 09:04:07,218 - WARNING - Deleting VN ctest-ext_vn-26058280 failed..Will retry
2025-10-27 09:04:09,355 - DEBUG - Response for deleting network ()
2025-10-27 09:04:09,355 - INFO - Deleting VN ctest-vn-48643167
2025-10-27 09:04:09,500 - DEBUG - Response for deleting network ()
2025-10-27 09:04:09,760 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 09:04:09,760 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-27 09:04:09,760 - INFO - --------------------------------------------------------------------------------
2025-10-27 09:04:10,556 - INFO - Deleted project: ctest-TestRoutersBasic-00466842, ID : 15bbfa7d-ffb1-4a49-9a29-ffa45d5d62c8