2025-08-13 15:23:52,579 - INFO - Domain Default found not creating
2025-08-13 15:23:52,708 - INFO - Project ctest-TestRoutersBasic-03922003 not found, creating it
2025-08-13 15:23:53,137 - INFO - Created Project:ctest-TestRoutersBasic-03922003, ID : cd91a1c4-29a5-4ad5-b545-e21d5104df21
2025-08-13 15:23:54,493 - INFO - ================================================================================
2025-08-13 15:23:54,493 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-13 15:23:54,493 - 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-13 15:23:54,754 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.254': '0'}} with
2025-08-13 15:23:54,754 - INFO - Initial checks done. Running the testcase now
2025-08-13 15:23:54,754 - INFO -
2025-08-13 15:23:55,470 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03922003
2025-08-13 15:23:55,565 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03922003
2025-08-13 15:23:55,892 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03922003', 'default']}
2025-08-13 15:23:56,173 - DEBUG - Response for create_network : {'network': {'id': '94b7070e-9022-40f6-b7ee-3b657a2fd1e7', 'name': 'ctest-vn-46461530', 'tenant_id': 'cd91a1c429a54ad5b545e21d5104df21', 'project_id': 'cd91a1c429a54ad5b545e21d5104df21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03922003', 'ctest-vn-46461530'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 15:23:56,346 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9bbc364-882b-4461-8d2a-4ea57bb616da', 'name': '', 'tenant_id': 'cd91a1c429a54ad5b545e21d5104df21', 'network_id': '94b7070e-9022-40f6-b7ee-3b657a2fd1e7', 'ip_version': 4, 'cidr': '96.78.145.128/26', 'allocation_pools': [{'start': '96.78.145.130', 'end': '96.78.145.190'}], 'gateway_ip': '96.78.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.78.145.130', 'tags': [], 'project_id': 'cd91a1c429a54ad5b545e21d5104df21'}}
2025-08-13 15:23:56,365 - INFO - Created VN ctest-vn-46461530
2025-08-13 15:23:56,417 - DEBUG - VN ctest-vn-46461530 UUID is 94b7070e-9022-40f6-b7ee-3b657a2fd1e7
2025-08-13 15:23:56,750 - DEBUG - Response for create_network : {'network': {'id': '44b35bc5-5c82-47ff-922a-9bcfca8f78bc', 'name': 'ctest-ext_vn-72086135', 'tenant_id': 'cd91a1c429a54ad5b545e21d5104df21', 'project_id': 'cd91a1c429a54ad5b545e21d5104df21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03922003', 'ctest-ext_vn-72086135'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 15:23:56,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '72f7e2c4-196a-4ea3-a672-c1fc5d2a5a57', 'name': '', 'tenant_id': 'cd91a1c429a54ad5b545e21d5104df21', 'network_id': '44b35bc5-5c82-47ff-922a-9bcfca8f78bc', 'ip_version': 4, 'cidr': '205.168.198.192/26', 'allocation_pools': [{'start': '205.168.198.194', 'end': '205.168.198.254'}], 'gateway_ip': '205.168.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.168.198.194', 'tags': [], 'project_id': 'cd91a1c429a54ad5b545e21d5104df21'}}
2025-08-13 15:23:56,978 - INFO - Created VN ctest-ext_vn-72086135
2025-08-13 15:23:57,037 - DEBUG - VN ctest-ext_vn-72086135 UUID is 44b35bc5-5c82-47ff-922a-9bcfca8f78bc
2025-08-13 15:23:57,197 - DEBUG - Services list from nova: [, , ]
2025-08-13 15:23:58,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3840-1)
2025-08-13 15:23:59,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3840-1)
2025-08-13 15:23:59,401 - INFO - Setting gateway for router d4e319b2-4649-448b-8db4-7ce80b86eb30 to network 44b35bc5-5c82-47ff-922a-9bcfca8f78bc
2025-08-13 15:23:59,481 - INFO - Adding interface with subnet_id e9bbc364-882b-4461-8d2a-4ea57bb616da, port_id None to router d4e319b2-4649-448b-8db4-7ce80b86eb30
2025-08-13 15:23:59,884 - INFO - Waiting for VM ctest-TestRoutersBasic-03922003-16557090 to be up..
2025-08-13 15:24:00,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-13 15:24:05,125 - DEBUG - VM is in ACTIVE state now
2025-08-13 15:24:05,125 - INFO - VM name : ctest-TestRoutersBasic-03922003-16557090
2025-08-13 15:24:05,206 - DEBUG - VM ctest-TestRoutersBasic-03922003-16557090 ID is 5d311683-3cd4-4494-8a46-e83f949036e2
2025-08-13 15:24:05,227 - DEBUG - VM ctest-TestRoutersBasic-03922003-16557090 launched on Node cn-jenkins-deploy-platform-ansible-os-3840-1
2025-08-13 15:24:05,299 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/5d311683-3cd4-4494-8a46-e83f949036e2
2025-08-13 15:24:05,591 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/5d311683-3cd4-4494-8a46-e83f949036e2
2025-08-13 15:24:05,628 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/c1750e76-803c-4503-b540-f909c0e7f7ea
2025-08-13 15:24:08,901 - 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 1027ms')
2025-08-13 15:24:08,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03922003-16557090 failed!
2025-08-13 15:24:08,957 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03922003:ctest-vn-46461530 is 96.78.145.129 and allocation pool is NOT set
2025-08-13 15:24:11,020 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.648 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.648/1.808/2.968/1.160 ms')
2025-08-13 15:24:11,020 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03922003-16557090 passed
2025-08-13 15:24:11,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 15:24:11,177 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03922003-16557090, IP 96.78.145.131, Port 22
2025-08-13 15:24:11,340 - DEBUG - VM ctest-TestRoutersBasic-03922003-16557090 is ready for SSH connections
2025-08-13 15:24:11,341 - INFO - Waiting for VM ctest-TestRoutersBasic-03922003-33927965 to be up..
2025-08-13 15:24:11,425 - DEBUG - VM is in ACTIVE state now
2025-08-13 15:24:11,425 - INFO - VM name : ctest-TestRoutersBasic-03922003-33927965
2025-08-13 15:24:11,494 - DEBUG - VM ctest-TestRoutersBasic-03922003-33927965 ID is 2ef6110f-57f3-4373-bb89-a3c77f30eb45
2025-08-13 15:24:11,494 - DEBUG - VM ctest-TestRoutersBasic-03922003-33927965 launched on Node cn-jenkins-deploy-platform-ansible-os-3840-1
2025-08-13 15:24:11,564 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/2ef6110f-57f3-4373-bb89-a3c77f30eb45
2025-08-13 15:24:11,573 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/9abc2d32-0b72-47b6-a193-86dba2c2ba2c
2025-08-13 15:24:12,805 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.59 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 = 1.585/3.179/4.773/1.594 ms')
2025-08-13 15:24:12,806 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03922003-33927965 passed
2025-08-13 15:24:12,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 15:24:12,961 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03922003-33927965, IP 205.168.198.195, Port 22
2025-08-13 15:24:13,016 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-08-13 15:24:13,082 - DEBUG - VM ctest-TestRoutersBasic-03922003-33927965 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-13 15:24:18,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 15:24:18,083 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03922003-33927965, IP 205.168.198.195, Port 22
2025-08-13 15:24:18,240 - DEBUG - VM ctest-TestRoutersBasic-03922003-33927965 is ready for SSH connections
2025-08-13 15:24:18,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 15:24:18,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.168.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-08-13 15:24:18,241 - DEBUG - ping -s 56 -c 3 -W 1 205.168.198.195
2025-08-13 15:24:21,905 - DEBUG - PING 205.168.198.195 (205.168.198.195): 56 data bytes
64 bytes from 205.168.198.195: seq=0 ttl=62 time=4.987 ms
64 bytes from 205.168.198.195: seq=1 ttl=62 time=0.828 ms
64 bytes from 205.168.198.195: seq=2 ttl=62 time=0.933 ms
--- 205.168.198.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.828/2.249/4.987 ms
2025-08-13 15:24:21,905 - INFO - Ping to IP 205.168.198.195 from VM ctest-TestRoutersBasic-03922003-16557090 passed
2025-08-13 15:24:21,905 - INFO - Deleting interface with subnet_id e9bbc364-882b-4461-8d2a-4ea57bb616da, port_id None from router d4e319b2-4649-448b-8db4-7ce80b86eb30
2025-08-13 15:24:22,092 - INFO - Deleting VM ctest-TestRoutersBasic-03922003-33927965
2025-08-13 15:24:22,161 - INFO - Deleting VM ctest-TestRoutersBasic-03922003-16557090
2025-08-13 15:24:22,241 - INFO - Deleting VN ctest-ext_vn-72086135
2025-08-13 15:24:22,298 - DEBUG - VN 44b35bc5-5c82-47ff-922a-9bcfca8f78bc still in use: Unable to complete operation on network 44b35bc5-5c82-47ff-922a-9bcfca8f78bc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d6670ee9-c06f-43ac-be09-c7ad595a4896']
2025-08-13 15:24:22,298 - WARNING - Deleting VN ctest-ext_vn-72086135 failed..Will retry
2025-08-13 15:24:24,400 - DEBUG - Response for deleting network ()
2025-08-13 15:24:24,400 - INFO - Deleting VN ctest-vn-46461530
2025-08-13 15:24:24,491 - DEBUG - Response for deleting network ()
2025-08-13 15:24:24,750 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 15:24:24,750 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-08-13 15:24:24,750 - INFO - --------------------------------------------------------------------------------
2025-08-13 15:24:25,420 - INFO - Deleted project: ctest-TestRoutersBasic-03922003, ID : cd91a1c4-29a5-4ad5-b545-e21d5104df21