2025-06-23 16:07:00,943 - INFO - Domain Default found not creating
2025-06-23 16:07:01,122 - INFO - Project ctest-TestRoutersBasic-13578152 not found, creating it
2025-06-23 16:07:01,622 - INFO - Created Project:ctest-TestRoutersBasic-13578152, ID : d1c07832-302d-4775-8aed-209897e4fb75
2025-06-23 16:07:03,304 - INFO - ================================================================================
2025-06-23 16:07:03,305 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-23 16:07:03,305 - 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-06-23 16:07:03,570 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-06-23 16:07:03,570 - INFO - Initial checks done. Running the testcase now
2025-06-23 16:07:03,570 - INFO -
2025-06-23 16:07:04,381 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13578152
2025-06-23 16:07:04,483 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13578152
2025-06-23 16:07:04,835 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13578152', 'default']}
2025-06-23 16:07:05,152 - DEBUG - Response for create_network : {'network': {'id': 'df85ef77-bf07-45b0-bc0a-5842ae162f8a', 'name': 'ctest-vn-08327453', 'tenant_id': 'd1c07832302d47758aed209897e4fb75', 'project_id': 'd1c07832302d47758aed209897e4fb75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13578152', 'ctest-vn-08327453'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 16:07:05,384 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2d40d44-da11-4bb4-bc86-a2decf5b7a78', 'name': '', 'tenant_id': 'd1c07832302d47758aed209897e4fb75', 'network_id': 'df85ef77-bf07-45b0-bc0a-5842ae162f8a', 'ip_version': 4, 'cidr': '221.172.82.192/26', 'allocation_pools': [{'start': '221.172.82.194', 'end': '221.172.82.254'}], 'gateway_ip': '221.172.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.172.82.194', 'tags': [], 'project_id': 'd1c07832302d47758aed209897e4fb75'}}
2025-06-23 16:07:05,407 - INFO - Created VN ctest-vn-08327453
2025-06-23 16:07:05,463 - DEBUG - VN ctest-vn-08327453 UUID is df85ef77-bf07-45b0-bc0a-5842ae162f8a
2025-06-23 16:07:05,805 - DEBUG - Response for create_network : {'network': {'id': 'd1c349a8-e7a4-416d-b687-9bebc7ef2a44', 'name': 'ctest-ext_vn-75382990', 'tenant_id': 'd1c07832302d47758aed209897e4fb75', 'project_id': 'd1c07832302d47758aed209897e4fb75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13578152', 'ctest-ext_vn-75382990'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 16:07:06,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '274edd73-8601-4a5c-8906-4fbfb2d9816e', 'name': '', 'tenant_id': 'd1c07832302d47758aed209897e4fb75', 'network_id': 'd1c349a8-e7a4-416d-b687-9bebc7ef2a44', 'ip_version': 4, 'cidr': '163.96.36.0/26', 'allocation_pools': [{'start': '163.96.36.2', 'end': '163.96.36.62'}], 'gateway_ip': '163.96.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.96.36.2', 'tags': [], 'project_id': 'd1c07832302d47758aed209897e4fb75'}}
2025-06-23 16:07:06,029 - INFO - Created VN ctest-ext_vn-75382990
2025-06-23 16:07:06,087 - DEBUG - VN ctest-ext_vn-75382990 UUID is d1c349a8-e7a4-416d-b687-9bebc7ef2a44
2025-06-23 16:07:06,267 - DEBUG - Services list from nova: [, , ]
2025-06-23 16:07:07,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3522-1)
2025-06-23 16:07:08,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3522-1)
2025-06-23 16:07:08,894 - INFO - Setting gateway for router db53b49e-d833-40df-915c-0a0fa2e527f2 to network d1c349a8-e7a4-416d-b687-9bebc7ef2a44
2025-06-23 16:07:08,969 - INFO - Adding interface with subnet_id c2d40d44-da11-4bb4-bc86-a2decf5b7a78, port_id None to router db53b49e-d833-40df-915c-0a0fa2e527f2
2025-06-23 16:07:09,353 - INFO - Waiting for VM ctest-TestRoutersBasic-13578152-56401953 to be up..
2025-06-23 16:07:09,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-23 16:07:14,585 - DEBUG - VM is in ACTIVE state now
2025-06-23 16:07:14,586 - INFO - VM name : ctest-TestRoutersBasic-13578152-56401953
2025-06-23 16:07:14,687 - DEBUG - VM ctest-TestRoutersBasic-13578152-56401953 ID is 9cb26ac1-e856-4c80-9fa4-376b3510d8d4
2025-06-23 16:07:14,715 - DEBUG - VM ctest-TestRoutersBasic-13578152-56401953 launched on Node cn-jenkins-deploy-platform-ansible-os-3522-1
2025-06-23 16:07:14,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9cb26ac1-e856-4c80-9fa4-376b3510d8d4
2025-06-23 16:07:15,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9cb26ac1-e856-4c80-9fa4-376b3510d8d4
2025-06-23 16:07:15,233 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b2e95991-f48e-4380-ba0b-f857ad561611
2025-06-23 16:07:18,498 - 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 1004ms')
2025-06-23 16:07:18,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13578152-56401953 failed!
2025-06-23 16:07:18,559 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13578152:ctest-vn-08327453 is 221.172.82.193 and allocation pool is NOT set
2025-06-23 16:07:20,624 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.13 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.133/3.383/4.633/1.250 ms')
2025-06-23 16:07:20,624 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13578152-56401953 passed
2025-06-23 16:07:20,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 16:07:20,779 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13578152-56401953, IP 221.172.82.195, Port 22
2025-06-23 16:07:20,944 - DEBUG - VM ctest-TestRoutersBasic-13578152-56401953 is ready for SSH connections
2025-06-23 16:07:20,944 - INFO - Waiting for VM ctest-TestRoutersBasic-13578152-73030143 to be up..
2025-06-23 16:07:21,039 - DEBUG - VM is in ACTIVE state now
2025-06-23 16:07:21,040 - INFO - VM name : ctest-TestRoutersBasic-13578152-73030143
2025-06-23 16:07:21,139 - DEBUG - VM ctest-TestRoutersBasic-13578152-73030143 ID is 671ec010-aa24-4241-97d8-1b3b9d9591bd
2025-06-23 16:07:21,139 - DEBUG - VM ctest-TestRoutersBasic-13578152-73030143 launched on Node cn-jenkins-deploy-platform-ansible-os-3522-1
2025-06-23 16:07:21,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/671ec010-aa24-4241-97d8-1b3b9d9591bd
2025-06-23 16:07:21,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6200fc35-cb9e-44fc-be2d-465dafc4c94e
2025-06-23 16:07:22,498 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.99 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.993/2.800/3.608/0.807 ms')
2025-06-23 16:07:22,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13578152-73030143 passed
2025-06-23 16:07:22,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 16:07:22,659 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13578152-73030143, IP 163.96.36.3, Port 22
2025-06-23 16:07:22,715 - 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-06-23 16:07:22,801 - DEBUG - VM ctest-TestRoutersBasic-13578152-73030143 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-23 16:07:27,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 16:07:27,802 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13578152-73030143, IP 163.96.36.3, Port 22
2025-06-23 16:07:27,972 - DEBUG - VM ctest-TestRoutersBasic-13578152-73030143 is ready for SSH connections
2025-06-23 16:07:27,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 16:07:27,972 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.96.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 16:07:27,972 - DEBUG - ping -s 56 -c 3 -W 1 163.96.36.3
2025-06-23 16:07:31,791 - DEBUG - PING 163.96.36.3 (163.96.36.3): 56 data bytes
64 bytes from 163.96.36.3: seq=0 ttl=62 time=6.243 ms
64 bytes from 163.96.36.3: seq=1 ttl=62 time=1.093 ms
64 bytes from 163.96.36.3: seq=2 ttl=62 time=1.069 ms
--- 163.96.36.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.069/2.801/6.243 ms
2025-06-23 16:07:31,791 - INFO - Ping to IP 163.96.36.3 from VM ctest-TestRoutersBasic-13578152-56401953 passed
2025-06-23 16:07:31,792 - INFO - Deleting interface with subnet_id c2d40d44-da11-4bb4-bc86-a2decf5b7a78, port_id None from router db53b49e-d833-40df-915c-0a0fa2e527f2
2025-06-23 16:07:32,012 - INFO - Deleting VM ctest-TestRoutersBasic-13578152-73030143
2025-06-23 16:07:32,090 - INFO - Deleting VM ctest-TestRoutersBasic-13578152-56401953
2025-06-23 16:07:32,196 - INFO - Deleting VN ctest-ext_vn-75382990
2025-06-23 16:07:32,294 - DEBUG - VN d1c349a8-e7a4-416d-b687-9bebc7ef2a44 still in use: Unable to complete operation on network d1c349a8-e7a4-416d-b687-9bebc7ef2a44. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ed8caba7-f37f-4a8b-9532-7ff0426109fb']
2025-06-23 16:07:32,294 - WARNING - Deleting VN ctest-ext_vn-75382990 failed..Will retry
2025-06-23 16:07:34,441 - DEBUG - Response for deleting network ()
2025-06-23 16:07:34,442 - INFO - Deleting VN ctest-vn-08327453
2025-06-23 16:07:34,570 - DEBUG - Response for deleting network ()
2025-06-23 16:07:34,831 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 16:07:34,831 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-06-23 16:07:34,831 - INFO - --------------------------------------------------------------------------------
2025-06-23 16:07:35,588 - INFO - Deleted project: ctest-TestRoutersBasic-13578152, ID : d1c07832-302d-4775-8aed-209897e4fb75