2025-04-08 12:32:50,790 - INFO - Domain Default found not creating
2025-04-08 12:32:50,974 - INFO - Project ctest-TestRoutersBasic-49057024 not found, creating it
2025-04-08 12:32:51,474 - INFO - Created Project:ctest-TestRoutersBasic-49057024, ID : 37a1400a-e509-49d7-9034-c38c65c1df60
2025-04-08 12:32:53,036 - INFO - ================================================================================
2025-04-08 12:32:53,036 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-08 12:32:53,037 - 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-04-08 12:32:53,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.13': '0'}} with
2025-04-08 12:32:53,302 - INFO - Initial checks done. Running the testcase now
2025-04-08 12:32:53,302 - INFO -
2025-04-08 12:32:54,017 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49057024
2025-04-08 12:32:54,119 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49057024
2025-04-08 12:32:54,459 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49057024', 'default']}
2025-04-08 12:32:54,789 - DEBUG - Response for create_network : {'network': {'id': 'b18e336b-d56e-45af-bc3a-219d86be04f3', 'name': 'ctest-vn-28152652', 'tenant_id': '37a1400ae50949d79034c38c65c1df60', 'project_id': '37a1400ae50949d79034c38c65c1df60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49057024', 'ctest-vn-28152652'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 12:32:55,005 - DEBUG - Response for create_subnet : {'subnet': {'id': '63d1d2ae-7e7b-4877-9908-9314e6134c72', 'name': '', 'tenant_id': '37a1400ae50949d79034c38c65c1df60', 'network_id': 'b18e336b-d56e-45af-bc3a-219d86be04f3', 'ip_version': 4, 'cidr': '82.124.233.128/26', 'allocation_pools': [{'start': '82.124.233.130', 'end': '82.124.233.190'}], 'gateway_ip': '82.124.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.124.233.130', 'tags': [], 'project_id': '37a1400ae50949d79034c38c65c1df60'}}
2025-04-08 12:32:55,025 - INFO - Created VN ctest-vn-28152652
2025-04-08 12:32:55,079 - DEBUG - VN ctest-vn-28152652 UUID is b18e336b-d56e-45af-bc3a-219d86be04f3
2025-04-08 12:32:55,483 - DEBUG - Response for create_network : {'network': {'id': '8c77949c-fb78-4fc9-b327-f8bcea52d8d8', 'name': 'ctest-ext_vn-76783906', 'tenant_id': '37a1400ae50949d79034c38c65c1df60', 'project_id': '37a1400ae50949d79034c38c65c1df60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49057024', 'ctest-ext_vn-76783906'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 12:32:55,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5ce7667-1c26-4b32-b4ca-15407379998f', 'name': '', 'tenant_id': '37a1400ae50949d79034c38c65c1df60', 'network_id': '8c77949c-fb78-4fc9-b327-f8bcea52d8d8', 'ip_version': 4, 'cidr': '113.236.31.0/26', 'allocation_pools': [{'start': '113.236.31.2', 'end': '113.236.31.62'}], 'gateway_ip': '113.236.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.236.31.2', 'tags': [], 'project_id': '37a1400ae50949d79034c38c65c1df60'}}
2025-04-08 12:32:55,702 - INFO - Created VN ctest-ext_vn-76783906
2025-04-08 12:32:55,755 - DEBUG - VN ctest-ext_vn-76783906 UUID is 8c77949c-fb78-4fc9-b327-f8bcea52d8d8
2025-04-08 12:32:55,937 - DEBUG - Services list from nova: [, , ]
2025-04-08 12:32:57,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3050-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3050-1)
2025-04-08 12:32:58,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3050-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3050-1)
2025-04-08 12:32:58,363 - INFO - Setting gateway for router 82adcf6a-56e0-4f2c-b8d5-0655ad28a1f6 to network 8c77949c-fb78-4fc9-b327-f8bcea52d8d8
2025-04-08 12:32:58,447 - INFO - Adding interface with subnet_id 63d1d2ae-7e7b-4877-9908-9314e6134c72, port_id None to router 82adcf6a-56e0-4f2c-b8d5-0655ad28a1f6
2025-04-08 12:32:59,041 - INFO - Waiting for VM ctest-TestRoutersBasic-49057024-37473782 to be up..
2025-04-08 12:32:59,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-08 12:33:04,332 - DEBUG - VM is in ACTIVE state now
2025-04-08 12:33:04,332 - INFO - VM name : ctest-TestRoutersBasic-49057024-37473782
2025-04-08 12:33:04,438 - DEBUG - VM ctest-TestRoutersBasic-49057024-37473782 ID is d49df46f-d675-4f56-bcbb-94773e3850b6
2025-04-08 12:33:04,465 - DEBUG - VM ctest-TestRoutersBasic-49057024-37473782 launched on Node cn-jenkins-deploy-platform-ansible-os-3050-1
2025-04-08 12:33:04,592 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d49df46f-d675-4f56-bcbb-94773e3850b6
2025-04-08 12:33:04,910 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d49df46f-d675-4f56-bcbb-94773e3850b6
2025-04-08 12:33:04,950 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/742feb6f-31fd-4965-bcbf-ef8782034c53
2025-04-08 12:33:08,219 - 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 1010ms')
2025-04-08 12:33:08,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49057024-37473782 failed!
2025-04-08 12:33:08,279 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49057024:ctest-vn-28152652 is 82.124.233.129 and allocation pool is NOT set
2025-04-08 12:33:10,346 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/2.275/4.123/1.848 ms')
2025-04-08 12:33:10,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49057024-37473782 passed
2025-04-08 12:33:10,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 12:33:10,504 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49057024-37473782, IP 82.124.233.131, Port 22
2025-04-08 12:33:10,681 - DEBUG - VM ctest-TestRoutersBasic-49057024-37473782 is ready for SSH connections
2025-04-08 12:33:10,681 - INFO - Waiting for VM ctest-TestRoutersBasic-49057024-87560284 to be up..
2025-04-08 12:33:10,790 - DEBUG - VM is in ACTIVE state now
2025-04-08 12:33:10,791 - INFO - VM name : ctest-TestRoutersBasic-49057024-87560284
2025-04-08 12:33:10,900 - DEBUG - VM ctest-TestRoutersBasic-49057024-87560284 ID is a8838cca-0393-41dc-a85f-dd85bb900303
2025-04-08 12:33:10,900 - DEBUG - VM ctest-TestRoutersBasic-49057024-87560284 launched on Node cn-jenkins-deploy-platform-ansible-os-3050-1
2025-04-08 12:33:11,006 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a8838cca-0393-41dc-a85f-dd85bb900303
2025-04-08 12:33:11,021 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/75d2f1a2-7341-4f12-9ce7-0b2696195801
2025-04-08 12:33:12,303 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.67 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 = 2.669/4.146/5.624/1.477 ms')
2025-04-08 12:33:12,304 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49057024-87560284 passed
2025-04-08 12:33:12,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 12:33:12,472 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49057024-87560284, IP 113.236.31.3, Port 22
2025-04-08 12:33:12,656 - DEBUG - VM ctest-TestRoutersBasic-49057024-87560284 is ready for SSH connections
2025-04-08 12:33:12,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 12:33:12,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.236.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-04-08 12:33:12,657 - DEBUG - ping -s 56 -c 3 -W 1 113.236.31.3
2025-04-08 12:33:16,491 - DEBUG - PING 113.236.31.3 (113.236.31.3): 56 data bytes
64 bytes from 113.236.31.3: seq=0 ttl=62 time=6.587 ms
64 bytes from 113.236.31.3: seq=1 ttl=62 time=1.570 ms
64 bytes from 113.236.31.3: seq=2 ttl=62 time=1.664 ms
--- 113.236.31.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.570/3.273/6.587 ms
2025-04-08 12:33:16,491 - INFO - Ping to IP 113.236.31.3 from VM ctest-TestRoutersBasic-49057024-37473782 passed
2025-04-08 12:33:16,491 - INFO - Deleting interface with subnet_id 63d1d2ae-7e7b-4877-9908-9314e6134c72, port_id None from router 82adcf6a-56e0-4f2c-b8d5-0655ad28a1f6
2025-04-08 12:33:16,751 - INFO - Deleting VM ctest-TestRoutersBasic-49057024-87560284
2025-04-08 12:33:16,875 - INFO - Deleting VM ctest-TestRoutersBasic-49057024-37473782
2025-04-08 12:33:17,022 - INFO - Deleting VN ctest-ext_vn-76783906
2025-04-08 12:33:17,161 - DEBUG - VN 8c77949c-fb78-4fc9-b327-f8bcea52d8d8 still in use: Unable to complete operation on network 8c77949c-fb78-4fc9-b327-f8bcea52d8d8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f70c1e9d-7d57-40a5-85e4-80bcb56fcb41']
2025-04-08 12:33:17,161 - WARNING - Deleting VN ctest-ext_vn-76783906 failed..Will retry
2025-04-08 12:33:19,314 - DEBUG - Response for deleting network ()
2025-04-08 12:33:19,314 - INFO - Deleting VN ctest-vn-28152652
2025-04-08 12:33:19,472 - DEBUG - Response for deleting network ()
2025-04-08 12:33:19,753 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 12:33:19,753 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-08 12:33:19,753 - INFO - --------------------------------------------------------------------------------
2025-04-08 12:33:20,506 - INFO - Deleted project: ctest-TestRoutersBasic-49057024, ID : 37a1400a-e509-49d7-9034-c38c65c1df60