2025-08-07 19:58:07,524 - INFO - Domain Default found not creating
2025-08-07 19:58:07,689 - INFO - Project ctest-TestRoutersBasic-02425648 not found, creating it
2025-08-07 19:58:08,158 - INFO - Created Project:ctest-TestRoutersBasic-02425648, ID : 1fa45d2f-b253-4331-a760-286142fc9dd9
2025-08-07 19:58:09,677 - INFO - ================================================================================
2025-08-07 19:58:09,677 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-07 19:58:09,677 - 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-08-07 19:58:09,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-07 19:58:09,934 - INFO - Initial checks done. Running the testcase now
2025-08-07 19:58:09,934 - INFO -
2025-08-07 19:58:10,717 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02425648
2025-08-07 19:58:10,816 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02425648
2025-08-07 19:58:11,143 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02425648', 'default']}
2025-08-07 19:58:11,455 - DEBUG - Response for create_network : {'network': {'id': 'f6cb2c54-69fe-4171-a842-7cef4002cec6', 'name': 'ctest-vn-10289805', 'tenant_id': '1fa45d2fb2534331a760286142fc9dd9', 'project_id': '1fa45d2fb2534331a760286142fc9dd9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02425648', 'ctest-vn-10289805'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 19:58:11,664 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b94e41f5-2ac6-4496-85b9-5d5ab264966d', 'name': '', 'tenant_id': '1fa45d2fb2534331a760286142fc9dd9', 'network_id': 'f6cb2c54-69fe-4171-a842-7cef4002cec6', 'ip_version': 4, 'cidr': '198.131.195.0/26', 'allocation_pools': [{'start': '198.131.195.2', 'end': '198.131.195.62'}], 'gateway_ip': '198.131.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.131.195.2', 'tags': [], 'project_id': '1fa45d2fb2534331a760286142fc9dd9'}}
2025-08-07 19:58:11,682 - INFO - Created VN ctest-vn-10289805
2025-08-07 19:58:11,736 - DEBUG - VN ctest-vn-10289805 UUID is f6cb2c54-69fe-4171-a842-7cef4002cec6
2025-08-07 19:58:12,095 - DEBUG - Response for create_network : {'network': {'id': '4ef3a801-c569-4143-8e73-a3dbb983c7cf', 'name': 'ctest-ext_vn-56357626', 'tenant_id': '1fa45d2fb2534331a760286142fc9dd9', 'project_id': '1fa45d2fb2534331a760286142fc9dd9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02425648', 'ctest-ext_vn-56357626'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 19:58:12,278 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eeb4aac5-f679-49c8-849b-b6c83f162fac', 'name': '', 'tenant_id': '1fa45d2fb2534331a760286142fc9dd9', 'network_id': '4ef3a801-c569-4143-8e73-a3dbb983c7cf', 'ip_version': 4, 'cidr': '182.234.79.192/26', 'allocation_pools': [{'start': '182.234.79.194', 'end': '182.234.79.254'}], 'gateway_ip': '182.234.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.234.79.194', 'tags': [], 'project_id': '1fa45d2fb2534331a760286142fc9dd9'}}
2025-08-07 19:58:12,295 - INFO - Created VN ctest-ext_vn-56357626
2025-08-07 19:58:12,347 - DEBUG - VN ctest-ext_vn-56357626 UUID is 4ef3a801-c569-4143-8e73-a3dbb983c7cf
2025-08-07 19:58:12,520 - DEBUG - Services list from nova: [, , ]
2025-08-07 19:58:13,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3776-1)
2025-08-07 19:58:14,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3776-1)
2025-08-07 19:58:14,826 - INFO - Setting gateway for router fc519d87-cf49-43cb-ab85-0213584568a0 to network 4ef3a801-c569-4143-8e73-a3dbb983c7cf
2025-08-07 19:58:14,891 - INFO - Adding interface with subnet_id b94e41f5-2ac6-4496-85b9-5d5ab264966d, port_id None to router fc519d87-cf49-43cb-ab85-0213584568a0
2025-08-07 19:58:15,314 - INFO - Waiting for VM ctest-TestRoutersBasic-02425648-84812166 to be up..
2025-08-07 19:58:15,487 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-07 19:58:20,574 - DEBUG - VM is in ACTIVE state now
2025-08-07 19:58:20,575 - INFO - VM name : ctest-TestRoutersBasic-02425648-84812166
2025-08-07 19:58:20,653 - DEBUG - VM ctest-TestRoutersBasic-02425648-84812166 ID is c6d219c7-68b5-4e8f-9ad5-69ff1f6f5cc6
2025-08-07 19:58:20,672 - DEBUG - VM ctest-TestRoutersBasic-02425648-84812166 launched on Node cn-jenkins-deploy-platform-ansible-os-3776-1
2025-08-07 19:58:20,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c6d219c7-68b5-4e8f-9ad5-69ff1f6f5cc6
2025-08-07 19:58:21,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c6d219c7-68b5-4e8f-9ad5-69ff1f6f5cc6
2025-08-07 19:58:21,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7239a7ce-85b1-453d-a21c-5a60d9d1f035
2025-08-07 19:58:24,374 - 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 1019ms')
2025-08-07 19:58:24,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02425648-84812166 failed!
2025-08-07 19:58:24,428 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02425648:ctest-vn-10289805 is 198.131.195.1 and allocation pool is NOT set
2025-08-07 19:58:26,486 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.934 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 = 0.934/5.465/9.996/4.531 ms')
2025-08-07 19:58:26,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02425648-84812166 passed
2025-08-07 19:58:26,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 19:58:26,640 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02425648-84812166, IP 198.131.195.3, Port 22
2025-08-07 19:58:26,809 - DEBUG - VM ctest-TestRoutersBasic-02425648-84812166 is ready for SSH connections
2025-08-07 19:58:26,809 - INFO - Waiting for VM ctest-TestRoutersBasic-02425648-86137376 to be up..
2025-08-07 19:58:26,892 - DEBUG - VM is in ACTIVE state now
2025-08-07 19:58:26,892 - INFO - VM name : ctest-TestRoutersBasic-02425648-86137376
2025-08-07 19:58:26,971 - DEBUG - VM ctest-TestRoutersBasic-02425648-86137376 ID is d4cc9262-fa32-4d1f-8662-fef78960b4c3
2025-08-07 19:58:26,971 - DEBUG - VM ctest-TestRoutersBasic-02425648-86137376 launched on Node cn-jenkins-deploy-platform-ansible-os-3776-1
2025-08-07 19:58:27,044 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d4cc9262-fa32-4d1f-8662-fef78960b4c3
2025-08-07 19:58:27,052 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c53795f1-6ee7-43c0-a3f5-57b6c3c02796
2025-08-07 19:58:28,297 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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 = 1.405/2.754/4.103/1.349 ms')
2025-08-07 19:58:28,298 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02425648-86137376 passed
2025-08-07 19:58:28,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 19:58:28,456 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02425648-86137376, IP 182.234.79.195, Port 22
2025-08-07 19:58:28,615 - DEBUG - VM ctest-TestRoutersBasic-02425648-86137376 is ready for SSH connections
2025-08-07 19:58:28,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 19:58:28,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.234.79.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-07 19:58:28,615 - DEBUG - ping -s 56 -c 3 -W 1 182.234.79.195
2025-08-07 19:58:32,643 - DEBUG - PING 182.234.79.195 (182.234.79.195): 56 data bytes
64 bytes from 182.234.79.195: seq=0 ttl=62 time=6.488 ms
64 bytes from 182.234.79.195: seq=1 ttl=62 time=0.982 ms
64 bytes from 182.234.79.195: seq=2 ttl=62 time=1.023 ms
--- 182.234.79.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.982/2.831/6.488 ms
2025-08-07 19:58:32,643 - INFO - Ping to IP 182.234.79.195 from VM ctest-TestRoutersBasic-02425648-84812166 passed
2025-08-07 19:58:32,643 - INFO - Deleting interface with subnet_id b94e41f5-2ac6-4496-85b9-5d5ab264966d, port_id None from router fc519d87-cf49-43cb-ab85-0213584568a0
2025-08-07 19:58:32,863 - INFO - Deleting VM ctest-TestRoutersBasic-02425648-86137376
2025-08-07 19:58:32,931 - INFO - Deleting VM ctest-TestRoutersBasic-02425648-84812166
2025-08-07 19:58:33,009 - INFO - Deleting VN ctest-ext_vn-56357626
2025-08-07 19:58:33,083 - DEBUG - VN 4ef3a801-c569-4143-8e73-a3dbb983c7cf still in use: Unable to complete operation on network 4ef3a801-c569-4143-8e73-a3dbb983c7cf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d89976f3-e679-4010-9ddb-3e5ec7c207b5']
2025-08-07 19:58:33,083 - WARNING - Deleting VN ctest-ext_vn-56357626 failed..Will retry
2025-08-07 19:58:35,193 - DEBUG - Response for deleting network ()
2025-08-07 19:58:35,193 - INFO - Deleting VN ctest-vn-10289805
2025-08-07 19:58:35,299 - DEBUG - Response for deleting network ()
2025-08-07 19:58:35,565 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 19:58:35,566 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-07 19:58:35,566 - INFO - --------------------------------------------------------------------------------
2025-08-07 19:58:36,289 - INFO - Deleted project: ctest-TestRoutersBasic-02425648, ID : 1fa45d2f-b253-4331-a760-286142fc9dd9