2025-09-24 08:02:51,070 - INFO - Domain Default found not creating
2025-09-24 08:02:51,201 - INFO - Project ctest-TestRoutersBasic-16686082 not found, creating it
2025-09-24 08:02:51,623 - INFO - Created Project:ctest-TestRoutersBasic-16686082, ID : 2761c9e1-0819-46f2-ad2b-3bf1fcf7b668
2025-09-24 08:02:53,006 - INFO - ================================================================================
2025-09-24 08:02:53,006 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-24 08:02:53,006 - 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-09-24 08:02:53,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-09-24 08:02:53,259 - INFO - Initial checks done. Running the testcase now
2025-09-24 08:02:53,259 - INFO -
2025-09-24 08:02:53,931 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16686082
2025-09-24 08:02:54,026 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16686082
2025-09-24 08:02:54,342 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16686082', 'default']}
2025-09-24 08:02:54,605 - DEBUG - Response for create_network : {'network': {'id': '979eb4bf-7852-4135-a593-a111110f4940', 'name': 'ctest-vn-11415750', 'tenant_id': '2761c9e1081946f2ad2b3bf1fcf7b668', 'project_id': '2761c9e1081946f2ad2b3bf1fcf7b668', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16686082', 'ctest-vn-11415750'], 'port_security_enabled': True, 'description': ''}}
2025-09-24 08:02:54,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dfa3d41-b5d1-428f-92ed-77fff05268f7', 'name': '', 'tenant_id': '2761c9e1081946f2ad2b3bf1fcf7b668', 'network_id': '979eb4bf-7852-4135-a593-a111110f4940', 'ip_version': 4, 'cidr': '170.161.62.128/26', 'allocation_pools': [{'start': '170.161.62.130', 'end': '170.161.62.190'}], 'gateway_ip': '170.161.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.161.62.130', 'tags': [], 'project_id': '2761c9e1081946f2ad2b3bf1fcf7b668'}}
2025-09-24 08:02:54,765 - INFO - Created VN ctest-vn-11415750
2025-09-24 08:02:54,818 - DEBUG - VN ctest-vn-11415750 UUID is 979eb4bf-7852-4135-a593-a111110f4940
2025-09-24 08:02:55,136 - DEBUG - Response for create_network : {'network': {'id': '30b562fd-490d-4ea2-84cc-5b450d2cd60e', 'name': 'ctest-ext_vn-29767800', 'tenant_id': '2761c9e1081946f2ad2b3bf1fcf7b668', 'project_id': '2761c9e1081946f2ad2b3bf1fcf7b668', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16686082', 'ctest-ext_vn-29767800'], 'port_security_enabled': True, 'description': ''}}
2025-09-24 08:02:55,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '98a5fa8e-2322-4046-a1fd-24c863deaf85', 'name': '', 'tenant_id': '2761c9e1081946f2ad2b3bf1fcf7b668', 'network_id': '30b562fd-490d-4ea2-84cc-5b450d2cd60e', 'ip_version': 4, 'cidr': '109.230.37.64/26', 'allocation_pools': [{'start': '109.230.37.66', 'end': '109.230.37.126'}], 'gateway_ip': '109.230.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.230.37.66', 'tags': [], 'project_id': '2761c9e1081946f2ad2b3bf1fcf7b668'}}
2025-09-24 08:02:55,339 - INFO - Created VN ctest-ext_vn-29767800
2025-09-24 08:02:55,390 - DEBUG - VN ctest-ext_vn-29767800 UUID is 30b562fd-490d-4ea2-84cc-5b450d2cd60e
2025-09-24 08:02:55,577 - DEBUG - Services list from nova: [, , ]
2025-09-24 08:02:56,523 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4181-1)
2025-09-24 08:02:57,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4181-1)
2025-09-24 08:02:57,658 - INFO - Setting gateway for router c7ca9812-fa2d-4699-a543-f7469d8ad979 to network 30b562fd-490d-4ea2-84cc-5b450d2cd60e
2025-09-24 08:02:57,710 - INFO - Adding interface with subnet_id 1dfa3d41-b5d1-428f-92ed-77fff05268f7, port_id None to router c7ca9812-fa2d-4699-a543-f7469d8ad979
2025-09-24 08:02:58,076 - INFO - Waiting for VM ctest-TestRoutersBasic-16686082-19390103 to be up..
2025-09-24 08:02:58,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-24 08:03:03,309 - DEBUG - VM is in ACTIVE state now
2025-09-24 08:03:03,310 - INFO - VM name : ctest-TestRoutersBasic-16686082-19390103
2025-09-24 08:03:03,373 - DEBUG - VM ctest-TestRoutersBasic-16686082-19390103 ID is 1b405f3c-a68b-4de9-a1b1-744a90648969
2025-09-24 08:03:03,389 - DEBUG - VM ctest-TestRoutersBasic-16686082-19390103 launched on Node cn-jenkins-deploy-platform-ansible-os-4181-1
2025-09-24 08:03:03,450 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1b405f3c-a68b-4de9-a1b1-744a90648969
2025-09-24 08:03:03,737 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1b405f3c-a68b-4de9-a1b1-744a90648969
2025-09-24 08:03:03,765 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/72b519a8-2a5b-4a34-8463-931926218bf9
2025-09-24 08:03:07,015 - 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 1023ms')
2025-09-24 08:03:07,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16686082-19390103 failed!
2025-09-24 08:03:07,070 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16686082:ctest-vn-11415750 is 170.161.62.129 and allocation pool is NOT set
2025-09-24 08:03:09,134 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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 = 0.408/1.519/2.631/1.111 ms')
2025-09-24 08:03:09,134 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16686082-19390103 passed
2025-09-24 08:03:09,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 08:03:09,286 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16686082-19390103, IP 170.161.62.131, Port 22
2025-09-24 08:03:09,437 - DEBUG - VM ctest-TestRoutersBasic-16686082-19390103 is ready for SSH connections
2025-09-24 08:03:09,437 - INFO - Waiting for VM ctest-TestRoutersBasic-16686082-17435699 to be up..
2025-09-24 08:03:09,506 - DEBUG - VM is in ACTIVE state now
2025-09-24 08:03:09,506 - INFO - VM name : ctest-TestRoutersBasic-16686082-17435699
2025-09-24 08:03:09,565 - DEBUG - VM ctest-TestRoutersBasic-16686082-17435699 ID is 8af15faf-2951-4cf4-9f8e-7f66c71eadb2
2025-09-24 08:03:09,566 - DEBUG - VM ctest-TestRoutersBasic-16686082-17435699 launched on Node cn-jenkins-deploy-platform-ansible-os-4181-1
2025-09-24 08:03:09,624 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8af15faf-2951-4cf4-9f8e-7f66c71eadb2
2025-09-24 08:03:09,630 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/cfdf03dc-0085-4893-929b-011fcaf374ad
2025-09-24 08:03:10,861 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.77 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.766/3.191/4.617/1.425 ms')
2025-09-24 08:03:10,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16686082-17435699 passed
2025-09-24 08:03:11,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 08:03:11,026 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16686082-17435699, IP 109.230.37.67, Port 22
2025-09-24 08:03:11,182 - DEBUG - VM ctest-TestRoutersBasic-16686082-17435699 is ready for SSH connections
2025-09-24 08:03:11,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 08:03:11,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.230.37.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-09-24 08:03:11,182 - DEBUG - ping -s 56 -c 3 -W 1 109.230.37.67
2025-09-24 08:03:15,006 - DEBUG - PING 109.230.37.67 (109.230.37.67): 56 data bytes
64 bytes from 109.230.37.67: seq=0 ttl=62 time=3.775 ms
64 bytes from 109.230.37.67: seq=1 ttl=62 time=0.845 ms
64 bytes from 109.230.37.67: seq=2 ttl=62 time=0.694 ms
--- 109.230.37.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.694/1.771/3.775 ms
2025-09-24 08:03:15,006 - INFO - Ping to IP 109.230.37.67 from VM ctest-TestRoutersBasic-16686082-19390103 passed
2025-09-24 08:03:15,006 - INFO - Deleting interface with subnet_id 1dfa3d41-b5d1-428f-92ed-77fff05268f7, port_id None from router c7ca9812-fa2d-4699-a543-f7469d8ad979
2025-09-24 08:03:15,176 - INFO - Deleting VM ctest-TestRoutersBasic-16686082-17435699
2025-09-24 08:03:15,256 - INFO - Deleting VM ctest-TestRoutersBasic-16686082-19390103
2025-09-24 08:03:15,328 - INFO - Deleting VN ctest-ext_vn-29767800
2025-09-24 08:03:15,406 - DEBUG - VN 30b562fd-490d-4ea2-84cc-5b450d2cd60e still in use: Unable to complete operation on network 30b562fd-490d-4ea2-84cc-5b450d2cd60e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-30eb448b-b3e6-4d95-8037-be1cf87d6756']
2025-09-24 08:03:15,406 - WARNING - Deleting VN ctest-ext_vn-29767800 failed..Will retry
2025-09-24 08:03:17,501 - DEBUG - Response for deleting network ()
2025-09-24 08:03:17,501 - INFO - Deleting VN ctest-vn-11415750
2025-09-24 08:03:17,588 - DEBUG - Response for deleting network ()
2025-09-24 08:03:17,842 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 08:03:17,842 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-09-24 08:03:17,842 - INFO - --------------------------------------------------------------------------------
2025-09-24 08:03:18,478 - INFO - Deleted project: ctest-TestRoutersBasic-16686082, ID : 2761c9e1-0819-46f2-ad2b-3bf1fcf7b668