2025-06-24 15:45:51,494 - INFO - Domain Default found not creating
2025-06-24 15:45:51,643 - INFO - Project ctest-TestRoutersBasic-80078267 not found, creating it
2025-06-24 15:45:52,093 - INFO - Created Project:ctest-TestRoutersBasic-80078267, ID : b8d88763-a892-47e8-831c-7d1fed0b4d75
2025-06-24 15:45:53,514 - INFO - ================================================================================
2025-06-24 15:45:53,514 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-24 15:45:53,514 - 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-24 15:45:53,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-06-24 15:45:53,777 - INFO - Initial checks done. Running the testcase now
2025-06-24 15:45:53,777 - INFO -
2025-06-24 15:45:54,474 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80078267
2025-06-24 15:45:54,568 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80078267
2025-06-24 15:45:54,896 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80078267', 'default']}
2025-06-24 15:45:55,205 - DEBUG - Response for create_network : {'network': {'id': 'd7776f54-1184-4dd1-af76-1b834ac891b1', 'name': 'ctest-vn-16069154', 'tenant_id': 'b8d88763a89247e8831c7d1fed0b4d75', 'project_id': 'b8d88763a89247e8831c7d1fed0b4d75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80078267', 'ctest-vn-16069154'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 15:45:55,369 - DEBUG - Response for create_subnet : {'subnet': {'id': '85704854-44ec-4409-bbb9-3075b888af48', 'name': '', 'tenant_id': 'b8d88763a89247e8831c7d1fed0b4d75', 'network_id': 'd7776f54-1184-4dd1-af76-1b834ac891b1', 'ip_version': 4, 'cidr': '74.142.155.128/26', 'allocation_pools': [{'start': '74.142.155.130', 'end': '74.142.155.190'}], 'gateway_ip': '74.142.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.142.155.130', 'tags': [], 'project_id': 'b8d88763a89247e8831c7d1fed0b4d75'}}
2025-06-24 15:45:55,388 - INFO - Created VN ctest-vn-16069154
2025-06-24 15:45:55,440 - DEBUG - VN ctest-vn-16069154 UUID is d7776f54-1184-4dd1-af76-1b834ac891b1
2025-06-24 15:45:55,747 - DEBUG - Response for create_network : {'network': {'id': '6e26d9f4-1990-48b4-9e98-d3f399f6e67b', 'name': 'ctest-ext_vn-09399958', 'tenant_id': 'b8d88763a89247e8831c7d1fed0b4d75', 'project_id': 'b8d88763a89247e8831c7d1fed0b4d75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80078267', 'ctest-ext_vn-09399958'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 15:45:55,951 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc182c88-dbea-45be-b5c5-8dac7dffefd9', 'name': '', 'tenant_id': 'b8d88763a89247e8831c7d1fed0b4d75', 'network_id': '6e26d9f4-1990-48b4-9e98-d3f399f6e67b', 'ip_version': 4, 'cidr': '155.173.139.192/26', 'allocation_pools': [{'start': '155.173.139.194', 'end': '155.173.139.254'}], 'gateway_ip': '155.173.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.173.139.194', 'tags': [], 'project_id': 'b8d88763a89247e8831c7d1fed0b4d75'}}
2025-06-24 15:45:55,973 - INFO - Created VN ctest-ext_vn-09399958
2025-06-24 15:45:56,028 - DEBUG - VN ctest-ext_vn-09399958 UUID is 6e26d9f4-1990-48b4-9e98-d3f399f6e67b
2025-06-24 15:45:56,206 - DEBUG - Services list from nova: [, , ]
2025-06-24 15:45:57,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3539-1)
2025-06-24 15:45:58,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3539-1)
2025-06-24 15:45:58,618 - INFO - Setting gateway for router b0a68f3f-7ad2-45d2-83cb-e36f13a39f81 to network 6e26d9f4-1990-48b4-9e98-d3f399f6e67b
2025-06-24 15:45:58,743 - INFO - Adding interface with subnet_id 85704854-44ec-4409-bbb9-3075b888af48, port_id None to router b0a68f3f-7ad2-45d2-83cb-e36f13a39f81
2025-06-24 15:45:59,244 - INFO - Waiting for VM ctest-TestRoutersBasic-80078267-28772783 to be up..
2025-06-24 15:45:59,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-24 15:46:04,484 - DEBUG - VM is in ACTIVE state now
2025-06-24 15:46:04,484 - INFO - VM name : ctest-TestRoutersBasic-80078267-28772783
2025-06-24 15:46:04,568 - DEBUG - VM ctest-TestRoutersBasic-80078267-28772783 ID is 9f7509f4-5844-486a-bc0f-6df29f43b4ed
2025-06-24 15:46:04,588 - DEBUG - VM ctest-TestRoutersBasic-80078267-28772783 launched on Node cn-jenkins-deploy-platform-ansible-os-3539-1
2025-06-24 15:46:04,666 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9f7509f4-5844-486a-bc0f-6df29f43b4ed
2025-06-24 15:46:04,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9f7509f4-5844-486a-bc0f-6df29f43b4ed
2025-06-24 15:46:04,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ac7cde46-f970-44b8-8874-9e32ff802270
2025-06-24 15:46:08,253 - 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 1018ms')
2025-06-24 15:46:08,253 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80078267-28772783 failed!
2025-06-24 15:46:08,308 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80078267:ctest-vn-16069154 is 74.142.155.129 and allocation pool is NOT set
2025-06-24 15:46:10,373 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.474/1.703/2.933/1.229 ms')
2025-06-24 15:46:10,374 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80078267-28772783 passed
2025-06-24 15:46:10,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 15:46:10,528 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80078267-28772783, IP 74.142.155.131, Port 22
2025-06-24 15:46:10,684 - DEBUG - VM ctest-TestRoutersBasic-80078267-28772783 is ready for SSH connections
2025-06-24 15:46:10,684 - INFO - Waiting for VM ctest-TestRoutersBasic-80078267-96045901 to be up..
2025-06-24 15:46:10,766 - DEBUG - VM is in ACTIVE state now
2025-06-24 15:46:10,766 - INFO - VM name : ctest-TestRoutersBasic-80078267-96045901
2025-06-24 15:46:10,841 - DEBUG - VM ctest-TestRoutersBasic-80078267-96045901 ID is aed24610-066b-4261-83e5-23cdfe2ce452
2025-06-24 15:46:10,841 - DEBUG - VM ctest-TestRoutersBasic-80078267-96045901 launched on Node cn-jenkins-deploy-platform-ansible-os-3539-1
2025-06-24 15:46:10,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aed24610-066b-4261-83e5-23cdfe2ce452
2025-06-24 15:46:10,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5df3a5e5-3cc7-48c5-a7a6-73fa5359b6d3
2025-06-24 15:46:12,163 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.855/3.284/1.429 ms')
2025-06-24 15:46:12,163 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80078267-96045901 passed
2025-06-24 15:46:12,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 15:46:12,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80078267-96045901, IP 155.173.139.195, Port 22
2025-06-24 15:46:12,463 - DEBUG - VM ctest-TestRoutersBasic-80078267-96045901 is ready for SSH connections
2025-06-24 15:46:12,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 15:46:12,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.173.139.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-24 15:46:12,464 - DEBUG - ping -s 56 -c 3 -W 1 155.173.139.195
2025-06-24 15:46:16,460 - DEBUG - PING 155.173.139.195 (155.173.139.195): 56 data bytes
64 bytes from 155.173.139.195: seq=0 ttl=62 time=4.071 ms
64 bytes from 155.173.139.195: seq=1 ttl=62 time=1.085 ms
64 bytes from 155.173.139.195: seq=2 ttl=62 time=0.972 ms
--- 155.173.139.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.972/2.042/4.071 ms
2025-06-24 15:46:16,460 - INFO - Ping to IP 155.173.139.195 from VM ctest-TestRoutersBasic-80078267-28772783 passed
2025-06-24 15:46:16,460 - INFO - Deleting interface with subnet_id 85704854-44ec-4409-bbb9-3075b888af48, port_id None from router b0a68f3f-7ad2-45d2-83cb-e36f13a39f81
2025-06-24 15:46:16,649 - INFO - Deleting VM ctest-TestRoutersBasic-80078267-96045901
2025-06-24 15:46:16,716 - INFO - Deleting VM ctest-TestRoutersBasic-80078267-28772783
2025-06-24 15:46:16,801 - INFO - Deleting VN ctest-ext_vn-09399958
2025-06-24 15:46:16,880 - DEBUG - VN 6e26d9f4-1990-48b4-9e98-d3f399f6e67b still in use: Unable to complete operation on network 6e26d9f4-1990-48b4-9e98-d3f399f6e67b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-58ba9b5e-ecbb-4c66-8e4a-40d0912a67d6']
2025-06-24 15:46:16,880 - WARNING - Deleting VN ctest-ext_vn-09399958 failed..Will retry
2025-06-24 15:46:18,988 - DEBUG - Response for deleting network ()
2025-06-24 15:46:18,988 - INFO - Deleting VN ctest-vn-16069154
2025-06-24 15:46:19,088 - DEBUG - Response for deleting network ()
2025-06-24 15:46:19,346 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 15:46:19,346 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-24 15:46:19,346 - INFO - --------------------------------------------------------------------------------
2025-06-24 15:46:20,027 - INFO - Deleted project: ctest-TestRoutersBasic-80078267, ID : b8d88763-a892-47e8-831c-7d1fed0b4d75