2025-06-11 06:12:55,163 - INFO - Domain Default found not creating
2025-06-11 06:12:55,306 - INFO - Project ctest-TestRoutersBasic-65347851 not found, creating it
2025-06-11 06:12:55,766 - INFO - Created Project:ctest-TestRoutersBasic-65347851, ID : 6ae623b8-c8e3-48af-afba-bcdd1a02bcf8
2025-06-11 06:12:57,294 - INFO - ================================================================================
2025-06-11 06:12:57,294 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-11 06:12:57,294 - 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-06-11 06:12:57,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with
2025-06-11 06:12:57,550 - INFO - Initial checks done. Running the testcase now
2025-06-11 06:12:57,550 - INFO -
2025-06-11 06:12:58,332 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65347851
2025-06-11 06:12:58,427 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65347851
2025-06-11 06:12:58,743 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65347851', 'default']}
2025-06-11 06:12:59,040 - DEBUG - Response for create_network : {'network': {'id': 'f842f284-b66f-43bd-abb9-eeb61d09bf3a', 'name': 'ctest-vn-48642754', 'tenant_id': '6ae623b8c8e348afafbabcdd1a02bcf8', 'project_id': '6ae623b8c8e348afafbabcdd1a02bcf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65347851', 'ctest-vn-48642754'], 'port_security_enabled': True, 'description': ''}}
2025-06-11 06:12:59,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fce8419-1184-4488-b798-8ff588eb4e52', 'name': '', 'tenant_id': '6ae623b8c8e348afafbabcdd1a02bcf8', 'network_id': 'f842f284-b66f-43bd-abb9-eeb61d09bf3a', 'ip_version': 4, 'cidr': '150.162.249.192/26', 'allocation_pools': [{'start': '150.162.249.194', 'end': '150.162.249.254'}], 'gateway_ip': '150.162.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.162.249.194', 'tags': [], 'project_id': '6ae623b8c8e348afafbabcdd1a02bcf8'}}
2025-06-11 06:12:59,205 - INFO - Created VN ctest-vn-48642754
2025-06-11 06:12:59,259 - DEBUG - VN ctest-vn-48642754 UUID is f842f284-b66f-43bd-abb9-eeb61d09bf3a
2025-06-11 06:12:59,577 - DEBUG - Response for create_network : {'network': {'id': '42ed9ea7-f68c-405d-baee-4bbce41b4b4c', 'name': 'ctest-ext_vn-34373276', 'tenant_id': '6ae623b8c8e348afafbabcdd1a02bcf8', 'project_id': '6ae623b8c8e348afafbabcdd1a02bcf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65347851', 'ctest-ext_vn-34373276'], 'port_security_enabled': True, 'description': ''}}
2025-06-11 06:12:59,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '30cacc25-ab14-4fca-ac2c-614c80ee580a', 'name': '', 'tenant_id': '6ae623b8c8e348afafbabcdd1a02bcf8', 'network_id': '42ed9ea7-f68c-405d-baee-4bbce41b4b4c', 'ip_version': 4, 'cidr': '92.132.111.0/26', 'allocation_pools': [{'start': '92.132.111.2', 'end': '92.132.111.62'}], 'gateway_ip': '92.132.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.132.111.2', 'tags': [], 'project_id': '6ae623b8c8e348afafbabcdd1a02bcf8'}}
2025-06-11 06:12:59,795 - INFO - Created VN ctest-ext_vn-34373276
2025-06-11 06:12:59,847 - DEBUG - VN ctest-ext_vn-34373276 UUID is 42ed9ea7-f68c-405d-baee-4bbce41b4b4c
2025-06-11 06:13:00,011 - DEBUG - Services list from nova: [, , ]
2025-06-11 06:13:01,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3441-1)
2025-06-11 06:13:02,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3441-1)
2025-06-11 06:13:02,412 - INFO - Setting gateway for router d5556b00-9b27-41d3-a13a-4d4c5d221fc5 to network 42ed9ea7-f68c-405d-baee-4bbce41b4b4c
2025-06-11 06:13:02,472 - INFO - Adding interface with subnet_id 2fce8419-1184-4488-b798-8ff588eb4e52, port_id None to router d5556b00-9b27-41d3-a13a-4d4c5d221fc5
2025-06-11 06:13:03,044 - INFO - Waiting for VM ctest-TestRoutersBasic-65347851-26076200 to be up..
2025-06-11 06:13:03,235 - DEBUG - VM is in ACTIVE state now
2025-06-11 06:13:03,235 - INFO - VM name : ctest-TestRoutersBasic-65347851-26076200
2025-06-11 06:13:03,381 - DEBUG - VM ctest-TestRoutersBasic-65347851-26076200 ID is a9593208-1b36-4572-9b4d-cbcdd991d19f
2025-06-11 06:13:03,403 - DEBUG - VM ctest-TestRoutersBasic-65347851-26076200 launched on Node cn-jenkins-deploy-platform-ansible-os-3441-1
2025-06-11 06:13:03,505 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a9593208-1b36-4572-9b4d-cbcdd991d19f
2025-06-11 06:13:03,870 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a9593208-1b36-4572-9b4d-cbcdd991d19f
2025-06-11 06:13:03,924 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6de50b05-a46a-44d6-8fef-10b3dae6491d
2025-06-11 06:13:07,294 - 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 1003ms')
2025-06-11 06:13:07,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65347851-26076200 failed!
2025-06-11 06:13:07,355 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65347851:ctest-vn-48642754 is 150.162.249.193 and allocation pool is NOT set
2025-06-11 06:13:11,430 - 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 1014ms')
2025-06-11 06:13:11,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65347851-26076200 failed!
2025-06-11 06:13:11,487 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65347851:ctest-vn-48642754 is 150.162.249.193 and allocation pool is NOT set
2025-06-11 06:13:13,549 - 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=5.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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 = 2.117/3.883/5.649/1.766 ms')
2025-06-11 06:13:13,549 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65347851-26076200 passed
2025-06-11 06:13:13,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-11 06:13:13,699 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65347851-26076200, IP 150.162.249.195, Port 22
2025-06-11 06:13:13,759 - 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-06-11 06:13:13,841 - DEBUG - VM ctest-TestRoutersBasic-65347851-26076200 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-11 06:13:18,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-11 06:13:18,842 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65347851-26076200, IP 150.162.249.195, Port 22
2025-06-11 06:13:19,009 - DEBUG - VM ctest-TestRoutersBasic-65347851-26076200 is ready for SSH connections
2025-06-11 06:13:19,009 - INFO - Waiting for VM ctest-TestRoutersBasic-65347851-46660074 to be up..
2025-06-11 06:13:19,088 - DEBUG - VM is in ACTIVE state now
2025-06-11 06:13:19,088 - INFO - VM name : ctest-TestRoutersBasic-65347851-46660074
2025-06-11 06:13:19,170 - DEBUG - VM ctest-TestRoutersBasic-65347851-46660074 ID is 0b451470-5c57-49de-b233-2f3e8e5cecb8
2025-06-11 06:13:19,170 - DEBUG - VM ctest-TestRoutersBasic-65347851-46660074 launched on Node cn-jenkins-deploy-platform-ansible-os-3441-1
2025-06-11 06:13:19,252 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/0b451470-5c57-49de-b233-2f3e8e5cecb8
2025-06-11 06:13:19,262 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/bfe21762-2d60-4ed4-b803-2bc6fd37afec
2025-06-11 06:13:20,511 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.672/2.944/1.271 ms')
2025-06-11 06:13:20,511 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65347851-46660074 passed
2025-06-11 06:13:20,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-11 06:13:20,667 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65347851-46660074, IP 92.132.111.3, Port 22
2025-06-11 06:13:20,832 - DEBUG - VM ctest-TestRoutersBasic-65347851-46660074 is ready for SSH connections
2025-06-11 06:13:20,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-11 06:13:20,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.132.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-06-11 06:13:20,833 - DEBUG - ping -s 56 -c 3 -W 1 92.132.111.3
2025-06-11 06:13:24,910 - DEBUG - PING 92.132.111.3 (92.132.111.3): 56 data bytes
64 bytes from 92.132.111.3: seq=0 ttl=62 time=4.838 ms
64 bytes from 92.132.111.3: seq=1 ttl=62 time=1.006 ms
64 bytes from 92.132.111.3: seq=2 ttl=62 time=1.686 ms
--- 92.132.111.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.006/2.510/4.838 ms
2025-06-11 06:13:24,910 - INFO - Ping to IP 92.132.111.3 from VM ctest-TestRoutersBasic-65347851-26076200 passed
2025-06-11 06:13:24,910 - INFO - Deleting interface with subnet_id 2fce8419-1184-4488-b798-8ff588eb4e52, port_id None from router d5556b00-9b27-41d3-a13a-4d4c5d221fc5
2025-06-11 06:13:25,134 - INFO - Deleting VM ctest-TestRoutersBasic-65347851-46660074
2025-06-11 06:13:25,211 - INFO - Deleting VM ctest-TestRoutersBasic-65347851-26076200
2025-06-11 06:13:25,319 - INFO - Deleting VN ctest-ext_vn-34373276
2025-06-11 06:13:25,392 - DEBUG - VN 42ed9ea7-f68c-405d-baee-4bbce41b4b4c still in use: Unable to complete operation on network 42ed9ea7-f68c-405d-baee-4bbce41b4b4c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1471714a-b863-405c-9d9a-b5558b768402']
2025-06-11 06:13:25,393 - WARNING - Deleting VN ctest-ext_vn-34373276 failed..Will retry
2025-06-11 06:13:27,510 - DEBUG - Response for deleting network ()
2025-06-11 06:13:27,511 - INFO - Deleting VN ctest-vn-48642754
2025-06-11 06:13:27,642 - DEBUG - Response for deleting network ()
2025-06-11 06:13:27,897 - DEBUG - No XMPP flaps were noticed during the test
2025-06-11 06:13:27,897 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-06-11 06:13:27,897 - INFO - --------------------------------------------------------------------------------
2025-06-11 06:13:28,658 - INFO - Deleted project: ctest-TestRoutersBasic-65347851, ID : 6ae623b8-c8e3-48af-afba-bcdd1a02bcf8