2025-03-27 15:28:42,650 - INFO - Domain Default found not creating
2025-03-27 15:28:42,801 - INFO - Project ctest-TestRoutersBasic-17463743 not found, creating it
2025-03-27 15:28:43,256 - INFO - Created Project:ctest-TestRoutersBasic-17463743, ID : 05b49cda-6312-4427-b03d-c6559d5cb228
2025-03-27 15:28:44,682 - INFO - ================================================================================
2025-03-27 15:28:44,682 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-27 15:28:44,682 - 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-03-27 15:28:44,938 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.11': '0'}} with
2025-03-27 15:28:44,938 - INFO - Initial checks done. Running the testcase now
2025-03-27 15:28:44,938 - INFO -
2025-03-27 15:28:45,648 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17463743
2025-03-27 15:28:45,752 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17463743
2025-03-27 15:28:46,084 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17463743', 'default']}
2025-03-27 15:28:46,382 - DEBUG - Response for create_network : {'network': {'id': 'aa281336-885b-41a7-acff-f8e289e15239', 'name': 'ctest-vn-23303125', 'tenant_id': '05b49cda63124427b03dc6559d5cb228', 'project_id': '05b49cda63124427b03dc6559d5cb228', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17463743', 'ctest-vn-23303125'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 15:28:46,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '60f34fef-2ba6-4a34-8475-79cd446b5da7', 'name': '', 'tenant_id': '05b49cda63124427b03dc6559d5cb228', 'network_id': 'aa281336-885b-41a7-acff-f8e289e15239', 'ip_version': 4, 'cidr': '133.142.143.64/26', 'allocation_pools': [{'start': '133.142.143.66', 'end': '133.142.143.126'}], 'gateway_ip': '133.142.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.142.143.66', 'tags': [], 'project_id': '05b49cda63124427b03dc6559d5cb228'}}
2025-03-27 15:28:46,579 - INFO - Created VN ctest-vn-23303125
2025-03-27 15:28:46,632 - DEBUG - VN ctest-vn-23303125 UUID is aa281336-885b-41a7-acff-f8e289e15239
2025-03-27 15:28:46,966 - DEBUG - Response for create_network : {'network': {'id': '78835fc9-dd80-4377-99ac-a4eeaf8d0c79', 'name': 'ctest-ext_vn-39300078', 'tenant_id': '05b49cda63124427b03dc6559d5cb228', 'project_id': '05b49cda63124427b03dc6559d5cb228', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17463743', 'ctest-ext_vn-39300078'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 15:28:47,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ebddbc0-81be-4d39-953d-99e1e9af8ca5', 'name': '', 'tenant_id': '05b49cda63124427b03dc6559d5cb228', 'network_id': '78835fc9-dd80-4377-99ac-a4eeaf8d0c79', 'ip_version': 4, 'cidr': '95.229.234.0/26', 'allocation_pools': [{'start': '95.229.234.2', 'end': '95.229.234.62'}], 'gateway_ip': '95.229.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.229.234.2', 'tags': [], 'project_id': '05b49cda63124427b03dc6559d5cb228'}}
2025-03-27 15:28:47,212 - INFO - Created VN ctest-ext_vn-39300078
2025-03-27 15:28:47,264 - DEBUG - VN ctest-ext_vn-39300078 UUID is 78835fc9-dd80-4377-99ac-a4eeaf8d0c79
2025-03-27 15:28:47,467 - DEBUG - Services list from nova: [, , ]
2025-03-27 15:28:48,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2975-1)
2025-03-27 15:28:49,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2975-1)
2025-03-27 15:28:49,678 - INFO - Setting gateway for router 5eb67096-3379-49aa-907f-b9d758ed786c to network 78835fc9-dd80-4377-99ac-a4eeaf8d0c79
2025-03-27 15:28:49,768 - INFO - Adding interface with subnet_id 60f34fef-2ba6-4a34-8475-79cd446b5da7, port_id None to router 5eb67096-3379-49aa-907f-b9d758ed786c
2025-03-27 15:28:50,122 - INFO - Waiting for VM ctest-TestRoutersBasic-17463743-15407346 to be up..
2025-03-27 15:28:50,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-27 15:28:55,441 - DEBUG - VM is in ACTIVE state now
2025-03-27 15:28:55,441 - INFO - VM name : ctest-TestRoutersBasic-17463743-15407346
2025-03-27 15:28:55,525 - DEBUG - VM ctest-TestRoutersBasic-17463743-15407346 ID is 7fbe9ece-1286-4ffa-a7b5-cf7ac365f14d
2025-03-27 15:28:55,546 - DEBUG - VM ctest-TestRoutersBasic-17463743-15407346 launched on Node cn-jenkins-deploy-platform-ansible-os-2975-1
2025-03-27 15:28:55,622 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/7fbe9ece-1286-4ffa-a7b5-cf7ac365f14d
2025-03-27 15:28:55,919 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/7fbe9ece-1286-4ffa-a7b5-cf7ac365f14d
2025-03-27 15:28:55,954 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/b0695163-2218-4e38-8d0a-9536f97b2d06
2025-03-27 15:28:59,197 - 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 1007ms')
2025-03-27 15:28:59,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17463743-15407346 failed!
2025-03-27 15:28:59,252 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17463743:ctest-vn-23303125 is 133.142.143.65 and allocation pool is NOT set
2025-03-27 15:29:01,315 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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 = 1.330/2.825/4.321/1.495 ms')
2025-03-27 15:29:01,315 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17463743-15407346 passed
2025-03-27 15:29:01,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:29:01,476 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17463743-15407346, IP 133.142.143.67, Port 22
2025-03-27 15:29:01,650 - DEBUG - VM ctest-TestRoutersBasic-17463743-15407346 is ready for SSH connections
2025-03-27 15:29:01,650 - INFO - Waiting for VM ctest-TestRoutersBasic-17463743-60865191 to be up..
2025-03-27 15:29:01,741 - DEBUG - VM is in ACTIVE state now
2025-03-27 15:29:01,741 - INFO - VM name : ctest-TestRoutersBasic-17463743-60865191
2025-03-27 15:29:01,846 - DEBUG - VM ctest-TestRoutersBasic-17463743-60865191 ID is a607c082-10ac-43bd-a32a-870d822f214d
2025-03-27 15:29:01,846 - DEBUG - VM ctest-TestRoutersBasic-17463743-60865191 launched on Node cn-jenkins-deploy-platform-ansible-os-2975-1
2025-03-27 15:29:01,938 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/a607c082-10ac-43bd-a32a-870d822f214d
2025-03-27 15:29:01,951 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/cd0a8a1d-ad2f-4604-b485-70bc25f8fd32
2025-03-27 15:29:03,214 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.619/2.855/1.235 ms')
2025-03-27 15:29:03,215 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17463743-60865191 passed
2025-03-27 15:29:03,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:29:03,372 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17463743-60865191, IP 95.229.234.3, Port 22
2025-03-27 15:29:03,536 - DEBUG - VM ctest-TestRoutersBasic-17463743-60865191 is ready for SSH connections
2025-03-27 15:29:03,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 15:29:03,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.229.234.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123
2025-03-27 15:29:03,536 - DEBUG - ping -s 56 -c 3 -W 1 95.229.234.3
2025-03-27 15:29:07,522 - DEBUG - PING 95.229.234.3 (95.229.234.3): 56 data bytes
64 bytes from 95.229.234.3: seq=0 ttl=62 time=4.333 ms
64 bytes from 95.229.234.3: seq=1 ttl=62 time=0.926 ms
64 bytes from 95.229.234.3: seq=2 ttl=62 time=0.868 ms
--- 95.229.234.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.868/2.042/4.333 ms
2025-03-27 15:29:07,522 - INFO - Ping to IP 95.229.234.3 from VM ctest-TestRoutersBasic-17463743-15407346 passed
2025-03-27 15:29:07,522 - INFO - Deleting interface with subnet_id 60f34fef-2ba6-4a34-8475-79cd446b5da7, port_id None from router 5eb67096-3379-49aa-907f-b9d758ed786c
2025-03-27 15:29:07,715 - INFO - Deleting VM ctest-TestRoutersBasic-17463743-60865191
2025-03-27 15:29:07,797 - INFO - Deleting VM ctest-TestRoutersBasic-17463743-15407346
2025-03-27 15:29:07,864 - INFO - Deleting VN ctest-ext_vn-39300078
2025-03-27 15:29:07,944 - DEBUG - VN 78835fc9-dd80-4377-99ac-a4eeaf8d0c79 still in use: Unable to complete operation on network 78835fc9-dd80-4377-99ac-a4eeaf8d0c79. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1437e01c-9d5d-4bed-94c6-648fe779b88e']
2025-03-27 15:29:07,944 - WARNING - Deleting VN ctest-ext_vn-39300078 failed..Will retry
2025-03-27 15:29:10,051 - DEBUG - Response for deleting network ()
2025-03-27 15:29:10,051 - INFO - Deleting VN ctest-vn-23303125
2025-03-27 15:29:10,156 - DEBUG - Response for deleting network ()
2025-03-27 15:29:10,412 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 15:29:10,412 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-27 15:29:10,412 - INFO - --------------------------------------------------------------------------------
2025-03-27 15:29:11,101 - INFO - Deleted project: ctest-TestRoutersBasic-17463743, ID : 05b49cda-6312-4427-b03d-c6559d5cb228