2025-10-30 10:20:33,863 - INFO - Domain Default found not creating
2025-10-30 10:20:34,030 - INFO - Project ctest-TestRoutersBasic-20244567 not found, creating it
2025-10-30 10:20:34,587 - INFO - Created Project:ctest-TestRoutersBasic-20244567, ID : 8dec2747-48f8-4a5a-a8cb-581a22fa582c
2025-10-30 10:20:36,168 - INFO - ================================================================================
2025-10-30 10:20:36,168 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-30 10:20:36,168 - 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-30 10:20:37,453 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.131': '0', '10.20.0.128': '0'}, '10.0.0.27': {'10.20.0.145': '0', '10.20.0.128': '0'}} with
2025-10-30 10:20:37,453 - INFO - Initial checks done. Running the testcase now
2025-10-30 10:20:37,453 - INFO -
2025-10-30 10:20:38,240 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20244567
2025-10-30 10:20:38,305 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20244567
2025-10-30 10:20:38,665 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20244567', 'default']}
2025-10-30 10:20:39,121 - DEBUG - Response for create_network : {'network': {'id': '89da4346-a0b4-49b5-ba3a-c01de9157563', 'name': 'ctest-vn-48525941', 'tenant_id': '8dec274748f84a5aa8cb581a22fa582c', 'project_id': '8dec274748f84a5aa8cb581a22fa582c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20244567', 'ctest-vn-48525941'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 10:20:39,441 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f695a2c5-f0b2-479c-9444-2580fc2762ad', 'name': '', 'tenant_id': '8dec274748f84a5aa8cb581a22fa582c', 'network_id': '89da4346-a0b4-49b5-ba3a-c01de9157563', 'ip_version': 4, 'cidr': '211.164.15.0/26', 'allocation_pools': [{'start': '211.164.15.2', 'end': '211.164.15.62'}], 'gateway_ip': '211.164.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.164.15.2', 'tags': [], 'project_id': '8dec274748f84a5aa8cb581a22fa582c'}}
2025-10-30 10:20:39,465 - INFO - Created VN ctest-vn-48525941
2025-10-30 10:20:39,478 - DEBUG - VN ctest-vn-48525941 UUID is 89da4346-a0b4-49b5-ba3a-c01de9157563
2025-10-30 10:20:39,931 - DEBUG - Response for create_network : {'network': {'id': '0e6b7e55-0957-46de-abc4-c56073c54455', 'name': 'ctest-ext_vn-09413314', 'tenant_id': '8dec274748f84a5aa8cb581a22fa582c', 'project_id': '8dec274748f84a5aa8cb581a22fa582c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20244567', 'ctest-ext_vn-09413314'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 10:20:40,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '99b8030b-ff95-4bce-a535-4a7bf4e00dd5', 'name': '', 'tenant_id': '8dec274748f84a5aa8cb581a22fa582c', 'network_id': '0e6b7e55-0957-46de-abc4-c56073c54455', 'ip_version': 4, 'cidr': '210.116.62.192/26', 'allocation_pools': [{'start': '210.116.62.194', 'end': '210.116.62.254'}], 'gateway_ip': '210.116.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.116.62.194', 'tags': [], 'project_id': '8dec274748f84a5aa8cb581a22fa582c'}}
2025-10-30 10:20:40,258 - INFO - Created VN ctest-ext_vn-09413314
2025-10-30 10:20:40,278 - DEBUG - VN ctest-ext_vn-09413314 UUID is 0e6b7e55-0957-46de-abc4-c56073c54455
2025-10-30 10:20:40,438 - DEBUG - Services list from nova: [, , , ]
2025-10-30 10:20:41,589 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4541-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4541-1)
2025-10-30 10:20:43,077 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4541-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4541-2)
2025-10-30 10:20:43,212 - INFO - Setting gateway for router e60f4ad6-a8d8-47c9-99a8-93b4c180f2f5 to network 0e6b7e55-0957-46de-abc4-c56073c54455
2025-10-30 10:20:43,330 - INFO - Adding interface with subnet_id f695a2c5-f0b2-479c-9444-2580fc2762ad, port_id None to router e60f4ad6-a8d8-47c9-99a8-93b4c180f2f5
2025-10-30 10:20:43,962 - INFO - Waiting for VM ctest-TestRoutersBasic-20244567-87253777 to be up..
2025-10-30 10:20:44,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 10:20:49,264 - DEBUG - VM is in ACTIVE state now
2025-10-30 10:20:49,265 - INFO - VM name : ctest-TestRoutersBasic-20244567-87253777
2025-10-30 10:20:49,355 - DEBUG - VM ctest-TestRoutersBasic-20244567-87253777 ID is 23580303-552c-40f7-bb46-3dbe7dee22b4
2025-10-30 10:20:49,385 - DEBUG - VM ctest-TestRoutersBasic-20244567-87253777 launched on Node an-jenkins-deploy-platform-ansible-os-4541-1
2025-10-30 10:20:49,474 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/23580303-552c-40f7-bb46-3dbe7dee22b4
2025-10-30 10:20:49,789 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/23580303-552c-40f7-bb46-3dbe7dee22b4
2025-10-30 10:20:49,829 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f181ba13-006c-4c88-b2c6-92ba507895da
2025-10-30 10:20:53,027 - 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 1018ms')
2025-10-30 10:20:53,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20244567-87253777 failed!
2025-10-30 10:20:53,046 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20244567:ctest-vn-48525941 is 211.164.15.1 and allocation pool is NOT set
2025-10-30 10:20:55,107 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.20 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 = 2.196/3.795/5.395/1.599 ms')
2025-10-30 10:20:55,107 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20244567-87253777 passed
2025-10-30 10:20:55,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 10:20:55,180 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20244567-87253777, IP 211.164.15.3, Port 22
2025-10-30 10:20:55,349 - DEBUG - VM ctest-TestRoutersBasic-20244567-87253777 is ready for SSH connections
2025-10-30 10:20:55,349 - INFO - Waiting for VM ctest-TestRoutersBasic-20244567-11340993 to be up..
2025-10-30 10:20:55,443 - DEBUG - VM is in ACTIVE state now
2025-10-30 10:20:55,443 - INFO - VM name : ctest-TestRoutersBasic-20244567-11340993
2025-10-30 10:20:55,536 - DEBUG - VM ctest-TestRoutersBasic-20244567-11340993 ID is 2e86caa0-a3cd-4ea1-b7b8-3cff4eaea43e
2025-10-30 10:20:55,536 - DEBUG - VM ctest-TestRoutersBasic-20244567-11340993 launched on Node an-jenkins-deploy-platform-ansible-os-4541-2
2025-10-30 10:20:55,637 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2e86caa0-a3cd-4ea1-b7b8-3cff4eaea43e
2025-10-30 10:20:55,649 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/6574302d-a289-422a-8fd6-8c68a1d42821
2025-10-30 10:20:56,809 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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 = 0.448/2.889/5.331/2.441 ms')
2025-10-30 10:20:56,809 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20244567-11340993 passed
2025-10-30 10:20:56,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 10:20:56,877 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20244567-11340993, IP 210.116.62.195, Port 22
2025-10-30 10:20:57,034 - DEBUG - VM ctest-TestRoutersBasic-20244567-11340993 is ready for SSH connections
2025-10-30 10:20:57,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 10:20:57,034 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.116.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-10-30 10:20:57,034 - DEBUG - ping -s 56 -c 3 -W 1 210.116.62.195
2025-10-30 10:21:00,744 - DEBUG - PING 210.116.62.195 (210.116.62.195): 56 data bytes
64 bytes from 210.116.62.195: seq=0 ttl=62 time=10.608 ms
64 bytes from 210.116.62.195: seq=1 ttl=62 time=1.405 ms
64 bytes from 210.116.62.195: seq=2 ttl=62 time=1.660 ms
--- 210.116.62.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.405/4.557/10.608 ms
2025-10-30 10:21:00,744 - INFO - Ping to IP 210.116.62.195 from VM ctest-TestRoutersBasic-20244567-87253777 passed
2025-10-30 10:21:00,744 - INFO - Deleting interface with subnet_id f695a2c5-f0b2-479c-9444-2580fc2762ad, port_id None from router e60f4ad6-a8d8-47c9-99a8-93b4c180f2f5
2025-10-30 10:21:01,122 - INFO - Deleting VM ctest-TestRoutersBasic-20244567-11340993
2025-10-30 10:21:01,218 - INFO - Deleting VM ctest-TestRoutersBasic-20244567-87253777
2025-10-30 10:21:01,353 - INFO - Deleting VN ctest-ext_vn-09413314
2025-10-30 10:21:01,472 - DEBUG - VN 0e6b7e55-0957-46de-abc4-c56073c54455 still in use: Unable to complete operation on network 0e6b7e55-0957-46de-abc4-c56073c54455. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-85015df9-6c4d-4d55-b177-458beac1992f']
2025-10-30 10:21:01,473 - WARNING - Deleting VN ctest-ext_vn-09413314 failed..Will retry
2025-10-30 10:21:03,693 - DEBUG - Response for deleting network ()
2025-10-30 10:21:03,693 - INFO - Deleting VN ctest-vn-48525941
2025-10-30 10:21:03,885 - DEBUG - Response for deleting network ()
2025-10-30 10:21:05,207 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 10:21:05,207 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-10-30 10:21:05,207 - INFO - --------------------------------------------------------------------------------
2025-10-30 10:21:05,984 - INFO - Deleted project: ctest-TestRoutersBasic-20244567, ID : 8dec2747-48f8-4a5a-a8cb-581a22fa582c