2024-09-17 16:22:17,642 - INFO - Domain Default found not creating
2024-09-17 16:22:17,830 - INFO - Project ctest-TestRoutersBasic-30306286 not found, creating it
2024-09-17 16:22:18,388 - INFO - Created Project:ctest-TestRoutersBasic-30306286, ID : 8fcd8e2c-80ef-4e66-9362-d6fafc92f9bc
2024-09-17 16:22:20,212 - INFO - ================================================================================
2024-09-17 16:22:20,212 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-09-17 16:22:20,212 - 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-09-17 16:22:20,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.11': '0'}} with
2024-09-17 16:22:20,474 - INFO - Initial checks done. Running the testcase now
2024-09-17 16:22:20,474 - INFO -
2024-09-17 16:22:21,324 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30306286
2024-09-17 16:22:21,426 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30306286
2024-09-17 16:22:21,773 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30306286', 'default']}
2024-09-17 16:22:22,113 - DEBUG - Response for create_network : {'network': {'id': '07e6d118-fafb-4233-9f92-ff3f0dac2b28', 'name': 'ctest-vn-31220927', 'tenant_id': '8fcd8e2c80ef4e669362d6fafc92f9bc', 'project_id': '8fcd8e2c80ef4e669362d6fafc92f9bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30306286', 'ctest-vn-31220927'], 'port_security_enabled': True, 'description': ''}}
2024-09-17 16:22:22,358 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ac56e8b-26a4-47a9-adac-0b409a594880', 'name': '', 'tenant_id': '8fcd8e2c80ef4e669362d6fafc92f9bc', 'network_id': '07e6d118-fafb-4233-9f92-ff3f0dac2b28', 'ip_version': 4, 'cidr': '61.242.170.128/26', 'allocation_pools': [{'start': '61.242.170.130', 'end': '61.242.170.190'}], 'gateway_ip': '61.242.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.242.170.130', 'tags': [], 'project_id': '8fcd8e2c80ef4e669362d6fafc92f9bc'}}
2024-09-17 16:22:22,379 - INFO - Created VN ctest-vn-31220927
2024-09-17 16:22:22,438 - DEBUG - VN ctest-vn-31220927 UUID is 07e6d118-fafb-4233-9f92-ff3f0dac2b28
2024-09-17 16:22:22,831 - DEBUG - Response for create_network : {'network': {'id': 'a6d6c7d6-44fe-4cb3-b33f-790cd9c4bd2e', 'name': 'ctest-ext_vn-72907394', 'tenant_id': '8fcd8e2c80ef4e669362d6fafc92f9bc', 'project_id': '8fcd8e2c80ef4e669362d6fafc92f9bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30306286', 'ctest-ext_vn-72907394'], 'port_security_enabled': True, 'description': ''}}
2024-09-17 16:22:23,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '18faa373-cff0-4783-bc72-4794280de16c', 'name': '', 'tenant_id': '8fcd8e2c80ef4e669362d6fafc92f9bc', 'network_id': 'a6d6c7d6-44fe-4cb3-b33f-790cd9c4bd2e', 'ip_version': 4, 'cidr': '184.181.26.0/26', 'allocation_pools': [{'start': '184.181.26.2', 'end': '184.181.26.62'}], 'gateway_ip': '184.181.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.181.26.2', 'tags': [], 'project_id': '8fcd8e2c80ef4e669362d6fafc92f9bc'}}
2024-09-17 16:22:23,074 - INFO - Created VN ctest-ext_vn-72907394
2024-09-17 16:22:23,133 - DEBUG - VN ctest-ext_vn-72907394 UUID is a6d6c7d6-44fe-4cb3-b33f-790cd9c4bd2e
2024-09-17 16:22:23,317 - DEBUG - Services list from nova: [, , ]
2024-09-17 16:22:24,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1964-1)
2024-09-17 16:22:25,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1964-1)
2024-09-17 16:22:25,932 - INFO - Setting gateway for router 951a841c-8571-498b-be3c-6710366951f4 to network a6d6c7d6-44fe-4cb3-b33f-790cd9c4bd2e
2024-09-17 16:22:26,073 - INFO - Adding interface with subnet_id 3ac56e8b-26a4-47a9-adac-0b409a594880, port_id None to router 951a841c-8571-498b-be3c-6710366951f4
2024-09-17 16:22:26,504 - INFO - Waiting for VM ctest-TestRoutersBasic-30306286-66906551 to be up..
2024-09-17 16:22:26,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-17 16:22:31,821 - DEBUG - VM is in ACTIVE state now
2024-09-17 16:22:31,821 - INFO - VM name : ctest-TestRoutersBasic-30306286-66906551
2024-09-17 16:22:31,918 - DEBUG - VM ctest-TestRoutersBasic-30306286-66906551 ID is 5f1979a0-b1e4-41b4-8f2d-5593e4b77e04
2024-09-17 16:22:31,948 - DEBUG - VM ctest-TestRoutersBasic-30306286-66906551 launched on Node cn-jenkins-deploy-platform-ansible-os-1964-1
2024-09-17 16:22:32,055 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/5f1979a0-b1e4-41b4-8f2d-5593e4b77e04
2024-09-17 16:22:32,393 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/5f1979a0-b1e4-41b4-8f2d-5593e4b77e04
2024-09-17 16:22:32,437 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/4a9a9294-0f16-4876-8679-a394fd588ca3
2024-09-17 16:22:35,711 - 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-09-17 16:22:35,711 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30306286-66906551 failed!
2024-09-17 16:22:35,773 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30306286:ctest-vn-31220927 is 61.242.170.129 and allocation pool is NOT set
2024-09-17 16:22:37,834 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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 = 1.004/2.876/4.748/1.872 ms')
2024-09-17 16:22:37,834 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30306286-66906551 passed
2024-09-17 16:22:38,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-17 16:22:38,014 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30306286-66906551, IP 61.242.170.131, Port 22
2024-09-17 16:22:38,188 - DEBUG - VM ctest-TestRoutersBasic-30306286-66906551 is ready for SSH connections
2024-09-17 16:22:38,189 - INFO - Waiting for VM ctest-TestRoutersBasic-30306286-71268169 to be up..
2024-09-17 16:22:38,288 - DEBUG - VM is in ACTIVE state now
2024-09-17 16:22:38,288 - INFO - VM name : ctest-TestRoutersBasic-30306286-71268169
2024-09-17 16:22:38,386 - DEBUG - VM ctest-TestRoutersBasic-30306286-71268169 ID is 5eb02399-1c32-46a0-98bf-9acef6e9b32d
2024-09-17 16:22:38,386 - DEBUG - VM ctest-TestRoutersBasic-30306286-71268169 launched on Node cn-jenkins-deploy-platform-ansible-os-1964-1
2024-09-17 16:22:38,473 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/5eb02399-1c32-46a0-98bf-9acef6e9b32d
2024-09-17 16:22:38,486 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/1dd00222-366c-458c-a443-2fed03aaf200
2024-09-17 16:22:39,746 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.483/2.297/4.111/1.814 ms')
2024-09-17 16:22:39,747 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30306286-71268169 passed
2024-09-17 16:22:39,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-17 16:22:39,906 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30306286-71268169, IP 184.181.26.3, Port 22
2024-09-17 16:22:40,072 - DEBUG - VM ctest-TestRoutersBasic-30306286-71268169 is ready for SSH connections
2024-09-17 16:22:40,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-17 16:22:40,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.181.26.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123
2024-09-17 16:22:40,073 - DEBUG - ping -s 56 -c 3 -W 1 184.181.26.3
2024-09-17 16:22:43,803 - DEBUG - PING 184.181.26.3 (184.181.26.3): 56 data bytes
64 bytes from 184.181.26.3: seq=0 ttl=62 time=5.339 ms
64 bytes from 184.181.26.3: seq=1 ttl=62 time=1.275 ms
64 bytes from 184.181.26.3: seq=2 ttl=62 time=1.165 ms
--- 184.181.26.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.165/2.593/5.339 ms
2024-09-17 16:22:43,803 - INFO - Ping to IP 184.181.26.3 from VM ctest-TestRoutersBasic-30306286-66906551 passed
2024-09-17 16:22:43,803 - INFO - Deleting interface with subnet_id 3ac56e8b-26a4-47a9-adac-0b409a594880, port_id None from router 951a841c-8571-498b-be3c-6710366951f4
2024-09-17 16:22:44,087 - INFO - Deleting VM ctest-TestRoutersBasic-30306286-71268169
2024-09-17 16:22:44,165 - INFO - Deleting VM ctest-TestRoutersBasic-30306286-66906551
2024-09-17 16:22:44,268 - INFO - Deleting VN ctest-ext_vn-72907394
2024-09-17 16:22:44,353 - DEBUG - VN a6d6c7d6-44fe-4cb3-b33f-790cd9c4bd2e still in use: Unable to complete operation on network a6d6c7d6-44fe-4cb3-b33f-790cd9c4bd2e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dd630fe4-6e43-4228-ab5b-0d51cfa29ebb']
2024-09-17 16:22:44,354 - WARNING - Deleting VN ctest-ext_vn-72907394 failed..Will retry
2024-09-17 16:22:46,490 - DEBUG - Response for deleting network ()
2024-09-17 16:22:46,490 - INFO - Deleting VN ctest-vn-31220927
2024-09-17 16:22:46,617 - DEBUG - Response for deleting network ()
2024-09-17 16:22:46,876 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 16:22:46,876 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-17 16:22:46,877 - INFO - --------------------------------------------------------------------------------
2024-09-17 16:22:47,643 - INFO - Deleted project: ctest-TestRoutersBasic-30306286, ID : 8fcd8e2c-80ef-4e66-9362-d6fafc92f9bc