2024-08-29 23:36:24,178 - INFO - Domain Default found not creating
2024-08-29 23:36:24,333 - INFO - Project ctest-TestRoutersBasic-93933240 not found, creating it
2024-08-29 23:36:24,820 - INFO - Created Project:ctest-TestRoutersBasic-93933240, ID : edcddddb-523d-4781-8308-c7c54edcfcbf
2024-08-29 23:36:26,340 - INFO - ================================================================================
2024-08-29 23:36:26,340 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-08-29 23:36:26,340 - 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-08-29 23:36:26,595 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.10': '0'}} with
2024-08-29 23:36:26,595 - INFO - Initial checks done. Running the testcase now
2024-08-29 23:36:26,595 - INFO -
2024-08-29 23:36:27,297 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93933240
2024-08-29 23:36:27,393 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93933240
2024-08-29 23:36:27,709 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93933240', 'default']}
2024-08-29 23:36:29,328 - DEBUG - Response for create_network : {'network': {'id': 'd941e9e0-4d73-4452-80b3-d3fc6c8000d6', 'name': 'ctest-vn-78550352', 'tenant_id': 'edcddddb523d47818308c7c54edcfcbf', 'project_id': 'edcddddb523d47818308c7c54edcfcbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93933240', 'ctest-vn-78550352'], 'port_security_enabled': True, 'description': ''}}
2024-08-29 23:36:29,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb04d9d7-e613-461f-bccf-ac9a6f0765fb', 'name': '', 'tenant_id': 'edcddddb523d47818308c7c54edcfcbf', 'network_id': 'd941e9e0-4d73-4452-80b3-d3fc6c8000d6', 'ip_version': 4, 'cidr': '167.46.17.192/26', 'allocation_pools': [{'start': '167.46.17.194', 'end': '167.46.17.254'}], 'gateway_ip': '167.46.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.46.17.194', 'tags': [], 'project_id': 'edcddddb523d47818308c7c54edcfcbf'}}
2024-08-29 23:36:29,569 - INFO - Created VN ctest-vn-78550352
2024-08-29 23:36:29,622 - DEBUG - VN ctest-vn-78550352 UUID is d941e9e0-4d73-4452-80b3-d3fc6c8000d6
2024-08-29 23:36:29,939 - DEBUG - Response for create_network : {'network': {'id': '83836ac9-7277-4b59-935a-d4907a52c358', 'name': 'ctest-ext_vn-06262446', 'tenant_id': 'edcddddb523d47818308c7c54edcfcbf', 'project_id': 'edcddddb523d47818308c7c54edcfcbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93933240', 'ctest-ext_vn-06262446'], 'port_security_enabled': True, 'description': ''}}
2024-08-29 23:36:30,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c7b4bc2-ac5a-4eb6-8679-83ad1cc9ae5b', 'name': '', 'tenant_id': 'edcddddb523d47818308c7c54edcfcbf', 'network_id': '83836ac9-7277-4b59-935a-d4907a52c358', 'ip_version': 4, 'cidr': '14.165.94.64/26', 'allocation_pools': [{'start': '14.165.94.66', 'end': '14.165.94.126'}], 'gateway_ip': '14.165.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.165.94.66', 'tags': [], 'project_id': 'edcddddb523d47818308c7c54edcfcbf'}}
2024-08-29 23:36:30,167 - INFO - Created VN ctest-ext_vn-06262446
2024-08-29 23:36:30,217 - DEBUG - VN ctest-ext_vn-06262446 UUID is 83836ac9-7277-4b59-935a-d4907a52c358
2024-08-29 23:36:30,390 - DEBUG - Services list from nova: [, , ]
2024-08-29 23:36:31,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1819-1)
2024-08-29 23:36:33,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1819-1)
2024-08-29 23:36:33,479 - INFO - Setting gateway for router 7f2cd8e6-4a08-4b7f-914a-823b5958fcd1 to network 83836ac9-7277-4b59-935a-d4907a52c358
2024-08-29 23:36:33,544 - INFO - Adding interface with subnet_id eb04d9d7-e613-461f-bccf-ac9a6f0765fb, port_id None to router 7f2cd8e6-4a08-4b7f-914a-823b5958fcd1
2024-08-29 23:36:33,952 - INFO - Waiting for VM ctest-TestRoutersBasic-93933240-63938229 to be up..
2024-08-29 23:36:34,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-08-29 23:36:39,163 - DEBUG - VM is in ACTIVE state now
2024-08-29 23:36:39,164 - INFO - VM name : ctest-TestRoutersBasic-93933240-63938229
2024-08-29 23:36:39,241 - DEBUG - VM ctest-TestRoutersBasic-93933240-63938229 ID is 8a2acc2b-6a04-4e6b-91f7-f49358b83c06
2024-08-29 23:36:39,260 - DEBUG - VM ctest-TestRoutersBasic-93933240-63938229 launched on Node cn-jenkins-deploy-platform-ansible-os-1819-1
2024-08-29 23:36:39,336 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8a2acc2b-6a04-4e6b-91f7-f49358b83c06
2024-08-29 23:36:39,630 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8a2acc2b-6a04-4e6b-91f7-f49358b83c06
2024-08-29 23:36:39,666 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e2cf8274-2e8f-463f-aaae-d76de70d0df9
2024-08-29 23:36:42,937 - 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')
2024-08-29 23:36:42,938 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93933240-63938229 failed!
2024-08-29 23:36:42,989 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93933240:ctest-vn-78550352 is 167.46.17.193 and allocation pool is NOT set
2024-08-29 23:36:45,048 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.340 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.340/1.981/3.623/1.641 ms')
2024-08-29 23:36:45,048 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93933240-63938229 passed
2024-08-29 23:36:45,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-29 23:36:45,202 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93933240-63938229, IP 167.46.17.195, Port 22
2024-08-29 23:36:45,379 - DEBUG - VM ctest-TestRoutersBasic-93933240-63938229 is ready for SSH connections
2024-08-29 23:36:45,379 - INFO - Waiting for VM ctest-TestRoutersBasic-93933240-14818308 to be up..
2024-08-29 23:36:45,466 - DEBUG - VM is in ACTIVE state now
2024-08-29 23:36:45,466 - INFO - VM name : ctest-TestRoutersBasic-93933240-14818308
2024-08-29 23:36:45,542 - DEBUG - VM ctest-TestRoutersBasic-93933240-14818308 ID is 0ae86607-29bd-459d-9ea7-ff3ec1df2c0f
2024-08-29 23:36:45,542 - DEBUG - VM ctest-TestRoutersBasic-93933240-14818308 launched on Node cn-jenkins-deploy-platform-ansible-os-1819-1
2024-08-29 23:36:45,615 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0ae86607-29bd-459d-9ea7-ff3ec1df2c0f
2024-08-29 23:36:45,623 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4e417b77-ca2a-4a4a-97c3-fee0e6e37a61
2024-08-29 23:36:46,867 - 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=8.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.563 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.563/4.536/8.510/3.973 ms')
2024-08-29 23:36:46,867 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93933240-14818308 passed
2024-08-29 23:36:47,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-29 23:36:47,018 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93933240-14818308, IP 14.165.94.67, Port 22
2024-08-29 23:36:47,169 - DEBUG - VM ctest-TestRoutersBasic-93933240-14818308 is ready for SSH connections
2024-08-29 23:36:47,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-29 23:36:47,169 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.165.94.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2024-08-29 23:36:47,169 - DEBUG - ping -s 56 -c 3 -W 1 14.165.94.67
2024-08-29 23:36:50,852 - DEBUG - PING 14.165.94.67 (14.165.94.67): 56 data bytes
64 bytes from 14.165.94.67: seq=0 ttl=62 time=5.715 ms
64 bytes from 14.165.94.67: seq=1 ttl=62 time=0.753 ms
64 bytes from 14.165.94.67: seq=2 ttl=62 time=0.952 ms
--- 14.165.94.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.753/2.473/5.715 ms
2024-08-29 23:36:50,852 - INFO - Ping to IP 14.165.94.67 from VM ctest-TestRoutersBasic-93933240-63938229 passed
2024-08-29 23:36:50,852 - INFO - Deleting interface with subnet_id eb04d9d7-e613-461f-bccf-ac9a6f0765fb, port_id None from router 7f2cd8e6-4a08-4b7f-914a-823b5958fcd1
2024-08-29 23:36:51,059 - INFO - Deleting VM ctest-TestRoutersBasic-93933240-14818308
2024-08-29 23:36:51,127 - INFO - Deleting VM ctest-TestRoutersBasic-93933240-63938229
2024-08-29 23:36:51,194 - INFO - Deleting VN ctest-ext_vn-06262446
2024-08-29 23:36:51,262 - DEBUG - VN 83836ac9-7277-4b59-935a-d4907a52c358 still in use: Unable to complete operation on network 83836ac9-7277-4b59-935a-d4907a52c358. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c9b403f0-609e-4ec4-b5ac-675ac7df4274']
2024-08-29 23:36:51,262 - WARNING - Deleting VN ctest-ext_vn-06262446 failed..Will retry
2024-08-29 23:36:53,386 - DEBUG - Response for deleting network ()
2024-08-29 23:36:53,386 - INFO - Deleting VN ctest-vn-78550352
2024-08-29 23:36:53,505 - DEBUG - Response for deleting network ()
2024-08-29 23:36:53,762 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 23:36:53,762 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-08-29 23:36:53,763 - INFO - --------------------------------------------------------------------------------
2024-08-29 23:36:54,438 - INFO - Deleted project: ctest-TestRoutersBasic-93933240, ID : edcddddb-523d-4781-8308-c7c54edcfcbf