2025-07-10 15:49:53,842 - INFO - Domain Default found not creating
2025-07-10 15:49:54,000 - INFO - Project ctest-TestRoutersBasic-59738287 not found, creating it
2025-07-10 15:49:54,663 - INFO - Created Project:ctest-TestRoutersBasic-59738287, ID : 0f4ee325-3d1c-4bf9-9921-7504eb9ceb0a
2025-07-10 15:49:56,366 - INFO - ================================================================================
2025-07-10 15:49:56,366 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-10 15:49:56,366 - 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-10 15:49:56,627 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with
2025-07-10 15:49:56,627 - INFO - Initial checks done. Running the testcase now
2025-07-10 15:49:56,627 - INFO -
2025-07-10 15:49:57,434 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59738287
2025-07-10 15:49:57,533 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59738287
2025-07-10 15:49:57,861 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59738287', 'default']}
2025-07-10 15:49:58,175 - DEBUG - Response for create_network : {'network': {'id': '9dc46ba2-a445-4fd4-b034-80d2950a8d21', 'name': 'ctest-vn-58315328', 'tenant_id': '0f4ee3253d1c4bf999217504eb9ceb0a', 'project_id': '0f4ee3253d1c4bf999217504eb9ceb0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59738287', 'ctest-vn-58315328'], 'port_security_enabled': True, 'description': ''}}
2025-07-10 15:49:58,398 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db0a98a5-6050-44e1-9f85-a821195ee376', 'name': '', 'tenant_id': '0f4ee3253d1c4bf999217504eb9ceb0a', 'network_id': '9dc46ba2-a445-4fd4-b034-80d2950a8d21', 'ip_version': 4, 'cidr': '31.103.137.192/26', 'allocation_pools': [{'start': '31.103.137.194', 'end': '31.103.137.254'}], 'gateway_ip': '31.103.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.103.137.194', 'tags': [], 'project_id': '0f4ee3253d1c4bf999217504eb9ceb0a'}}
2025-07-10 15:49:58,426 - INFO - Created VN ctest-vn-58315328
2025-07-10 15:49:58,485 - DEBUG - VN ctest-vn-58315328 UUID is 9dc46ba2-a445-4fd4-b034-80d2950a8d21
2025-07-10 15:49:58,831 - DEBUG - Response for create_network : {'network': {'id': '2347d46d-f13b-4bdb-99ef-eb5100d54815', 'name': 'ctest-ext_vn-38686952', 'tenant_id': '0f4ee3253d1c4bf999217504eb9ceb0a', 'project_id': '0f4ee3253d1c4bf999217504eb9ceb0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59738287', 'ctest-ext_vn-38686952'], 'port_security_enabled': True, 'description': ''}}
2025-07-10 15:49:58,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '7735df69-9036-479f-b080-3a79781f0621', 'name': '', 'tenant_id': '0f4ee3253d1c4bf999217504eb9ceb0a', 'network_id': '2347d46d-f13b-4bdb-99ef-eb5100d54815', 'ip_version': 4, 'cidr': '31.140.183.0/26', 'allocation_pools': [{'start': '31.140.183.2', 'end': '31.140.183.62'}], 'gateway_ip': '31.140.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.140.183.2', 'tags': [], 'project_id': '0f4ee3253d1c4bf999217504eb9ceb0a'}}
2025-07-10 15:49:59,009 - INFO - Created VN ctest-ext_vn-38686952
2025-07-10 15:49:59,061 - DEBUG - VN ctest-ext_vn-38686952 UUID is 2347d46d-f13b-4bdb-99ef-eb5100d54815
2025-07-10 15:49:59,235 - DEBUG - Services list from nova: [, , ]
2025-07-10 15:50:00,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3627-1)
2025-07-10 15:50:01,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3627-1)
2025-07-10 15:50:01,698 - INFO - Setting gateway for router 25e0cfd8-a9ef-4189-afea-e13bb973fb0b to network 2347d46d-f13b-4bdb-99ef-eb5100d54815
2025-07-10 15:50:01,787 - INFO - Adding interface with subnet_id db0a98a5-6050-44e1-9f85-a821195ee376, port_id None to router 25e0cfd8-a9ef-4189-afea-e13bb973fb0b
2025-07-10 15:50:02,195 - INFO - Waiting for VM ctest-TestRoutersBasic-59738287-11305946 to be up..
2025-07-10 15:50:02,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-10 15:50:07,462 - DEBUG - VM is in ACTIVE state now
2025-07-10 15:50:07,462 - INFO - VM name : ctest-TestRoutersBasic-59738287-11305946
2025-07-10 15:50:07,542 - DEBUG - VM ctest-TestRoutersBasic-59738287-11305946 ID is 4733e34e-fef5-4c7c-a537-4e20879bafac
2025-07-10 15:50:07,562 - DEBUG - VM ctest-TestRoutersBasic-59738287-11305946 launched on Node cn-jenkins-deploy-platform-ansible-os-3627-1
2025-07-10 15:50:07,644 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4733e34e-fef5-4c7c-a537-4e20879bafac
2025-07-10 15:50:07,988 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4733e34e-fef5-4c7c-a537-4e20879bafac
2025-07-10 15:50:08,026 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/ffe8aec0-7b69-4399-95f2-7e9e571a6746
2025-07-10 15:50:11,274 - 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 1005ms')
2025-07-10 15:50:11,274 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59738287-11305946 failed!
2025-07-10 15:50:11,329 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59738287:ctest-vn-58315328 is 31.103.137.193 and allocation pool is NOT set
2025-07-10 15:50:13,389 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 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.527/1.754/2.982/1.227 ms')
2025-07-10 15:50:13,389 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59738287-11305946 passed
2025-07-10 15:50:13,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-10 15:50:13,545 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59738287-11305946, IP 31.103.137.195, Port 22
2025-07-10 15:50:13,701 - DEBUG - VM ctest-TestRoutersBasic-59738287-11305946 is ready for SSH connections
2025-07-10 15:50:13,701 - INFO - Waiting for VM ctest-TestRoutersBasic-59738287-63726781 to be up..
2025-07-10 15:50:13,786 - DEBUG - VM is in ACTIVE state now
2025-07-10 15:50:13,786 - INFO - VM name : ctest-TestRoutersBasic-59738287-63726781
2025-07-10 15:50:13,872 - DEBUG - VM ctest-TestRoutersBasic-59738287-63726781 ID is 726d8d7e-0b8f-4643-95be-d89376dc41fe
2025-07-10 15:50:13,872 - DEBUG - VM ctest-TestRoutersBasic-59738287-63726781 launched on Node cn-jenkins-deploy-platform-ansible-os-3627-1
2025-07-10 15:50:13,958 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/726d8d7e-0b8f-4643-95be-d89376dc41fe
2025-07-10 15:50:13,967 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b77adc26-402a-4baa-86d0-308effd6a009
2025-07-10 15:50:15,222 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.80 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.796/3.578/5.361/1.782 ms')
2025-07-10 15:50:15,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59738287-63726781 passed
2025-07-10 15:50:15,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-10 15:50:15,381 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59738287-63726781, IP 31.140.183.3, Port 22
2025-07-10 15:50:15,556 - DEBUG - VM ctest-TestRoutersBasic-59738287-63726781 is ready for SSH connections
2025-07-10 15:50:15,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-10 15:50:15,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.140.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-07-10 15:50:15,556 - DEBUG - ping -s 56 -c 3 -W 1 31.140.183.3
2025-07-10 15:50:19,693 - DEBUG - PING 31.140.183.3 (31.140.183.3): 56 data bytes
64 bytes from 31.140.183.3: seq=0 ttl=62 time=5.174 ms
64 bytes from 31.140.183.3: seq=1 ttl=62 time=0.903 ms
64 bytes from 31.140.183.3: seq=2 ttl=62 time=0.925 ms
--- 31.140.183.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.903/2.334/5.174 ms
2025-07-10 15:50:19,693 - INFO - Ping to IP 31.140.183.3 from VM ctest-TestRoutersBasic-59738287-11305946 passed
2025-07-10 15:50:19,693 - INFO - Deleting interface with subnet_id db0a98a5-6050-44e1-9f85-a821195ee376, port_id None from router 25e0cfd8-a9ef-4189-afea-e13bb973fb0b
2025-07-10 15:50:19,918 - INFO - Deleting VM ctest-TestRoutersBasic-59738287-63726781
2025-07-10 15:50:20,004 - INFO - Deleting VM ctest-TestRoutersBasic-59738287-11305946
2025-07-10 15:50:20,122 - INFO - Deleting VN ctest-ext_vn-38686952
2025-07-10 15:50:20,222 - DEBUG - VN 2347d46d-f13b-4bdb-99ef-eb5100d54815 still in use: Unable to complete operation on network 2347d46d-f13b-4bdb-99ef-eb5100d54815. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c9cb4f3b-d27c-440d-ac70-2c2e97c62609']
2025-07-10 15:50:20,222 - WARNING - Deleting VN ctest-ext_vn-38686952 failed..Will retry
2025-07-10 15:50:22,351 - DEBUG - Response for deleting network ()
2025-07-10 15:50:22,351 - INFO - Deleting VN ctest-vn-58315328
2025-07-10 15:50:22,479 - DEBUG - Response for deleting network ()
2025-07-10 15:50:22,740 - DEBUG - No XMPP flaps were noticed during the test
2025-07-10 15:50:22,740 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-10 15:50:22,741 - INFO - --------------------------------------------------------------------------------
2025-07-10 15:50:23,537 - INFO - Deleted project: ctest-TestRoutersBasic-59738287, ID : 0f4ee325-3d1c-4bf9-9921-7504eb9ceb0a