2025-08-25 02:14:54,176 - INFO - Domain Default found not creating
2025-08-25 02:14:54,375 - INFO - Project ctest-TestRoutersBasic-69747455 not found, creating it
2025-08-25 02:14:54,949 - INFO - Created Project:ctest-TestRoutersBasic-69747455, ID : 3943299f-6ac2-40e5-a74c-541ad5fc1be3
2025-08-25 02:14:56,547 - INFO - ================================================================================
2025-08-25 02:14:56,547 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-25 02:14:56,548 - 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-08-25 02:14:56,806 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0'}} with
2025-08-25 02:14:56,807 - INFO - Initial checks done. Running the testcase now
2025-08-25 02:14:56,807 - INFO -
2025-08-25 02:14:57,565 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69747455
2025-08-25 02:14:57,671 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69747455
2025-08-25 02:14:58,031 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69747455', 'default']}
2025-08-25 02:14:58,409 - DEBUG - Response for create_network : {'network': {'id': '8bc48f8c-52e8-43ac-84e9-7e31f97d8ec9', 'name': 'ctest-vn-76006680', 'tenant_id': '3943299f6ac240e5a74c541ad5fc1be3', 'project_id': '3943299f6ac240e5a74c541ad5fc1be3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69747455', 'ctest-vn-76006680'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 02:14:58,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '48c79e4c-fb27-4d5f-9d4c-7672c937788b', 'name': '', 'tenant_id': '3943299f6ac240e5a74c541ad5fc1be3', 'network_id': '8bc48f8c-52e8-43ac-84e9-7e31f97d8ec9', 'ip_version': 4, 'cidr': '32.93.105.64/26', 'allocation_pools': [{'start': '32.93.105.66', 'end': '32.93.105.126'}], 'gateway_ip': '32.93.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.93.105.66', 'tags': [], 'project_id': '3943299f6ac240e5a74c541ad5fc1be3'}}
2025-08-25 02:14:58,722 - INFO - Created VN ctest-vn-76006680
2025-08-25 02:14:58,779 - DEBUG - VN ctest-vn-76006680 UUID is 8bc48f8c-52e8-43ac-84e9-7e31f97d8ec9
2025-08-25 02:14:59,249 - DEBUG - Response for create_network : {'network': {'id': '5d989947-a269-4852-a403-0708cdbcc0b1', 'name': 'ctest-ext_vn-94294219', 'tenant_id': '3943299f6ac240e5a74c541ad5fc1be3', 'project_id': '3943299f6ac240e5a74c541ad5fc1be3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69747455', 'ctest-ext_vn-94294219'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 02:14:59,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '5950ac3b-5e1b-4cd3-a51e-064dcd4f012b', 'name': '', 'tenant_id': '3943299f6ac240e5a74c541ad5fc1be3', 'network_id': '5d989947-a269-4852-a403-0708cdbcc0b1', 'ip_version': 4, 'cidr': '63.109.165.0/26', 'allocation_pools': [{'start': '63.109.165.2', 'end': '63.109.165.62'}], 'gateway_ip': '63.109.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.109.165.2', 'tags': [], 'project_id': '3943299f6ac240e5a74c541ad5fc1be3'}}
2025-08-25 02:14:59,546 - INFO - Created VN ctest-ext_vn-94294219
2025-08-25 02:14:59,603 - DEBUG - VN ctest-ext_vn-94294219 UUID is 5d989947-a269-4852-a403-0708cdbcc0b1
2025-08-25 02:14:59,818 - DEBUG - Services list from nova: [, , ]
2025-08-25 02:15:01,066 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3916-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3916-1)
2025-08-25 02:15:02,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3916-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3916-1)
2025-08-25 02:15:02,818 - INFO - Setting gateway for router 7a369af5-3983-48c3-ba36-9c77aff2d37f to network 5d989947-a269-4852-a403-0708cdbcc0b1
2025-08-25 02:15:02,933 - INFO - Adding interface with subnet_id 48c79e4c-fb27-4d5f-9d4c-7672c937788b, port_id None to router 7a369af5-3983-48c3-ba36-9c77aff2d37f
2025-08-25 02:15:04,014 - INFO - Waiting for VM ctest-TestRoutersBasic-69747455-64009223 to be up..
2025-08-25 02:15:04,216 - DEBUG - VM is in ACTIVE state now
2025-08-25 02:15:04,216 - INFO - VM name : ctest-TestRoutersBasic-69747455-64009223
2025-08-25 02:15:04,349 - DEBUG - VM ctest-TestRoutersBasic-69747455-64009223 ID is 5d378b74-5338-4017-b6e6-21e9881a812f
2025-08-25 02:15:04,371 - DEBUG - VM ctest-TestRoutersBasic-69747455-64009223 launched on Node cn-jenkins-deploy-platform-ansible-os-3916-1
2025-08-25 02:15:04,499 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5d378b74-5338-4017-b6e6-21e9881a812f
2025-08-25 02:15:04,955 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5d378b74-5338-4017-b6e6-21e9881a812f
2025-08-25 02:15:05,028 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/32e09cc6-cde5-4b98-b819-46e5c9bcd7a8
2025-08-25 02:15:08,372 - 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 1009ms')
2025-08-25 02:15:08,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69747455-64009223 failed!
2025-08-25 02:15:08,435 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69747455:ctest-vn-76006680 is 32.93.105.65 and allocation pool is NOT set
2025-08-25 02:15:12,501 - 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 1006ms')
2025-08-25 02:15:12,502 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69747455-64009223 failed!
2025-08-25 02:15:12,564 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69747455:ctest-vn-76006680 is 32.93.105.65 and allocation pool is NOT set
2025-08-25 02:15:14,635 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.50 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.498/3.995/5.492/1.497 ms')
2025-08-25 02:15:14,635 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69747455-64009223 passed
2025-08-25 02:15:14,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 02:15:14,812 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69747455-64009223, IP 32.93.105.67, Port 22
2025-08-25 02:15:14,868 - 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-08-25 02:15:14,975 - DEBUG - VM ctest-TestRoutersBasic-69747455-64009223 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-25 02:15:19,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 02:15:19,976 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69747455-64009223, IP 32.93.105.67, Port 22
2025-08-25 02:15:20,132 - DEBUG - VM ctest-TestRoutersBasic-69747455-64009223 is ready for SSH connections
2025-08-25 02:15:20,132 - INFO - Waiting for VM ctest-TestRoutersBasic-69747455-53760061 to be up..
2025-08-25 02:15:20,229 - DEBUG - VM is in ACTIVE state now
2025-08-25 02:15:20,229 - INFO - VM name : ctest-TestRoutersBasic-69747455-53760061
2025-08-25 02:15:20,316 - DEBUG - VM ctest-TestRoutersBasic-69747455-53760061 ID is 825d7623-2b41-4fc4-bc14-d90adabfa001
2025-08-25 02:15:20,316 - DEBUG - VM ctest-TestRoutersBasic-69747455-53760061 launched on Node cn-jenkins-deploy-platform-ansible-os-3916-1
2025-08-25 02:15:20,410 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/825d7623-2b41-4fc4-bc14-d90adabfa001
2025-08-25 02:15:20,420 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/664b7772-d6aa-4a26-8057-2c5f53edfed8
2025-08-25 02:15:21,686 - 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=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/1.870/3.213/1.342 ms')
2025-08-25 02:15:21,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69747455-53760061 passed
2025-08-25 02:15:21,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 02:15:21,848 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69747455-53760061, IP 63.109.165.3, Port 22
2025-08-25 02:15:22,007 - DEBUG - VM ctest-TestRoutersBasic-69747455-53760061 is ready for SSH connections
2025-08-25 02:15:22,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 02:15:22,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.109.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-08-25 02:15:22,007 - DEBUG - ping -s 56 -c 3 -W 1 63.109.165.3
2025-08-25 02:15:25,749 - DEBUG - PING 63.109.165.3 (63.109.165.3): 56 data bytes
64 bytes from 63.109.165.3: seq=0 ttl=62 time=6.419 ms
64 bytes from 63.109.165.3: seq=1 ttl=62 time=0.939 ms
64 bytes from 63.109.165.3: seq=2 ttl=62 time=1.244 ms
--- 63.109.165.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.939/2.867/6.419 ms
2025-08-25 02:15:25,749 - INFO - Ping to IP 63.109.165.3 from VM ctest-TestRoutersBasic-69747455-64009223 passed
2025-08-25 02:15:25,749 - INFO - Deleting interface with subnet_id 48c79e4c-fb27-4d5f-9d4c-7672c937788b, port_id None from router 7a369af5-3983-48c3-ba36-9c77aff2d37f
2025-08-25 02:15:26,067 - INFO - Deleting VM ctest-TestRoutersBasic-69747455-53760061
2025-08-25 02:15:26,185 - INFO - Deleting VM ctest-TestRoutersBasic-69747455-64009223
2025-08-25 02:15:26,287 - INFO - Deleting VN ctest-ext_vn-94294219
2025-08-25 02:15:26,414 - DEBUG - VN 5d989947-a269-4852-a403-0708cdbcc0b1 still in use: Unable to complete operation on network 5d989947-a269-4852-a403-0708cdbcc0b1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0897a153-66f6-484d-9cc5-eb9c100ae058']
2025-08-25 02:15:26,415 - WARNING - Deleting VN ctest-ext_vn-94294219 failed..Will retry
2025-08-25 02:15:28,564 - DEBUG - Response for deleting network ()
2025-08-25 02:15:28,564 - INFO - Deleting VN ctest-vn-76006680
2025-08-25 02:15:28,716 - DEBUG - Response for deleting network ()
2025-08-25 02:15:28,988 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 02:15:28,988 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-08-25 02:15:28,988 - INFO - --------------------------------------------------------------------------------
2025-08-25 02:15:29,702 - INFO - Deleted project: ctest-TestRoutersBasic-69747455, ID : 3943299f-6ac2-40e5-a74c-541ad5fc1be3