2025-07-11 10:55:29,597 - INFO - Domain Default found not creating
2025-07-11 10:55:29,761 - INFO - Project ctest-TestRoutersBasic-61196028 not found, creating it
2025-07-11 10:55:30,237 - INFO - Created Project:ctest-TestRoutersBasic-61196028, ID : bfd5e928-2a4a-40af-9175-d6cf95f99557
2025-07-11 10:55:31,888 - INFO - ================================================================================
2025-07-11 10:55:31,888 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-11 10:55:31,888 - 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-07-11 10:55:32,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-07-11 10:55:32,142 - INFO - Initial checks done. Running the testcase now
2025-07-11 10:55:32,143 - INFO -
2025-07-11 10:55:32,940 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61196028
2025-07-11 10:55:33,036 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61196028
2025-07-11 10:55:33,384 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61196028', 'default']}
2025-07-11 10:55:33,727 - DEBUG - Response for create_network : {'network': {'id': '620a61ba-b6e4-4eba-824b-47ad7b07a1cf', 'name': 'ctest-vn-35933038', 'tenant_id': 'bfd5e9282a4a40af9175d6cf95f99557', 'project_id': 'bfd5e9282a4a40af9175d6cf95f99557', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61196028', 'ctest-vn-35933038'], 'port_security_enabled': True, 'description': ''}}
2025-07-11 10:55:33,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '2daa5d32-5fed-4c46-9f52-e141833023e4', 'name': '', 'tenant_id': 'bfd5e9282a4a40af9175d6cf95f99557', 'network_id': '620a61ba-b6e4-4eba-824b-47ad7b07a1cf', 'ip_version': 4, 'cidr': '101.213.237.64/26', 'allocation_pools': [{'start': '101.213.237.66', 'end': '101.213.237.126'}], 'gateway_ip': '101.213.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.213.237.66', 'tags': [], 'project_id': 'bfd5e9282a4a40af9175d6cf95f99557'}}
2025-07-11 10:55:33,992 - INFO - Created VN ctest-vn-35933038
2025-07-11 10:55:34,052 - DEBUG - VN ctest-vn-35933038 UUID is 620a61ba-b6e4-4eba-824b-47ad7b07a1cf
2025-07-11 10:55:34,438 - DEBUG - Response for create_network : {'network': {'id': '7c7f193a-2a74-4956-895b-8047c7e18b29', 'name': 'ctest-ext_vn-63148804', 'tenant_id': 'bfd5e9282a4a40af9175d6cf95f99557', 'project_id': 'bfd5e9282a4a40af9175d6cf95f99557', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61196028', 'ctest-ext_vn-63148804'], 'port_security_enabled': True, 'description': ''}}
2025-07-11 10:55:34,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '91c99c68-0749-4123-bbff-8addeccd9bcd', 'name': '', 'tenant_id': 'bfd5e9282a4a40af9175d6cf95f99557', 'network_id': '7c7f193a-2a74-4956-895b-8047c7e18b29', 'ip_version': 4, 'cidr': '108.230.57.192/26', 'allocation_pools': [{'start': '108.230.57.194', 'end': '108.230.57.254'}], 'gateway_ip': '108.230.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.230.57.194', 'tags': [], 'project_id': 'bfd5e9282a4a40af9175d6cf95f99557'}}
2025-07-11 10:55:34,676 - INFO - Created VN ctest-ext_vn-63148804
2025-07-11 10:55:34,732 - DEBUG - VN ctest-ext_vn-63148804 UUID is 7c7f193a-2a74-4956-895b-8047c7e18b29
2025-07-11 10:55:34,923 - DEBUG - Services list from nova: [, , ]
2025-07-11 10:55:36,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3628-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3628-1)
2025-07-11 10:55:37,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3628-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3628-1)
2025-07-11 10:55:37,441 - INFO - Setting gateway for router 94fcd22c-6989-4099-801c-8f1543da49d1 to network 7c7f193a-2a74-4956-895b-8047c7e18b29
2025-07-11 10:55:37,506 - INFO - Adding interface with subnet_id 2daa5d32-5fed-4c46-9f52-e141833023e4, port_id None to router 94fcd22c-6989-4099-801c-8f1543da49d1
2025-07-11 10:55:37,957 - INFO - Waiting for VM ctest-TestRoutersBasic-61196028-79263217 to be up..
2025-07-11 10:55:38,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-11 10:55:43,214 - DEBUG - VM is in ACTIVE state now
2025-07-11 10:55:43,214 - INFO - VM name : ctest-TestRoutersBasic-61196028-79263217
2025-07-11 10:55:43,298 - DEBUG - VM ctest-TestRoutersBasic-61196028-79263217 ID is 3497c45b-b59d-40b0-8e14-2ea27484892a
2025-07-11 10:55:43,319 - DEBUG - VM ctest-TestRoutersBasic-61196028-79263217 launched on Node cn-jenkins-deploy-platform-ansible-os-3628-1
2025-07-11 10:55:43,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3497c45b-b59d-40b0-8e14-2ea27484892a
2025-07-11 10:55:43,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3497c45b-b59d-40b0-8e14-2ea27484892a
2025-07-11 10:55:43,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1c7751ec-b320-4b8e-885f-56b3c757301a
2025-07-11 10:55:47,050 - 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 1014ms')
2025-07-11 10:55:47,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61196028-79263217 failed!
2025-07-11 10:55:47,108 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61196028:ctest-vn-35933038 is 101.213.237.65 and allocation pool is NOT set
2025-07-11 10:55:49,167 - 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=3.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.589 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.589/2.241/3.893/1.652 ms')
2025-07-11 10:55:49,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61196028-79263217 passed
2025-07-11 10:55:49,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-11 10:55:49,324 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61196028-79263217, IP 101.213.237.67, Port 22
2025-07-11 10:55:49,494 - DEBUG - VM ctest-TestRoutersBasic-61196028-79263217 is ready for SSH connections
2025-07-11 10:55:49,494 - INFO - Waiting for VM ctest-TestRoutersBasic-61196028-82830196 to be up..
2025-07-11 10:55:49,574 - DEBUG - VM is in ACTIVE state now
2025-07-11 10:55:49,574 - INFO - VM name : ctest-TestRoutersBasic-61196028-82830196
2025-07-11 10:55:49,651 - DEBUG - VM ctest-TestRoutersBasic-61196028-82830196 ID is 4c6b7ded-a663-4ed1-b7a3-2e092629f0c2
2025-07-11 10:55:49,651 - DEBUG - VM ctest-TestRoutersBasic-61196028-82830196 launched on Node cn-jenkins-deploy-platform-ansible-os-3628-1
2025-07-11 10:55:49,726 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4c6b7ded-a663-4ed1-b7a3-2e092629f0c2
2025-07-11 10:55:49,736 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1b5cb73b-a4b5-4752-9f69-8fbf4e1340c5
2025-07-11 10:55:50,988 - 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=5.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.892 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.892/3.092/5.293/2.200 ms')
2025-07-11 10:55:50,988 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61196028-82830196 passed
2025-07-11 10:55:51,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-11 10:55:51,144 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61196028-82830196, IP 108.230.57.195, Port 22
2025-07-11 10:55:51,310 - DEBUG - VM ctest-TestRoutersBasic-61196028-82830196 is ready for SSH connections
2025-07-11 10:55:51,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-11 10:55:51,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.230.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-11 10:55:51,311 - DEBUG - ping -s 56 -c 3 -W 1 108.230.57.195
2025-07-11 10:55:55,048 - DEBUG - PING 108.230.57.195 (108.230.57.195): 56 data bytes
64 bytes from 108.230.57.195: seq=0 ttl=62 time=7.282 ms
64 bytes from 108.230.57.195: seq=1 ttl=62 time=1.076 ms
64 bytes from 108.230.57.195: seq=2 ttl=62 time=0.928 ms
--- 108.230.57.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.928/3.095/7.282 ms
2025-07-11 10:55:55,048 - INFO - Ping to IP 108.230.57.195 from VM ctest-TestRoutersBasic-61196028-79263217 passed
2025-07-11 10:55:55,048 - INFO - Deleting interface with subnet_id 2daa5d32-5fed-4c46-9f52-e141833023e4, port_id None from router 94fcd22c-6989-4099-801c-8f1543da49d1
2025-07-11 10:55:55,263 - INFO - Deleting VM ctest-TestRoutersBasic-61196028-82830196
2025-07-11 10:55:55,337 - INFO - Deleting VM ctest-TestRoutersBasic-61196028-79263217
2025-07-11 10:55:55,432 - INFO - Deleting VN ctest-ext_vn-63148804
2025-07-11 10:55:55,513 - DEBUG - VN 7c7f193a-2a74-4956-895b-8047c7e18b29 still in use: Unable to complete operation on network 7c7f193a-2a74-4956-895b-8047c7e18b29. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d82d8dce-4066-4178-b7a0-fdf99ca0da10']
2025-07-11 10:55:55,513 - WARNING - Deleting VN ctest-ext_vn-63148804 failed..Will retry
2025-07-11 10:55:57,636 - DEBUG - Response for deleting network ()
2025-07-11 10:55:57,636 - INFO - Deleting VN ctest-vn-35933038
2025-07-11 10:55:57,760 - DEBUG - Response for deleting network ()
2025-07-11 10:55:58,030 - DEBUG - No XMPP flaps were noticed during the test
2025-07-11 10:55:58,030 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-07-11 10:55:58,030 - INFO - --------------------------------------------------------------------------------
2025-07-11 10:55:58,789 - INFO - Deleted project: ctest-TestRoutersBasic-61196028, ID : bfd5e928-2a4a-40af-9175-d6cf95f99557