2024-11-11 01:47:49,196 - INFO - Domain Default found not creating
2024-11-11 01:47:49,360 - INFO - Project ctest-TestRoutersBasic-76448280 not found, creating it
2024-11-11 01:47:49,895 - INFO - Created Project:ctest-TestRoutersBasic-76448280, ID : 03c3774d-9d3b-455b-8137-9a044b16f578
2024-11-11 01:47:51,580 - INFO - ================================================================================
2024-11-11 01:47:51,581 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-11 01:47:51,581 - 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-11-11 01:47:51,840 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.34': '0'}} with
2024-11-11 01:47:51,840 - INFO - Initial checks done. Running the testcase now
2024-11-11 01:47:51,840 - INFO -
2024-11-11 01:47:52,688 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76448280
2024-11-11 01:47:52,790 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76448280
2024-11-11 01:47:53,134 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76448280', 'default']}
2024-11-11 01:47:53,464 - DEBUG - Response for create_network : {'network': {'id': '6f89548a-d1b2-4e49-be47-d9a15b9414db', 'name': 'ctest-vn-94388110', 'tenant_id': '03c3774d9d3b455b81379a044b16f578', 'project_id': '03c3774d9d3b455b81379a044b16f578', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76448280', 'ctest-vn-94388110'], 'port_security_enabled': True, 'description': ''}}
2024-11-11 01:47:53,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d23182b-916f-4f16-af48-a609c2e15dd4', 'name': '', 'tenant_id': '03c3774d9d3b455b81379a044b16f578', 'network_id': '6f89548a-d1b2-4e49-be47-d9a15b9414db', 'ip_version': 4, 'cidr': '197.159.76.64/26', 'allocation_pools': [{'start': '197.159.76.66', 'end': '197.159.76.126'}], 'gateway_ip': '197.159.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.159.76.66', 'tags': [], 'project_id': '03c3774d9d3b455b81379a044b16f578'}}
2024-11-11 01:47:53,711 - INFO - Created VN ctest-vn-94388110
2024-11-11 01:47:53,774 - DEBUG - VN ctest-vn-94388110 UUID is 6f89548a-d1b2-4e49-be47-d9a15b9414db
2024-11-11 01:47:54,164 - DEBUG - Response for create_network : {'network': {'id': 'd61f207b-a737-4ab5-a774-afa2fa540757', 'name': 'ctest-ext_vn-12592180', 'tenant_id': '03c3774d9d3b455b81379a044b16f578', 'project_id': '03c3774d9d3b455b81379a044b16f578', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76448280', 'ctest-ext_vn-12592180'], 'port_security_enabled': True, 'description': ''}}
2024-11-11 01:47:54,390 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d1efdb3-eabd-4ac6-a7f8-f185d80d7e01', 'name': '', 'tenant_id': '03c3774d9d3b455b81379a044b16f578', 'network_id': 'd61f207b-a737-4ab5-a774-afa2fa540757', 'ip_version': 4, 'cidr': '214.243.43.0/26', 'allocation_pools': [{'start': '214.243.43.2', 'end': '214.243.43.62'}], 'gateway_ip': '214.243.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.243.43.2', 'tags': [], 'project_id': '03c3774d9d3b455b81379a044b16f578'}}
2024-11-11 01:47:54,412 - INFO - Created VN ctest-ext_vn-12592180
2024-11-11 01:47:54,474 - DEBUG - VN ctest-ext_vn-12592180 UUID is d61f207b-a737-4ab5-a774-afa2fa540757
2024-11-11 01:47:54,654 - DEBUG - Services list from nova: [, , ]
2024-11-11 01:47:55,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2270-1)
2024-11-11 01:47:57,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2270-1)
2024-11-11 01:47:57,144 - INFO - Setting gateway for router eee6e8c4-2757-458e-b19a-14c92b2760f0 to network d61f207b-a737-4ab5-a774-afa2fa540757
2024-11-11 01:47:57,265 - INFO - Adding interface with subnet_id 8d23182b-916f-4f16-af48-a609c2e15dd4, port_id None to router eee6e8c4-2757-458e-b19a-14c92b2760f0
2024-11-11 01:47:57,733 - INFO - Waiting for VM ctest-TestRoutersBasic-76448280-82942303 to be up..
2024-11-11 01:47:57,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-11 01:48:02,995 - DEBUG - VM is in ACTIVE state now
2024-11-11 01:48:02,995 - INFO - VM name : ctest-TestRoutersBasic-76448280-82942303
2024-11-11 01:48:03,086 - DEBUG - VM ctest-TestRoutersBasic-76448280-82942303 ID is dfdccd2d-b62b-4aac-8ee6-945c6c97ae79
2024-11-11 01:48:03,106 - DEBUG - VM ctest-TestRoutersBasic-76448280-82942303 launched on Node cn-jenkins-deploy-platform-ansible-os-2270-1
2024-11-11 01:48:03,185 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/dfdccd2d-b62b-4aac-8ee6-945c6c97ae79
2024-11-11 01:48:03,521 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/dfdccd2d-b62b-4aac-8ee6-945c6c97ae79
2024-11-11 01:48:03,561 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/2ec597b8-81e3-4615-a5ba-25894b9f0720
2024-11-11 01:48:06,832 - 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 1023ms')
2024-11-11 01:48:06,832 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76448280-82942303 failed!
2024-11-11 01:48:06,894 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76448280:ctest-vn-94388110 is 197.159.76.65 and allocation pool is NOT set
2024-11-11 01:48:08,955 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 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 = 1.308/2.719/4.130/1.411 ms')
2024-11-11 01:48:08,955 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76448280-82942303 passed
2024-11-11 01:48:09,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-11 01:48:09,118 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76448280-82942303, IP 197.159.76.67, Port 22
2024-11-11 01:48:09,174 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-11-11 01:48:09,264 - DEBUG - VM ctest-TestRoutersBasic-76448280-82942303 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-11 01:48:14,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-11 01:48:14,265 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76448280-82942303, IP 197.159.76.67, Port 22
2024-11-11 01:48:14,421 - DEBUG - VM ctest-TestRoutersBasic-76448280-82942303 is ready for SSH connections
2024-11-11 01:48:14,422 - INFO - Waiting for VM ctest-TestRoutersBasic-76448280-76357480 to be up..
2024-11-11 01:48:14,508 - DEBUG - VM is in ACTIVE state now
2024-11-11 01:48:14,508 - INFO - VM name : ctest-TestRoutersBasic-76448280-76357480
2024-11-11 01:48:14,593 - DEBUG - VM ctest-TestRoutersBasic-76448280-76357480 ID is 660e2363-b760-41d0-b37e-00445ad9babd
2024-11-11 01:48:14,594 - DEBUG - VM ctest-TestRoutersBasic-76448280-76357480 launched on Node cn-jenkins-deploy-platform-ansible-os-2270-1
2024-11-11 01:48:14,687 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/660e2363-b760-41d0-b37e-00445ad9babd
2024-11-11 01:48:14,700 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/24dfd629-c941-4330-a4fe-5aa148de40cb
2024-11-11 01:48:15,963 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.738/3.087/1.348 ms')
2024-11-11 01:48:15,963 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76448280-76357480 passed
2024-11-11 01:48:16,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-11 01:48:16,130 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76448280-76357480, IP 214.243.43.3, Port 22
2024-11-11 01:48:16,286 - DEBUG - VM ctest-TestRoutersBasic-76448280-76357480 is ready for SSH connections
2024-11-11 01:48:16,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-11 01:48:16,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.243.43.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2024-11-11 01:48:16,286 - DEBUG - ping -s 56 -c 3 -W 1 214.243.43.3
2024-11-11 01:48:20,042 - DEBUG - PING 214.243.43.3 (214.243.43.3): 56 data bytes
64 bytes from 214.243.43.3: seq=0 ttl=62 time=7.504 ms
64 bytes from 214.243.43.3: seq=1 ttl=62 time=1.023 ms
64 bytes from 214.243.43.3: seq=2 ttl=62 time=0.908 ms
--- 214.243.43.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.908/3.145/7.504 ms
2024-11-11 01:48:20,042 - INFO - Ping to IP 214.243.43.3 from VM ctest-TestRoutersBasic-76448280-82942303 passed
2024-11-11 01:48:20,043 - INFO - Deleting interface with subnet_id 8d23182b-916f-4f16-af48-a609c2e15dd4, port_id None from router eee6e8c4-2757-458e-b19a-14c92b2760f0
2024-11-11 01:48:20,261 - INFO - Deleting VM ctest-TestRoutersBasic-76448280-76357480
2024-11-11 01:48:20,352 - INFO - Deleting VM ctest-TestRoutersBasic-76448280-82942303
2024-11-11 01:48:20,447 - INFO - Deleting VN ctest-ext_vn-12592180
2024-11-11 01:48:20,529 - DEBUG - VN d61f207b-a737-4ab5-a774-afa2fa540757 still in use: Unable to complete operation on network d61f207b-a737-4ab5-a774-afa2fa540757. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-39b8ca86-ecb2-497e-8f3f-117ccf7118ff']
2024-11-11 01:48:20,529 - WARNING - Deleting VN ctest-ext_vn-12592180 failed..Will retry
2024-11-11 01:48:22,645 - DEBUG - Response for deleting network ()
2024-11-11 01:48:22,646 - INFO - Deleting VN ctest-vn-94388110
2024-11-11 01:48:22,770 - DEBUG - Response for deleting network ()
2024-11-11 01:48:23,030 - DEBUG - No XMPP flaps were noticed during the test
2024-11-11 01:48:23,030 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2024-11-11 01:48:23,030 - INFO - --------------------------------------------------------------------------------
2024-11-11 01:48:23,767 - INFO - Deleted project: ctest-TestRoutersBasic-76448280, ID : 03c3774d-9d3b-455b-8137-9a044b16f578