2025-07-21 10:18:34,481 - INFO - Domain Default found not creating
2025-07-21 10:18:34,919 - INFO - Project ctest-TestRoutersBasic-33437312 not found, creating it
2025-07-21 10:18:35,670 - INFO - Created Project:ctest-TestRoutersBasic-33437312, ID : 4084a2b0-814a-456d-9a08-32d60d7f9070
2025-07-21 10:18:38,078 - INFO - ================================================================================
2025-07-21 10:18:38,079 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-21 10:18:38,079 - 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-07-21 10:18:38,399 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-21 10:18:38,399 - INFO - Initial checks done. Running the testcase now
2025-07-21 10:18:38,399 - INFO -
2025-07-21 10:18:39,233 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33437312
2025-07-21 10:18:39,338 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33437312
2025-07-21 10:18:39,772 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33437312', 'default']}
2025-07-21 10:18:40,159 - DEBUG - Response for create_network : {'network': {'id': '9737401d-61cf-4b0e-849c-7c9b7fd9f0c4', 'name': 'ctest-vn-45159599', 'tenant_id': '4084a2b0814a456d9a0832d60d7f9070', 'project_id': '4084a2b0814a456d9a0832d60d7f9070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33437312', 'ctest-vn-45159599'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 10:18:40,374 - DEBUG - Response for create_subnet : {'subnet': {'id': '42b4668c-1b44-466c-8efa-9c5c9e8f44a9', 'name': '', 'tenant_id': '4084a2b0814a456d9a0832d60d7f9070', 'network_id': '9737401d-61cf-4b0e-849c-7c9b7fd9f0c4', 'ip_version': 4, 'cidr': '165.130.75.64/26', 'allocation_pools': [{'start': '165.130.75.66', 'end': '165.130.75.126'}], 'gateway_ip': '165.130.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.130.75.66', 'tags': [], 'project_id': '4084a2b0814a456d9a0832d60d7f9070'}}
2025-07-21 10:18:40,396 - INFO - Created VN ctest-vn-45159599
2025-07-21 10:18:40,453 - DEBUG - VN ctest-vn-45159599 UUID is 9737401d-61cf-4b0e-849c-7c9b7fd9f0c4
2025-07-21 10:18:40,830 - DEBUG - Response for create_network : {'network': {'id': '56872237-777d-4113-a666-8ecc8d4de749', 'name': 'ctest-ext_vn-09484021', 'tenant_id': '4084a2b0814a456d9a0832d60d7f9070', 'project_id': '4084a2b0814a456d9a0832d60d7f9070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33437312', 'ctest-ext_vn-09484021'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 10:18:41,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '202e78fe-89b0-4b24-89c9-9637e1c17913', 'name': '', 'tenant_id': '4084a2b0814a456d9a0832d60d7f9070', 'network_id': '56872237-777d-4113-a666-8ecc8d4de749', 'ip_version': 4, 'cidr': '12.136.95.0/26', 'allocation_pools': [{'start': '12.136.95.2', 'end': '12.136.95.62'}], 'gateway_ip': '12.136.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.136.95.2', 'tags': [], 'project_id': '4084a2b0814a456d9a0832d60d7f9070'}}
2025-07-21 10:18:41,042 - INFO - Created VN ctest-ext_vn-09484021
2025-07-21 10:18:41,101 - DEBUG - VN ctest-ext_vn-09484021 UUID is 56872237-777d-4113-a666-8ecc8d4de749
2025-07-21 10:18:41,405 - DEBUG - Services list from nova: [, , ]
2025-07-21 10:18:42,667 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1)
2025-07-21 10:18:44,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1)
2025-07-21 10:18:44,124 - INFO - Setting gateway for router df9f8abb-2039-416d-a3ce-5e69dd024385 to network 56872237-777d-4113-a666-8ecc8d4de749
2025-07-21 10:18:44,200 - INFO - Adding interface with subnet_id 42b4668c-1b44-466c-8efa-9c5c9e8f44a9, port_id None to router df9f8abb-2039-416d-a3ce-5e69dd024385
2025-07-21 10:18:44,490 - INFO - Waiting for VM ctest-TestRoutersBasic-33437312-71882302 to be up..
2025-07-21 10:18:44,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-21 10:18:49,687 - DEBUG - VM is in ACTIVE state now
2025-07-21 10:18:49,687 - INFO - VM name : ctest-TestRoutersBasic-33437312-71882302
2025-07-21 10:18:49,765 - DEBUG - VM ctest-TestRoutersBasic-33437312-71882302 ID is 4afed77b-edb7-43f4-b83f-aed0b2695ad2
2025-07-21 10:18:49,783 - DEBUG - VM ctest-TestRoutersBasic-33437312-71882302 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1
2025-07-21 10:18:49,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4afed77b-edb7-43f4-b83f-aed0b2695ad2
2025-07-21 10:18:50,195 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4afed77b-edb7-43f4-b83f-aed0b2695ad2
2025-07-21 10:18:50,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/399878d7-ff9e-499a-b0b5-b79ac7f6880a
2025-07-21 10:18:53,628 - 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-07-21 10:18:53,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33437312-71882302 failed!
2025-07-21 10:18:53,698 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33437312:ctest-vn-45159599 is 165.130.75.65 and allocation pool is NOT set
2025-07-21 10:18:55,777 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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.175/3.690/5.206/1.515 ms')
2025-07-21 10:18:55,778 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33437312-71882302 passed
2025-07-21 10:18:55,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 10:18:55,970 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33437312-71882302, IP 165.130.75.67, Port 22
2025-07-21 10:18:56,051 - 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-07-21 10:18:56,267 - DEBUG - VM ctest-TestRoutersBasic-33437312-71882302 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-21 10:19:01,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 10:19:01,268 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33437312-71882302, IP 165.130.75.67, Port 22
2025-07-21 10:19:01,468 - DEBUG - VM ctest-TestRoutersBasic-33437312-71882302 is ready for SSH connections
2025-07-21 10:19:01,468 - INFO - Waiting for VM ctest-TestRoutersBasic-33437312-02437123 to be up..
2025-07-21 10:19:01,689 - DEBUG - VM is in ACTIVE state now
2025-07-21 10:19:01,689 - INFO - VM name : ctest-TestRoutersBasic-33437312-02437123
2025-07-21 10:19:01,798 - DEBUG - VM ctest-TestRoutersBasic-33437312-02437123 ID is 5e57c861-4269-4532-82fc-3b9a25f297a6
2025-07-21 10:19:01,798 - DEBUG - VM ctest-TestRoutersBasic-33437312-02437123 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1
2025-07-21 10:19:01,900 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5e57c861-4269-4532-82fc-3b9a25f297a6
2025-07-21 10:19:01,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a0ec622a-b0c8-4d02-ae09-e8058b6d4c67
2025-07-21 10:19:03,270 - 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=10.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.770 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 = 0.770/5.552/10.334/4.782 ms')
2025-07-21 10:19:03,270 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33437312-02437123 passed
2025-07-21 10:19:03,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 10:19:03,466 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33437312-02437123, IP 12.136.95.3, Port 22
2025-07-21 10:19:03,661 - DEBUG - VM ctest-TestRoutersBasic-33437312-02437123 is ready for SSH connections
2025-07-21 10:19:03,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 10:19:03,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.136.95.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-21 10:19:03,661 - DEBUG - ping -s 56 -c 3 -W 1 12.136.95.3
2025-07-21 10:19:07,831 - DEBUG - PING 12.136.95.3 (12.136.95.3): 56 data bytes
64 bytes from 12.136.95.3: seq=0 ttl=62 time=9.500 ms
64 bytes from 12.136.95.3: seq=1 ttl=62 time=1.928 ms
64 bytes from 12.136.95.3: seq=2 ttl=62 time=1.775 ms
--- 12.136.95.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.775/4.401/9.500 ms
2025-07-21 10:19:07,869 - INFO - Ping to IP 12.136.95.3 from VM ctest-TestRoutersBasic-33437312-71882302 passed
2025-07-21 10:19:07,870 - INFO - Deleting interface with subnet_id 42b4668c-1b44-466c-8efa-9c5c9e8f44a9, port_id None from router df9f8abb-2039-416d-a3ce-5e69dd024385
2025-07-21 10:19:08,258 - INFO - Deleting VM ctest-TestRoutersBasic-33437312-02437123
2025-07-21 10:19:08,345 - INFO - Deleting VM ctest-TestRoutersBasic-33437312-71882302
2025-07-21 10:19:08,446 - INFO - Deleting VN ctest-ext_vn-09484021
2025-07-21 10:19:08,513 - DEBUG - VN 56872237-777d-4113-a666-8ecc8d4de749 still in use: Unable to complete operation on network 56872237-777d-4113-a666-8ecc8d4de749. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dd7ded42-da61-4a93-9ec4-5d02a065c2b0']
2025-07-21 10:19:08,513 - WARNING - Deleting VN ctest-ext_vn-09484021 failed..Will retry
2025-07-21 10:19:10,789 - DEBUG - Response for deleting network ()
2025-07-21 10:19:10,789 - INFO - Deleting VN ctest-vn-45159599
2025-07-21 10:19:10,965 - DEBUG - Response for deleting network ()
2025-07-21 10:19:11,290 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 10:19:11,290 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2025-07-21 10:19:11,291 - INFO - --------------------------------------------------------------------------------
2025-07-21 10:19:12,435 - INFO - Deleted project: ctest-TestRoutersBasic-33437312, ID : 4084a2b0-814a-456d-9a08-32d60d7f9070