2025-10-20 21:30:47,926 - INFO - Domain Default found not creating
2025-10-20 21:30:48,113 - INFO - Project ctest-TestRoutersBasic-86253454 not found, creating it
2025-10-20 21:30:48,691 - INFO - Created Project:ctest-TestRoutersBasic-86253454, ID : 00730178-10c4-4908-873a-2a0d42ec8371
2025-10-20 21:30:50,241 - INFO - ================================================================================
2025-10-20 21:30:50,241 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-20 21:30:50,241 - 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-20 21:30:51,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.240': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2025-10-20 21:30:51,610 - INFO - Initial checks done. Running the testcase now
2025-10-20 21:30:51,610 - INFO -
2025-10-20 21:30:52,374 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86253454
2025-10-20 21:30:52,431 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86253454
2025-10-20 21:30:52,761 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86253454', 'default']}
2025-10-20 21:30:53,479 - DEBUG - Response for create_network : {'network': {'id': '1f57ecd6-74e8-43e6-8c92-d65d3df76051', 'name': 'ctest-vn-75540172', 'tenant_id': '0073017810c44908873a2a0d42ec8371', 'project_id': '0073017810c44908873a2a0d42ec8371', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86253454', 'ctest-vn-75540172'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 21:30:53,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '78d2146f-877d-4c89-903c-b08dca74cc44', 'name': '', 'tenant_id': '0073017810c44908873a2a0d42ec8371', 'network_id': '1f57ecd6-74e8-43e6-8c92-d65d3df76051', 'ip_version': 4, 'cidr': '56.136.144.64/26', 'allocation_pools': [{'start': '56.136.144.66', 'end': '56.136.144.126'}], 'gateway_ip': '56.136.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.136.144.66', 'tags': [], 'project_id': '0073017810c44908873a2a0d42ec8371'}}
2025-10-20 21:30:53,891 - INFO - Created VN ctest-vn-75540172
2025-10-20 21:30:53,903 - DEBUG - VN ctest-vn-75540172 UUID is 1f57ecd6-74e8-43e6-8c92-d65d3df76051
2025-10-20 21:30:54,330 - DEBUG - Response for create_network : {'network': {'id': '9e756db1-1ec7-4e40-beaf-d602a5981574', 'name': 'ctest-ext_vn-69377749', 'tenant_id': '0073017810c44908873a2a0d42ec8371', 'project_id': '0073017810c44908873a2a0d42ec8371', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86253454', 'ctest-ext_vn-69377749'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 21:30:54,589 - DEBUG - Response for create_subnet : {'subnet': {'id': '498d8bdb-aa55-4984-9602-085a84e17a3c', 'name': '', 'tenant_id': '0073017810c44908873a2a0d42ec8371', 'network_id': '9e756db1-1ec7-4e40-beaf-d602a5981574', 'ip_version': 4, 'cidr': '33.79.120.64/26', 'allocation_pools': [{'start': '33.79.120.66', 'end': '33.79.120.126'}], 'gateway_ip': '33.79.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.79.120.66', 'tags': [], 'project_id': '0073017810c44908873a2a0d42ec8371'}}
2025-10-20 21:30:54,611 - INFO - Created VN ctest-ext_vn-69377749
2025-10-20 21:30:54,623 - DEBUG - VN ctest-ext_vn-69377749 UUID is 9e756db1-1ec7-4e40-beaf-d602a5981574
2025-10-20 21:30:54,791 - DEBUG - Services list from nova: [, , , ]
2025-10-20 21:30:55,860 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4386-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4386-2)
2025-10-20 21:30:57,324 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4386-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4386-1)
2025-10-20 21:30:57,445 - INFO - Setting gateway for router 38e56cbe-b0ca-43f3-b2a0-b18e37be4af3 to network 9e756db1-1ec7-4e40-beaf-d602a5981574
2025-10-20 21:30:57,531 - INFO - Adding interface with subnet_id 78d2146f-877d-4c89-903c-b08dca74cc44, port_id None to router 38e56cbe-b0ca-43f3-b2a0-b18e37be4af3
2025-10-20 21:30:58,005 - INFO - Waiting for VM ctest-TestRoutersBasic-86253454-09758170 to be up..
2025-10-20 21:30:58,152 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-20 21:31:03,265 - DEBUG - VM is in ACTIVE state now
2025-10-20 21:31:03,265 - INFO - VM name : ctest-TestRoutersBasic-86253454-09758170
2025-10-20 21:31:03,369 - DEBUG - VM ctest-TestRoutersBasic-86253454-09758170 ID is 44683366-2274-412f-a10f-619e7979b700
2025-10-20 21:31:03,400 - DEBUG - VM ctest-TestRoutersBasic-86253454-09758170 launched on Node an-jenkins-deploy-platform-ansible-os-4386-2
2025-10-20 21:31:03,506 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/44683366-2274-412f-a10f-619e7979b700
2025-10-20 21:31:03,833 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/44683366-2274-412f-a10f-619e7979b700
2025-10-20 21:31:03,866 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/82c0b98a-b174-46b3-972c-91428b7fe7b0
2025-10-20 21:31:07,082 - 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-10-20 21:31:07,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86253454-09758170 failed!
2025-10-20 21:31:07,096 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86253454:ctest-vn-75540172 is 56.136.144.65 and allocation pool is NOT set
2025-10-20 21:31:09,156 - 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=4.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.653 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.653/2.620/4.587/1.967 ms')
2025-10-20 21:31:09,156 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86253454-09758170 passed
2025-10-20 21:31:09,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:31:09,268 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86253454-09758170, IP 56.136.144.67, Port 22
2025-10-20 21:31:09,437 - DEBUG - VM ctest-TestRoutersBasic-86253454-09758170 is ready for SSH connections
2025-10-20 21:31:09,437 - INFO - Waiting for VM ctest-TestRoutersBasic-86253454-31482240 to be up..
2025-10-20 21:31:09,539 - DEBUG - VM is in ACTIVE state now
2025-10-20 21:31:09,539 - INFO - VM name : ctest-TestRoutersBasic-86253454-31482240
2025-10-20 21:31:09,646 - DEBUG - VM ctest-TestRoutersBasic-86253454-31482240 ID is bb607672-5612-490b-adc5-ba495bdb8966
2025-10-20 21:31:09,646 - DEBUG - VM ctest-TestRoutersBasic-86253454-31482240 launched on Node an-jenkins-deploy-platform-ansible-os-4386-1
2025-10-20 21:31:09,756 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/bb607672-5612-490b-adc5-ba495bdb8966
2025-10-20 21:31:09,766 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/570db9a3-4bef-425e-8f33-ef94ad20f72b
2025-10-20 21:31:10,993 - 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=7.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.613 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.613/4.302/7.991/3.689 ms')
2025-10-20 21:31:10,993 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86253454-31482240 passed
2025-10-20 21:31:11,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:31:11,107 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86253454-31482240, IP 33.79.120.67, Port 22
2025-10-20 21:31:11,176 - 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-20 21:31:11,280 - DEBUG - VM ctest-TestRoutersBasic-86253454-31482240 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 21:31:16,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:31:16,281 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86253454-31482240, IP 33.79.120.67, Port 22
2025-10-20 21:31:16,370 - 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-20 21:31:16,481 - DEBUG - VM ctest-TestRoutersBasic-86253454-31482240 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 21:31:21,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:31:21,482 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86253454-31482240, IP 33.79.120.67, Port 22
2025-10-20 21:31:21,687 - DEBUG - VM ctest-TestRoutersBasic-86253454-31482240 is ready for SSH connections
2025-10-20 21:31:21,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:31:21,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.79.120.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2025-10-20 21:31:21,688 - DEBUG - ping -s 56 -c 3 -W 1 33.79.120.67
2025-10-20 21:31:25,351 - DEBUG - PING 33.79.120.67 (33.79.120.67): 56 data bytes
64 bytes from 33.79.120.67: seq=0 ttl=62 time=9.432 ms
64 bytes from 33.79.120.67: seq=1 ttl=62 time=1.318 ms
64 bytes from 33.79.120.67: seq=2 ttl=62 time=1.497 ms
--- 33.79.120.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.318/4.082/9.432 ms
2025-10-20 21:31:25,352 - INFO - Ping to IP 33.79.120.67 from VM ctest-TestRoutersBasic-86253454-09758170 passed
2025-10-20 21:31:25,352 - INFO - Deleting interface with subnet_id 78d2146f-877d-4c89-903c-b08dca74cc44, port_id None from router 38e56cbe-b0ca-43f3-b2a0-b18e37be4af3
2025-10-20 21:31:25,766 - INFO - Deleting VM ctest-TestRoutersBasic-86253454-31482240
2025-10-20 21:31:25,862 - INFO - Deleting VM ctest-TestRoutersBasic-86253454-09758170
2025-10-20 21:31:25,952 - INFO - Deleting VN ctest-ext_vn-69377749
2025-10-20 21:31:26,128 - DEBUG - VN 9e756db1-1ec7-4e40-beaf-d602a5981574 still in use: Unable to complete operation on network 9e756db1-1ec7-4e40-beaf-d602a5981574. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-66576494-704c-48ba-b8f0-21d6c86724b7']
2025-10-20 21:31:26,128 - WARNING - Deleting VN ctest-ext_vn-69377749 failed..Will retry
2025-10-20 21:31:28,368 - DEBUG - Response for deleting network ()
2025-10-20 21:31:28,368 - INFO - Deleting VN ctest-vn-75540172
2025-10-20 21:31:28,623 - DEBUG - Response for deleting network ()
2025-10-20 21:31:29,986 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 21:31:29,986 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:39]
2025-10-20 21:31:29,986 - INFO - --------------------------------------------------------------------------------
2025-10-20 21:31:30,814 - INFO - Deleted project: ctest-TestRoutersBasic-86253454, ID : 00730178-10c4-4908-873a-2a0d42ec8371