2025-08-28 16:47:55,741 - INFO - Domain Default found not creating
2025-08-28 16:47:55,886 - INFO - Project ctest-TestRoutersBasic-54330490 not found, creating it
2025-08-28 16:47:56,325 - INFO - Created Project:ctest-TestRoutersBasic-54330490, ID : e8e459f5-466b-402f-91c9-069a7f4adabf
2025-08-28 16:47:57,730 - INFO - ================================================================================
2025-08-28 16:47:57,730 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-28 16:47:57,731 - 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-28 16:47:57,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-08-28 16:47:57,990 - INFO - Initial checks done. Running the testcase now
2025-08-28 16:47:57,990 - INFO -
2025-08-28 16:47:58,704 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54330490
2025-08-28 16:47:58,800 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54330490
2025-08-28 16:47:59,124 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54330490', 'default']}
2025-08-28 16:47:59,404 - DEBUG - Response for create_network : {'network': {'id': 'ec0c8af2-a4b1-4d7f-be25-843c91e54b84', 'name': 'ctest-vn-24316233', 'tenant_id': 'e8e459f5466b402f91c9069a7f4adabf', 'project_id': 'e8e459f5466b402f91c9069a7f4adabf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54330490', 'ctest-vn-24316233'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 16:47:59,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '4844be9d-15ca-4d0d-b6aa-b8a7b24e3f2d', 'name': '', 'tenant_id': 'e8e459f5466b402f91c9069a7f4adabf', 'network_id': 'ec0c8af2-a4b1-4d7f-be25-843c91e54b84', 'ip_version': 4, 'cidr': '59.159.10.64/26', 'allocation_pools': [{'start': '59.159.10.66', 'end': '59.159.10.126'}], 'gateway_ip': '59.159.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.159.10.66', 'tags': [], 'project_id': 'e8e459f5466b402f91c9069a7f4adabf'}}
2025-08-28 16:47:59,620 - INFO - Created VN ctest-vn-24316233
2025-08-28 16:47:59,672 - DEBUG - VN ctest-vn-24316233 UUID is ec0c8af2-a4b1-4d7f-be25-843c91e54b84
2025-08-28 16:48:00,008 - DEBUG - Response for create_network : {'network': {'id': '05ad272b-e5c7-4a4e-a557-227bebb59bf6', 'name': 'ctest-ext_vn-51434718', 'tenant_id': 'e8e459f5466b402f91c9069a7f4adabf', 'project_id': 'e8e459f5466b402f91c9069a7f4adabf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54330490', 'ctest-ext_vn-51434718'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 16:48:00,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '171a1d4e-2e34-4fd0-8150-25b8d85c6865', 'name': '', 'tenant_id': 'e8e459f5466b402f91c9069a7f4adabf', 'network_id': '05ad272b-e5c7-4a4e-a557-227bebb59bf6', 'ip_version': 4, 'cidr': '185.138.165.128/26', 'allocation_pools': [{'start': '185.138.165.130', 'end': '185.138.165.190'}], 'gateway_ip': '185.138.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.138.165.130', 'tags': [], 'project_id': 'e8e459f5466b402f91c9069a7f4adabf'}}
2025-08-28 16:48:00,194 - INFO - Created VN ctest-ext_vn-51434718
2025-08-28 16:48:00,244 - DEBUG - VN ctest-ext_vn-51434718 UUID is 05ad272b-e5c7-4a4e-a557-227bebb59bf6
2025-08-28 16:48:00,411 - DEBUG - Services list from nova: [, , ]
2025-08-28 16:48:01,441 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3961-1)
2025-08-28 16:48:02,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3961-1)
2025-08-28 16:48:02,682 - INFO - Setting gateway for router 0028ef60-d270-40ab-9a8e-cfc58d4072b1 to network 05ad272b-e5c7-4a4e-a557-227bebb59bf6
2025-08-28 16:48:02,743 - INFO - Adding interface with subnet_id 4844be9d-15ca-4d0d-b6aa-b8a7b24e3f2d, port_id None to router 0028ef60-d270-40ab-9a8e-cfc58d4072b1
2025-08-28 16:48:03,205 - INFO - Waiting for VM ctest-TestRoutersBasic-54330490-13281244 to be up..
2025-08-28 16:48:03,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-28 16:48:08,460 - DEBUG - VM is in ACTIVE state now
2025-08-28 16:48:08,460 - INFO - VM name : ctest-TestRoutersBasic-54330490-13281244
2025-08-28 16:48:08,536 - DEBUG - VM ctest-TestRoutersBasic-54330490-13281244 ID is 7705fa8c-a05d-4d83-95f5-aac5e6e2db72
2025-08-28 16:48:08,554 - DEBUG - VM ctest-TestRoutersBasic-54330490-13281244 launched on Node cn-jenkins-deploy-platform-ansible-os-3961-1
2025-08-28 16:48:08,640 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/7705fa8c-a05d-4d83-95f5-aac5e6e2db72
2025-08-28 16:48:08,942 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/7705fa8c-a05d-4d83-95f5-aac5e6e2db72
2025-08-28 16:48:08,972 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6c9b4ead-40ae-4f0b-9593-7eab0a3be18e
2025-08-28 16:48:12,222 - 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 1007ms')
2025-08-28 16:48:12,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54330490-13281244 failed!
2025-08-28 16:48:12,280 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54330490:ctest-vn-24316233 is 59.159.10.65 and allocation pool is NOT set
2025-08-28 16:48:14,337 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/1.604/2.815/1.211 ms')
2025-08-28 16:48:14,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54330490-13281244 passed
2025-08-28 16:48:14,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:48:14,488 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54330490-13281244, IP 59.159.10.67, Port 22
2025-08-28 16:48:14,666 - DEBUG - VM ctest-TestRoutersBasic-54330490-13281244 is ready for SSH connections
2025-08-28 16:48:14,667 - INFO - Waiting for VM ctest-TestRoutersBasic-54330490-29386799 to be up..
2025-08-28 16:48:14,742 - DEBUG - VM is in ACTIVE state now
2025-08-28 16:48:14,742 - INFO - VM name : ctest-TestRoutersBasic-54330490-29386799
2025-08-28 16:48:14,817 - DEBUG - VM ctest-TestRoutersBasic-54330490-29386799 ID is 9701ace5-132e-4c45-9f33-4795dc37cf01
2025-08-28 16:48:14,818 - DEBUG - VM ctest-TestRoutersBasic-54330490-29386799 launched on Node cn-jenkins-deploy-platform-ansible-os-3961-1
2025-08-28 16:48:14,891 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9701ace5-132e-4c45-9f33-4795dc37cf01
2025-08-28 16:48:14,899 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/46935cf7-1fa1-4c8d-b160-942e068069ce
2025-08-28 16:48:16,130 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.570 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.570/1.753/2.936/1.183 ms')
2025-08-28 16:48:16,130 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54330490-29386799 passed
2025-08-28 16:48:16,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:48:16,276 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54330490-29386799, IP 185.138.165.131, Port 22
2025-08-28 16:48:16,428 - DEBUG - VM ctest-TestRoutersBasic-54330490-29386799 is ready for SSH connections
2025-08-28 16:48:16,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:48:16,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.138.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-28 16:48:16,428 - DEBUG - ping -s 56 -c 3 -W 1 185.138.165.131
2025-08-28 16:48:20,123 - DEBUG - PING 185.138.165.131 (185.138.165.131): 56 data bytes
64 bytes from 185.138.165.131: seq=0 ttl=62 time=5.935 ms
64 bytes from 185.138.165.131: seq=1 ttl=62 time=0.875 ms
64 bytes from 185.138.165.131: seq=2 ttl=62 time=0.913 ms
--- 185.138.165.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.875/2.574/5.935 ms
2025-08-28 16:48:20,123 - INFO - Ping to IP 185.138.165.131 from VM ctest-TestRoutersBasic-54330490-13281244 passed
2025-08-28 16:48:20,123 - INFO - Deleting interface with subnet_id 4844be9d-15ca-4d0d-b6aa-b8a7b24e3f2d, port_id None from router 0028ef60-d270-40ab-9a8e-cfc58d4072b1
2025-08-28 16:48:20,327 - INFO - Deleting VM ctest-TestRoutersBasic-54330490-29386799
2025-08-28 16:48:20,398 - INFO - Deleting VM ctest-TestRoutersBasic-54330490-13281244
2025-08-28 16:48:20,475 - INFO - Deleting VN ctest-ext_vn-51434718
2025-08-28 16:48:20,543 - DEBUG - VN 05ad272b-e5c7-4a4e-a557-227bebb59bf6 still in use: Unable to complete operation on network 05ad272b-e5c7-4a4e-a557-227bebb59bf6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cbed06ae-e380-4ee9-9f03-3ac2cda91899']
2025-08-28 16:48:20,543 - WARNING - Deleting VN ctest-ext_vn-51434718 failed..Will retry
2025-08-28 16:48:22,641 - DEBUG - Response for deleting network ()
2025-08-28 16:48:22,641 - INFO - Deleting VN ctest-vn-24316233
2025-08-28 16:48:22,747 - DEBUG - Response for deleting network ()
2025-08-28 16:48:23,012 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 16:48:23,012 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-28 16:48:23,012 - INFO - --------------------------------------------------------------------------------
2025-08-28 16:48:23,733 - INFO - Deleted project: ctest-TestRoutersBasic-54330490, ID : e8e459f5-466b-402f-91c9-069a7f4adabf