2024-10-31 02:10:44,359 - INFO - Reading existing Domain with UUID 0fc11768-1bc4-4a76-8ff2-b677acb0a6ff
2024-10-31 02:10:44,378 - INFO - Using existing domain ['admin_domain'](0fc11768-1bc4-4a76-8ff2-b677acb0a6ff)
2024-10-31 02:10:44,638 - INFO - Project ctest-TestRoutersBasic-85137030 not found, creating it
2024-10-31 02:10:45,353 - INFO - Created Project:ctest-TestRoutersBasic-85137030, ID : 2bdd3a87-c249-4861-8b62-45198ae35a9a
2024-10-31 02:10:47,566 - INFO - ================================================================================
2024-10-31 02:10:47,566 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-31 02:10:47,566 - 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
2024-10-31 02:10:47,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with
2024-10-31 02:10:47,954 - INFO - Initial checks done. Running the testcase now
2024-10-31 02:10:47,955 - INFO -
2024-10-31 02:10:48,877 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85137030
2024-10-31 02:10:48,981 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85137030
2024-10-31 02:10:49,345 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-85137030', 'default']}
2024-10-31 02:10:49,931 - DEBUG - Response for create_network : {'network': {'id': 'dd24d45f-e013-4881-8e35-66ff64f0e752', 'name': 'ctest-vn-51615105', 'tenant_id': '2bdd3a87c24948618b6245198ae35a9a', 'project_id': '2bdd3a87c24948618b6245198ae35a9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-85137030', 'ctest-vn-51615105'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2024-10-31 02:10:50,226 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b77d5d69-7810-4d49-8c99-cdb74016fd44', 'name': '', 'tenant_id': '2bdd3a87c24948618b6245198ae35a9a', 'network_id': 'dd24d45f-e013-4881-8e35-66ff64f0e752', 'ip_version': 4, 'cidr': '112.12.49.192/26', 'allocation_pools': [{'start': '112.12.49.194', 'end': '112.12.49.254'}], 'gateway_ip': '112.12.49.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-10-31T02:10:50.101898', 'updated_at': '2024-10-31T02:10:50.101898', 'dns_server_address': '112.12.49.194', 'tags': [], 'project_id': '2bdd3a87c24948618b6245198ae35a9a'}}
2024-10-31 02:10:50,299 - INFO - Created VN ctest-vn-51615105
2024-10-31 02:10:50,361 - DEBUG - VN ctest-vn-51615105 UUID is dd24d45f-e013-4881-8e35-66ff64f0e752
2024-10-31 02:10:50,966 - DEBUG - Response for create_network : {'network': {'id': 'fd88ed6f-e128-4aa8-8ee4-0332cb2b0e52', 'name': 'ctest-ext_vn-90485456', 'tenant_id': '2bdd3a87c24948618b6245198ae35a9a', 'project_id': '2bdd3a87c24948618b6245198ae35a9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-85137030', 'ctest-ext_vn-90485456'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2024-10-31 02:10:51,238 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea726a99-ef51-4205-b014-2e8c68a653a7', 'name': '', 'tenant_id': '2bdd3a87c24948618b6245198ae35a9a', 'network_id': 'fd88ed6f-e128-4aa8-8ee4-0332cb2b0e52', 'ip_version': 4, 'cidr': '62.248.245.128/26', 'allocation_pools': [{'start': '62.248.245.130', 'end': '62.248.245.190'}], 'gateway_ip': '62.248.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-10-31T02:10:51.124893', 'updated_at': '2024-10-31T02:10:51.124893', 'dns_server_address': '62.248.245.130', 'tags': [], 'project_id': '2bdd3a87c24948618b6245198ae35a9a'}}
2024-10-31 02:10:51,307 - INFO - Created VN ctest-ext_vn-90485456
2024-10-31 02:10:51,369 - DEBUG - VN ctest-ext_vn-90485456 UUID is fd88ed6f-e128-4aa8-8ee4-0332cb2b0e52
2024-10-31 02:10:51,666 - DEBUG - Services list from nova: [, , ]
2024-10-31 02:10:52,931 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-442-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-442-1)
2024-10-31 02:10:54,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-442-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-442-1)
2024-10-31 02:10:54,489 - INFO - Setting gateway for router 93c1b257-0b7b-4677-8061-6de74f9785c1 to network fd88ed6f-e128-4aa8-8ee4-0332cb2b0e52
2024-10-31 02:10:54,678 - INFO - Adding interface with subnet_id b77d5d69-7810-4d49-8c99-cdb74016fd44, port_id None to router 93c1b257-0b7b-4677-8061-6de74f9785c1
2024-10-31 02:10:55,464 - INFO - Waiting for VM ctest-TestRoutersBasic-85137030-20486261 to be up..
2024-10-31 02:10:55,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-31 02:11:00,855 - DEBUG - VM is in ACTIVE state now
2024-10-31 02:11:00,856 - INFO - VM name : ctest-TestRoutersBasic-85137030-20486261
2024-10-31 02:11:01,021 - DEBUG - VM ctest-TestRoutersBasic-85137030-20486261 ID is db340c57-0f03-4dec-9589-f13358e342ed
2024-10-31 02:11:01,049 - DEBUG - VM ctest-TestRoutersBasic-85137030-20486261 launched on Node cn-jenkins-deploy-platform-juju-os-442-1
2024-10-31 02:11:01,214 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/db340c57-0f03-4dec-9589-f13358e342ed
2024-10-31 02:11:01,599 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/db340c57-0f03-4dec-9589-f13358e342ed
2024-10-31 02:11:01,691 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/a76d5383-cbd1-4633-9df8-c75efec35bca
2024-10-31 02:11:05,215 - 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 1009ms')
2024-10-31 02:11:05,215 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85137030-20486261 failed!
2024-10-31 02:11:05,281 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-85137030:ctest-vn-51615105 is 112.12.49.193 and allocation pool is NOT set
2024-10-31 02:11:09,378 - 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=2 ttl=63 time=16.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 16.724/16.724/16.724/0.000 ms')
2024-10-31 02:11:09,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85137030-20486261 passed
2024-10-31 02:11:09,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:11:09,541 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85137030-20486261, IP 112.12.49.195, Port 22
2024-10-31 02:11:09,759 - DEBUG - VM ctest-TestRoutersBasic-85137030-20486261 is ready for SSH connections
2024-10-31 02:11:09,759 - INFO - Waiting for VM ctest-TestRoutersBasic-85137030-02535841 to be up..
2024-10-31 02:11:09,921 - DEBUG - VM is in ACTIVE state now
2024-10-31 02:11:09,922 - INFO - VM name : ctest-TestRoutersBasic-85137030-02535841
2024-10-31 02:11:10,092 - DEBUG - VM ctest-TestRoutersBasic-85137030-02535841 ID is 9386b423-8006-4880-aab5-28de79a81a0e
2024-10-31 02:11:10,093 - DEBUG - VM ctest-TestRoutersBasic-85137030-02535841 launched on Node cn-jenkins-deploy-platform-juju-os-442-1
2024-10-31 02:11:10,244 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/9386b423-8006-4880-aab5-28de79a81a0e
2024-10-31 02:11:10,302 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/9d2dafbb-fee1-4d88-baee-8e405f676b8e
2024-10-31 02:11:11,770 - 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=3.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.886/3.271/1.385 ms')
2024-10-31 02:11:11,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85137030-02535841 passed
2024-10-31 02:11:11,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:11:11,937 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85137030-02535841, IP 62.248.245.131, Port 22
2024-10-31 02:11:12,163 - DEBUG - VM ctest-TestRoutersBasic-85137030-02535841 is ready for SSH connections
2024-10-31 02:11:12,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:11:12,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.248.245.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-10-31 02:11:12,164 - DEBUG - ping -s 56 -c 3 -W 1 62.248.245.131
2024-10-31 02:11:15,930 - DEBUG - PING 62.248.245.131 (62.248.245.131): 56 data bytes
64 bytes from 62.248.245.131: seq=0 ttl=62 time=5.636 ms
64 bytes from 62.248.245.131: seq=1 ttl=62 time=1.143 ms
64 bytes from 62.248.245.131: seq=2 ttl=62 time=1.219 ms
--- 62.248.245.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.143/2.666/5.636 ms
2024-10-31 02:11:15,930 - INFO - Ping to IP 62.248.245.131 from VM ctest-TestRoutersBasic-85137030-20486261 passed
2024-10-31 02:11:15,931 - INFO - Deleting interface with subnet_id b77d5d69-7810-4d49-8c99-cdb74016fd44, port_id None from router 93c1b257-0b7b-4677-8061-6de74f9785c1
2024-10-31 02:11:16,393 - INFO - Deleting VM ctest-TestRoutersBasic-85137030-02535841
2024-10-31 02:11:16,511 - INFO - Deleting VM ctest-TestRoutersBasic-85137030-20486261
2024-10-31 02:11:16,639 - INFO - Deleting VN ctest-ext_vn-90485456
2024-10-31 02:11:16,877 - DEBUG - VN fd88ed6f-e128-4aa8-8ee4-0332cb2b0e52 still in use: Unable to complete operation on network fd88ed6f-e128-4aa8-8ee4-0332cb2b0e52. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-16c63fab-21cd-4d4e-8856-490ecc497dd4']
2024-10-31 02:11:16,878 - WARNING - Deleting VN ctest-ext_vn-90485456 failed..Will retry
2024-10-31 02:11:19,076 - DEBUG - Response for deleting network ()
2024-10-31 02:11:19,076 - INFO - Deleting VN ctest-vn-51615105
2024-10-31 02:11:19,293 - DEBUG - Response for deleting network ()
2024-10-31 02:11:19,711 - DEBUG - No XMPP flaps were noticed during the test
2024-10-31 02:11:19,711 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2024-10-31 02:11:19,711 - INFO - --------------------------------------------------------------------------------
2024-10-31 02:11:20,614 - INFO - Deleted project: ctest-TestRoutersBasic-85137030, ID : 2bdd3a87-c249-4861-8b62-45198ae35a9a