2025-01-14 19:47:10,440 - INFO - Domain Default found not creating
2025-01-14 19:47:10,593 - INFO - Project ctest-TestRoutersBasic-02858818 not found, creating it
2025-01-14 19:47:11,072 - INFO - Created Project:ctest-TestRoutersBasic-02858818, ID : db4a6d58-b47e-43ff-b5f3-c04e40f3ba45
2025-01-14 19:47:12,537 - INFO - ================================================================================
2025-01-14 19:47:12,537 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-14 19:47:12,537 - 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-01-14 19:47:12,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.6': '0'}} with
2025-01-14 19:47:12,793 - INFO - Initial checks done. Running the testcase now
2025-01-14 19:47:12,793 - INFO -
2025-01-14 19:47:13,508 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02858818
2025-01-14 19:47:13,610 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02858818
2025-01-14 19:47:13,946 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02858818', 'default']}
2025-01-14 19:47:14,246 - DEBUG - Response for create_network : {'network': {'id': 'c668e3e8-6de5-427e-8e1d-6c93bfd14e04', 'name': 'ctest-vn-34900002', 'tenant_id': 'db4a6d58b47e43ffb5f3c04e40f3ba45', 'project_id': 'db4a6d58b47e43ffb5f3c04e40f3ba45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02858818', 'ctest-vn-34900002'], 'port_security_enabled': True, 'description': ''}}
2025-01-14 19:47:14,466 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2919c93-dcf7-4a53-a48a-e4a953086bc0', 'name': '', 'tenant_id': 'db4a6d58b47e43ffb5f3c04e40f3ba45', 'network_id': 'c668e3e8-6de5-427e-8e1d-6c93bfd14e04', 'ip_version': 4, 'cidr': '210.166.156.0/26', 'allocation_pools': [{'start': '210.166.156.2', 'end': '210.166.156.62'}], 'gateway_ip': '210.166.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.166.156.2', 'tags': [], 'project_id': 'db4a6d58b47e43ffb5f3c04e40f3ba45'}}
2025-01-14 19:47:14,485 - INFO - Created VN ctest-vn-34900002
2025-01-14 19:47:14,538 - DEBUG - VN ctest-vn-34900002 UUID is c668e3e8-6de5-427e-8e1d-6c93bfd14e04
2025-01-14 19:47:14,877 - DEBUG - Response for create_network : {'network': {'id': '808143b0-ed91-4e37-8824-bb2b15f9f33b', 'name': 'ctest-ext_vn-74724659', 'tenant_id': 'db4a6d58b47e43ffb5f3c04e40f3ba45', 'project_id': 'db4a6d58b47e43ffb5f3c04e40f3ba45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02858818', 'ctest-ext_vn-74724659'], 'port_security_enabled': True, 'description': ''}}
2025-01-14 19:47:15,069 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac31081a-8944-4859-8028-3e1956e888c7', 'name': '', 'tenant_id': 'db4a6d58b47e43ffb5f3c04e40f3ba45', 'network_id': '808143b0-ed91-4e37-8824-bb2b15f9f33b', 'ip_version': 4, 'cidr': '43.69.95.64/26', 'allocation_pools': [{'start': '43.69.95.66', 'end': '43.69.95.126'}], 'gateway_ip': '43.69.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.69.95.66', 'tags': [], 'project_id': 'db4a6d58b47e43ffb5f3c04e40f3ba45'}}
2025-01-14 19:47:15,087 - INFO - Created VN ctest-ext_vn-74724659
2025-01-14 19:47:15,138 - DEBUG - VN ctest-ext_vn-74724659 UUID is 808143b0-ed91-4e37-8824-bb2b15f9f33b
2025-01-14 19:47:15,304 - DEBUG - Services list from nova: [, , ]
2025-01-14 19:47:16,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2629-1)
2025-01-14 19:47:17,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2629-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2629-1)
2025-01-14 19:47:17,625 - INFO - Setting gateway for router b7385655-37d2-4930-bcb4-9ed72d02b83e to network 808143b0-ed91-4e37-8824-bb2b15f9f33b
2025-01-14 19:47:17,719 - INFO - Adding interface with subnet_id f2919c93-dcf7-4a53-a48a-e4a953086bc0, port_id None to router b7385655-37d2-4930-bcb4-9ed72d02b83e
2025-01-14 19:47:18,228 - INFO - Waiting for VM ctest-TestRoutersBasic-02858818-39996548 to be up..
2025-01-14 19:47:18,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-14 19:47:23,498 - DEBUG - VM is in ACTIVE state now
2025-01-14 19:47:23,499 - INFO - VM name : ctest-TestRoutersBasic-02858818-39996548
2025-01-14 19:47:23,572 - DEBUG - VM ctest-TestRoutersBasic-02858818-39996548 ID is 18fd74eb-7ff5-4e31-95cd-5366f163538e
2025-01-14 19:47:23,591 - DEBUG - VM ctest-TestRoutersBasic-02858818-39996548 launched on Node cn-jenkins-deploy-platform-ansible-os-2629-1
2025-01-14 19:47:23,665 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/18fd74eb-7ff5-4e31-95cd-5366f163538e
2025-01-14 19:47:23,965 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/18fd74eb-7ff5-4e31-95cd-5366f163538e
2025-01-14 19:47:23,997 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/509e566a-35cf-4bdb-85a3-7ce36bd028db
2025-01-14 19:47:27,267 - 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 1027ms')
2025-01-14 19:47:27,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02858818-39996548 failed!
2025-01-14 19:47:27,322 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02858818:ctest-vn-34900002 is 210.166.156.1 and allocation pool is NOT set
2025-01-14 19:47:29,388 - 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=3.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.625 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.625/1.836/3.048/1.211 ms')
2025-01-14 19:47:29,389 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02858818-39996548 passed
2025-01-14 19:47:29,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 19:47:29,498 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02858818-39996548, IP 210.166.156.3, Port 22
2025-01-14 19:47:29,662 - DEBUG - VM ctest-TestRoutersBasic-02858818-39996548 is ready for SSH connections
2025-01-14 19:47:29,662 - INFO - Waiting for VM ctest-TestRoutersBasic-02858818-01238879 to be up..
2025-01-14 19:47:29,762 - DEBUG - VM is in ACTIVE state now
2025-01-14 19:47:29,762 - INFO - VM name : ctest-TestRoutersBasic-02858818-01238879
2025-01-14 19:47:29,835 - DEBUG - VM ctest-TestRoutersBasic-02858818-01238879 ID is 3972e76a-ee0b-45f6-821c-9b853f3aec54
2025-01-14 19:47:29,835 - DEBUG - VM ctest-TestRoutersBasic-02858818-01238879 launched on Node cn-jenkins-deploy-platform-ansible-os-2629-1
2025-01-14 19:47:29,913 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/3972e76a-ee0b-45f6-821c-9b853f3aec54
2025-01-14 19:47:29,924 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/33ea7f3d-0922-4cd2-a4f4-9e0d0a59bfb4
2025-01-14 19:47:31,162 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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.158/3.128/5.098/1.970 ms')
2025-01-14 19:47:31,163 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02858818-01238879 passed
2025-01-14 19:47:31,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 19:47:31,314 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02858818-01238879, IP 43.69.95.67, Port 22
2025-01-14 19:47:31,473 - DEBUG - VM ctest-TestRoutersBasic-02858818-01238879 is ready for SSH connections
2025-01-14 19:47:31,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 19:47:31,474 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.69.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123
2025-01-14 19:47:31,474 - DEBUG - ping -s 56 -c 3 -W 1 43.69.95.67
2025-01-14 19:47:35,482 - DEBUG - PING 43.69.95.67 (43.69.95.67): 56 data bytes
64 bytes from 43.69.95.67: seq=0 ttl=62 time=6.492 ms
64 bytes from 43.69.95.67: seq=1 ttl=62 time=0.876 ms
64 bytes from 43.69.95.67: seq=2 ttl=62 time=0.925 ms
--- 43.69.95.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.876/2.764/6.492 ms
2025-01-14 19:47:35,482 - INFO - Ping to IP 43.69.95.67 from VM ctest-TestRoutersBasic-02858818-39996548 passed
2025-01-14 19:47:35,483 - INFO - Deleting interface with subnet_id f2919c93-dcf7-4a53-a48a-e4a953086bc0, port_id None from router b7385655-37d2-4930-bcb4-9ed72d02b83e
2025-01-14 19:47:35,703 - INFO - Deleting VM ctest-TestRoutersBasic-02858818-01238879
2025-01-14 19:47:35,769 - INFO - Deleting VM ctest-TestRoutersBasic-02858818-39996548
2025-01-14 19:47:35,847 - INFO - Deleting VN ctest-ext_vn-74724659
2025-01-14 19:47:35,948 - DEBUG - VN 808143b0-ed91-4e37-8824-bb2b15f9f33b still in use: Unable to complete operation on network 808143b0-ed91-4e37-8824-bb2b15f9f33b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-00b05120-d11f-4a5c-8243-57df2ca2edc5']
2025-01-14 19:47:35,948 - WARNING - Deleting VN ctest-ext_vn-74724659 failed..Will retry
2025-01-14 19:47:38,060 - DEBUG - Response for deleting network ()
2025-01-14 19:47:38,060 - INFO - Deleting VN ctest-vn-34900002
2025-01-14 19:47:38,176 - DEBUG - Response for deleting network ()
2025-01-14 19:47:38,436 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 19:47:38,436 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-14 19:47:38,436 - INFO - --------------------------------------------------------------------------------
2025-01-14 19:47:39,144 - INFO - Deleted project: ctest-TestRoutersBasic-02858818, ID : db4a6d58-b47e-43ff-b5f3-c04e40f3ba45