2025-05-26 18:17:41,524 - INFO - Domain Default found not creating
2025-05-26 18:17:41,902 - INFO - Project ctest-TestRoutersBasic-05796457 not found, creating it
2025-05-26 18:17:42,694 - INFO - Created Project:ctest-TestRoutersBasic-05796457, ID : a3cc1820-6820-4ae2-b9b1-58f5e37be471
2025-05-26 18:17:44,598 - INFO - ================================================================================
2025-05-26 18:17:44,599 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-26 18:17:44,599 - 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-05-26 18:17:44,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-05-26 18:17:44,928 - INFO - Initial checks done. Running the testcase now
2025-05-26 18:17:44,928 - INFO -
2025-05-26 18:17:45,842 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05796457
2025-05-26 18:17:45,956 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05796457
2025-05-26 18:17:46,363 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05796457', 'default']}
2025-05-26 18:17:46,777 - DEBUG - Response for create_network : {'network': {'id': 'f9e4f0d6-b4b8-47f1-ba6c-b8805e12ce69', 'name': 'ctest-vn-37836581', 'tenant_id': 'a3cc182068204ae2b9b158f5e37be471', 'project_id': 'a3cc182068204ae2b9b158f5e37be471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05796457', 'ctest-vn-37836581'], 'port_security_enabled': True, 'description': ''}}
2025-05-26 18:17:47,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e98a975-ed2e-481a-9edd-274861c83daf', 'name': '', 'tenant_id': 'a3cc182068204ae2b9b158f5e37be471', 'network_id': 'f9e4f0d6-b4b8-47f1-ba6c-b8805e12ce69', 'ip_version': 4, 'cidr': '165.126.131.64/26', 'allocation_pools': [{'start': '165.126.131.66', 'end': '165.126.131.126'}], 'gateway_ip': '165.126.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.126.131.66', 'tags': [], 'project_id': 'a3cc182068204ae2b9b158f5e37be471'}}
2025-05-26 18:17:47,107 - INFO - Created VN ctest-vn-37836581
2025-05-26 18:17:47,181 - DEBUG - VN ctest-vn-37836581 UUID is f9e4f0d6-b4b8-47f1-ba6c-b8805e12ce69
2025-05-26 18:17:47,784 - DEBUG - Response for create_network : {'network': {'id': '42edea17-d76d-4d9b-9ba5-f9330889517c', 'name': 'ctest-ext_vn-39481069', 'tenant_id': 'a3cc182068204ae2b9b158f5e37be471', 'project_id': 'a3cc182068204ae2b9b158f5e37be471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05796457', 'ctest-ext_vn-39481069'], 'port_security_enabled': True, 'description': ''}}
2025-05-26 18:17:47,955 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1248cbf-7590-4987-afc6-3215f18a5989', 'name': '', 'tenant_id': 'a3cc182068204ae2b9b158f5e37be471', 'network_id': '42edea17-d76d-4d9b-9ba5-f9330889517c', 'ip_version': 4, 'cidr': '152.102.149.0/26', 'allocation_pools': [{'start': '152.102.149.2', 'end': '152.102.149.62'}], 'gateway_ip': '152.102.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.102.149.2', 'tags': [], 'project_id': 'a3cc182068204ae2b9b158f5e37be471'}}
2025-05-26 18:17:47,982 - INFO - Created VN ctest-ext_vn-39481069
2025-05-26 18:17:48,043 - DEBUG - VN ctest-ext_vn-39481069 UUID is 42edea17-d76d-4d9b-9ba5-f9330889517c
2025-05-26 18:17:48,328 - DEBUG - Services list from nova: [, , ]
2025-05-26 18:17:49,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3340-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3340-1)
2025-05-26 18:17:51,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3340-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3340-1)
2025-05-26 18:17:51,417 - INFO - Setting gateway for router 64a48599-59d0-4a56-ac68-cd161e589a8d to network 42edea17-d76d-4d9b-9ba5-f9330889517c
2025-05-26 18:17:51,545 - INFO - Adding interface with subnet_id 9e98a975-ed2e-481a-9edd-274861c83daf, port_id None to router 64a48599-59d0-4a56-ac68-cd161e589a8d
2025-05-26 18:17:52,038 - INFO - Waiting for VM ctest-TestRoutersBasic-05796457-66913793 to be up..
2025-05-26 18:17:52,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-26 18:17:57,325 - DEBUG - VM is in ACTIVE state now
2025-05-26 18:17:57,325 - INFO - VM name : ctest-TestRoutersBasic-05796457-66913793
2025-05-26 18:17:57,455 - DEBUG - VM ctest-TestRoutersBasic-05796457-66913793 ID is 614c1409-7056-4fdc-828e-ace6e543430b
2025-05-26 18:17:57,487 - DEBUG - VM ctest-TestRoutersBasic-05796457-66913793 launched on Node cn-jenkins-deploy-platform-ansible-os-3340-1
2025-05-26 18:17:57,597 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/614c1409-7056-4fdc-828e-ace6e543430b
2025-05-26 18:17:57,957 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/614c1409-7056-4fdc-828e-ace6e543430b
2025-05-26 18:17:57,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/947592c9-75da-4864-b5b1-3c1c5c7a77c6
2025-05-26 18:18:01,258 - 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 1003ms')
2025-05-26 18:18:01,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05796457-66913793 failed!
2025-05-26 18:18:01,340 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05796457:ctest-vn-37836581 is 165.126.131.65 and allocation pool is NOT set
2025-05-26 18:18:03,409 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.647/3.629/5.611/1.982 ms')
2025-05-26 18:18:03,410 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05796457-66913793 passed
2025-05-26 18:18:03,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 18:18:03,608 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05796457-66913793, IP 165.126.131.67, Port 22
2025-05-26 18:18:03,788 - DEBUG - VM ctest-TestRoutersBasic-05796457-66913793 is ready for SSH connections
2025-05-26 18:18:03,788 - INFO - Waiting for VM ctest-TestRoutersBasic-05796457-05410159 to be up..
2025-05-26 18:18:03,927 - DEBUG - VM is in ACTIVE state now
2025-05-26 18:18:03,928 - INFO - VM name : ctest-TestRoutersBasic-05796457-05410159
2025-05-26 18:18:04,042 - DEBUG - VM ctest-TestRoutersBasic-05796457-05410159 ID is 9b4456d8-4043-4a71-96e8-46f28de7b8ff
2025-05-26 18:18:04,042 - DEBUG - VM ctest-TestRoutersBasic-05796457-05410159 launched on Node cn-jenkins-deploy-platform-ansible-os-3340-1
2025-05-26 18:18:04,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b4456d8-4043-4a71-96e8-46f28de7b8ff
2025-05-26 18:18:04,193 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78aaf05d-1991-442f-9a66-b0a4664da645
2025-05-26 18:18:05,481 - 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=8.16 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 1001ms\r\nrtt min/avg/max/mdev = 0.770/4.463/8.156/3.693 ms')
2025-05-26 18:18:05,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05796457-05410159 passed
2025-05-26 18:18:05,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 18:18:05,648 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05796457-05410159, IP 152.102.149.3, Port 22
2025-05-26 18:18:05,834 - DEBUG - VM ctest-TestRoutersBasic-05796457-05410159 is ready for SSH connections
2025-05-26 18:18:05,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-26 18:18:05,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.102.149.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-26 18:18:05,835 - DEBUG - ping -s 56 -c 3 -W 1 152.102.149.3
2025-05-26 18:18:10,013 - DEBUG - PING 152.102.149.3 (152.102.149.3): 56 data bytes
64 bytes from 152.102.149.3: seq=0 ttl=62 time=8.233 ms
64 bytes from 152.102.149.3: seq=1 ttl=62 time=1.525 ms
64 bytes from 152.102.149.3: seq=2 ttl=62 time=1.529 ms
--- 152.102.149.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.525/3.762/8.233 ms
2025-05-26 18:18:10,013 - INFO - Ping to IP 152.102.149.3 from VM ctest-TestRoutersBasic-05796457-66913793 passed
2025-05-26 18:18:10,013 - INFO - Deleting interface with subnet_id 9e98a975-ed2e-481a-9edd-274861c83daf, port_id None from router 64a48599-59d0-4a56-ac68-cd161e589a8d
2025-05-26 18:18:10,301 - INFO - Deleting VM ctest-TestRoutersBasic-05796457-05410159
2025-05-26 18:18:10,389 - INFO - Deleting VM ctest-TestRoutersBasic-05796457-66913793
2025-05-26 18:18:10,475 - INFO - Deleting VN ctest-ext_vn-39481069
2025-05-26 18:18:10,558 - DEBUG - VN 42edea17-d76d-4d9b-9ba5-f9330889517c still in use: Unable to complete operation on network 42edea17-d76d-4d9b-9ba5-f9330889517c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-750ca07b-f333-4e60-ab02-373004413e42']
2025-05-26 18:18:10,558 - WARNING - Deleting VN ctest-ext_vn-39481069 failed..Will retry
2025-05-26 18:18:12,808 - DEBUG - Response for deleting network ()
2025-05-26 18:18:12,808 - INFO - Deleting VN ctest-vn-37836581
2025-05-26 18:18:12,946 - DEBUG - Response for deleting network ()
2025-05-26 18:18:13,253 - DEBUG - No XMPP flaps were noticed during the test
2025-05-26 18:18:13,254 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-05-26 18:18:13,254 - INFO - --------------------------------------------------------------------------------
2025-05-26 18:18:14,116 - INFO - Deleted project: ctest-TestRoutersBasic-05796457, ID : a3cc1820-6820-4ae2-b9b1-58f5e37be471