2025-04-27 08:20:15,066 - INFO - Domain Default found not creating
2025-04-27 08:20:15,367 - INFO - Project ctest-TestRoutersBasic-90737647 not found, creating it
2025-04-27 08:20:15,960 - INFO - Created Project:ctest-TestRoutersBasic-90737647, ID : 3e5aedeb-dd2f-4d4b-8560-f04a4b90b4ad
2025-04-27 08:20:18,217 - INFO - ================================================================================
2025-04-27 08:20:18,218 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-27 08:20:18,218 - 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-27 08:20:18,565 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-04-27 08:20:18,565 - INFO - Initial checks done. Running the testcase now
2025-04-27 08:20:18,565 - INFO -
2025-04-27 08:20:19,445 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90737647
2025-04-27 08:20:19,560 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90737647
2025-04-27 08:20:20,019 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90737647', 'default']}
2025-04-27 08:20:20,511 - DEBUG - Response for create_network : {'network': {'id': '396cad08-111d-441e-943a-73d6f06445b2', 'name': 'ctest-vn-31627747', 'tenant_id': '3e5aedebdd2f4d4b8560f04a4b90b4ad', 'project_id': '3e5aedebdd2f4d4b8560f04a4b90b4ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90737647', 'ctest-vn-31627747'], 'port_security_enabled': True, 'description': ''}}
2025-04-27 08:20:20,822 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3b91549-fd2e-47d2-bed2-b63bc4d67c14', 'name': '', 'tenant_id': '3e5aedebdd2f4d4b8560f04a4b90b4ad', 'network_id': '396cad08-111d-441e-943a-73d6f06445b2', 'ip_version': 4, 'cidr': '19.124.220.64/26', 'allocation_pools': [{'start': '19.124.220.66', 'end': '19.124.220.126'}], 'gateway_ip': '19.124.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.124.220.66', 'tags': [], 'project_id': '3e5aedebdd2f4d4b8560f04a4b90b4ad'}}
2025-04-27 08:20:20,850 - INFO - Created VN ctest-vn-31627747
2025-04-27 08:20:20,907 - DEBUG - VN ctest-vn-31627747 UUID is 396cad08-111d-441e-943a-73d6f06445b2
2025-04-27 08:20:21,528 - DEBUG - Response for create_network : {'network': {'id': '02bcba5e-2c94-4279-91d6-fb559f81ede1', 'name': 'ctest-ext_vn-52703467', 'tenant_id': '3e5aedebdd2f4d4b8560f04a4b90b4ad', 'project_id': '3e5aedebdd2f4d4b8560f04a4b90b4ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90737647', 'ctest-ext_vn-52703467'], 'port_security_enabled': True, 'description': ''}}
2025-04-27 08:20:21,771 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aefd0336-221a-4c52-9d86-c5e39fd20494', 'name': '', 'tenant_id': '3e5aedebdd2f4d4b8560f04a4b90b4ad', 'network_id': '02bcba5e-2c94-4279-91d6-fb559f81ede1', 'ip_version': 4, 'cidr': '11.8.12.128/26', 'allocation_pools': [{'start': '11.8.12.130', 'end': '11.8.12.190'}], 'gateway_ip': '11.8.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.8.12.130', 'tags': [], 'project_id': '3e5aedebdd2f4d4b8560f04a4b90b4ad'}}
2025-04-27 08:20:21,806 - INFO - Created VN ctest-ext_vn-52703467
2025-04-27 08:20:21,867 - DEBUG - VN ctest-ext_vn-52703467 UUID is 02bcba5e-2c94-4279-91d6-fb559f81ede1
2025-04-27 08:20:22,160 - DEBUG - Services list from nova: [, , ]
2025-04-27 08:20:23,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3226-1)
2025-04-27 08:20:25,612 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3226-1)
2025-04-27 08:20:25,714 - INFO - Setting gateway for router 2710196d-ece4-436c-945d-1fe8d177f3ce to network 02bcba5e-2c94-4279-91d6-fb559f81ede1
2025-04-27 08:20:25,793 - INFO - Adding interface with subnet_id e3b91549-fd2e-47d2-bed2-b63bc4d67c14, port_id None to router 2710196d-ece4-436c-945d-1fe8d177f3ce
2025-04-27 08:20:26,238 - INFO - Waiting for VM ctest-TestRoutersBasic-90737647-05055601 to be up..
2025-04-27 08:20:26,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-27 08:20:31,550 - DEBUG - VM is in ACTIVE state now
2025-04-27 08:20:31,551 - INFO - VM name : ctest-TestRoutersBasic-90737647-05055601
2025-04-27 08:20:31,738 - DEBUG - VM ctest-TestRoutersBasic-90737647-05055601 ID is 67700e84-5ae7-4771-973b-fb71d93ef19d
2025-04-27 08:20:31,769 - DEBUG - VM ctest-TestRoutersBasic-90737647-05055601 launched on Node cn-jenkins-deploy-platform-ansible-os-3226-1
2025-04-27 08:20:31,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67700e84-5ae7-4771-973b-fb71d93ef19d
2025-04-27 08:20:32,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67700e84-5ae7-4771-973b-fb71d93ef19d
2025-04-27 08:20:32,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/12de3a0d-9385-41b1-aedf-fe6dc1e7b97d
2025-04-27 08:20:35,674 - 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 1012ms')
2025-04-27 08:20:35,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90737647-05055601 failed!
2025-04-27 08:20:35,755 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90737647:ctest-vn-31627747 is 19.124.220.65 and allocation pool is NOT set
2025-04-27 08:20:37,831 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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 = 2.216/3.538/4.861/1.322 ms')
2025-04-27 08:20:37,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90737647-05055601 passed
2025-04-27 08:20:38,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-27 08:20:38,028 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90737647-05055601, IP 19.124.220.67, Port 22
2025-04-27 08:20:38,225 - DEBUG - VM ctest-TestRoutersBasic-90737647-05055601 is ready for SSH connections
2025-04-27 08:20:38,226 - INFO - Waiting for VM ctest-TestRoutersBasic-90737647-94399393 to be up..
2025-04-27 08:20:38,435 - DEBUG - VM is in ACTIVE state now
2025-04-27 08:20:38,436 - INFO - VM name : ctest-TestRoutersBasic-90737647-94399393
2025-04-27 08:20:38,593 - DEBUG - VM ctest-TestRoutersBasic-90737647-94399393 ID is 35849fb9-c15f-4457-9d95-2134f849e6be
2025-04-27 08:20:38,594 - DEBUG - VM ctest-TestRoutersBasic-90737647-94399393 launched on Node cn-jenkins-deploy-platform-ansible-os-3226-1
2025-04-27 08:20:38,729 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35849fb9-c15f-4457-9d95-2134f849e6be
2025-04-27 08:20:38,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b8533eac-54c2-4462-9b87-5521f71cc4d2
2025-04-27 08:20:40,080 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.768 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 = 0.768/2.728/4.688/1.960 ms')
2025-04-27 08:20:40,081 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90737647-94399393 passed
2025-04-27 08:20:40,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-27 08:20:40,277 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90737647-94399393, IP 11.8.12.131, Port 22
2025-04-27 08:20:40,459 - DEBUG - VM ctest-TestRoutersBasic-90737647-94399393 is ready for SSH connections
2025-04-27 08:20:40,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-27 08:20:40,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.8.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-27 08:20:40,460 - DEBUG - ping -s 56 -c 3 -W 1 11.8.12.131
2025-04-27 08:20:44,498 - DEBUG - PING 11.8.12.131 (11.8.12.131): 56 data bytes
64 bytes from 11.8.12.131: seq=0 ttl=62 time=8.466 ms
64 bytes from 11.8.12.131: seq=1 ttl=62 time=2.018 ms
64 bytes from 11.8.12.131: seq=2 ttl=62 time=2.177 ms
--- 11.8.12.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.018/4.220/8.466 ms
2025-04-27 08:20:44,499 - INFO - Ping to IP 11.8.12.131 from VM ctest-TestRoutersBasic-90737647-05055601 passed
2025-04-27 08:20:44,499 - INFO - Deleting interface with subnet_id e3b91549-fd2e-47d2-bed2-b63bc4d67c14, port_id None from router 2710196d-ece4-436c-945d-1fe8d177f3ce
2025-04-27 08:20:44,936 - INFO - Deleting VM ctest-TestRoutersBasic-90737647-94399393
2025-04-27 08:20:45,049 - INFO - Deleting VM ctest-TestRoutersBasic-90737647-05055601
2025-04-27 08:20:45,133 - INFO - Deleting VN ctest-ext_vn-52703467
2025-04-27 08:20:45,225 - DEBUG - VN 02bcba5e-2c94-4279-91d6-fb559f81ede1 still in use: Unable to complete operation on network 02bcba5e-2c94-4279-91d6-fb559f81ede1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-76ddf696-b7d8-45a0-9f7f-fe3c7663ae16']
2025-04-27 08:20:45,225 - WARNING - Deleting VN ctest-ext_vn-52703467 failed..Will retry
2025-04-27 08:20:47,440 - DEBUG - Response for deleting network ()
2025-04-27 08:20:47,440 - INFO - Deleting VN ctest-vn-31627747
2025-04-27 08:20:47,596 - DEBUG - Response for deleting network ()
2025-04-27 08:20:47,902 - DEBUG - No XMPP flaps were noticed during the test
2025-04-27 08:20:47,903 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-04-27 08:20:47,903 - INFO - --------------------------------------------------------------------------------
2025-04-27 08:20:48,858 - INFO - Deleted project: ctest-TestRoutersBasic-90737647, ID : 3e5aedeb-dd2f-4d4b-8560-f04a4b90b4ad