2025-04-17 20:20:44,537 - INFO - Reading existing Domain with UUID 9a0acbb4-613c-434e-b7f2-08d2943577cb 2025-04-17 20:20:44,549 - INFO - Using existing domain ['admin_domain'](9a0acbb4-613c-434e-b7f2-08d2943577cb) 2025-04-17 20:20:44,744 - INFO - Project ctest-TestBasicVMVNx-99759497 not found, creating it 2025-04-17 20:20:45,272 - INFO - Created Project:ctest-TestBasicVMVNx-99759497, ID : 65160346-6780-4857-a96a-5feba79f3ba3 2025-04-17 20:20:46,987 - INFO - ================================================================================ 2025-04-17 20:20:46,988 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-17 20:20:46,988 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2025-04-17 20:20:47,373 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.0.0.49': '0'}} with 2025-04-17 20:20:47,373 - INFO - Initial checks done. Running the testcase now 2025-04-17 20:20:47,373 - INFO - 2025-04-17 20:20:48,129 - DEBUG - Response for create_network : {'network': {'id': '217c9098-544a-41b7-a406-5b9f3c8296a1', 'name': 'ctest-vn-58139526', 'tenant_id': '6516034667804857a96a5feba79f3ba3', 'project_id': '6516034667804857a96a5feba79f3ba3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-99759497', 'ctest-vn-58139526'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-17 20:20:48,369 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af114a90-e237-450c-be17-3d1303dc9df7', 'name': '', 'tenant_id': '6516034667804857a96a5feba79f3ba3', 'network_id': '217c9098-544a-41b7-a406-5b9f3c8296a1', 'ip_version': 4, 'cidr': '176.189.32.128/26', 'allocation_pools': [{'start': '176.189.32.130', 'end': '176.189.32.190'}], 'gateway_ip': '176.189.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-17T20:20:48.259399', 'updated_at': '2025-04-17T20:20:48.259399', 'dns_server_address': '176.189.32.130', 'tags': [], 'project_id': '6516034667804857a96a5feba79f3ba3'}} 2025-04-17 20:20:48,434 - INFO - Created VN ctest-vn-58139526 2025-04-17 20:20:48,488 - DEBUG - VN ctest-vn-58139526 UUID is 217c9098-544a-41b7-a406-5b9f3c8296a1 2025-04-17 20:20:48,768 - DEBUG - Services list from nova: [, , ] 2025-04-17 20:20:50,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-522-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-522-1) 2025-04-17 20:20:51,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-522-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-522-1) 2025-04-17 20:20:51,348 - INFO - Waiting for VM ctest-TestBasicVMVNx-99759497-54491615 to be up.. 2025-04-17 20:20:51,490 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-17 20:20:56,734 - DEBUG - VM is in ACTIVE state now 2025-04-17 20:20:56,735 - INFO - VM name : ctest-TestBasicVMVNx-99759497-54491615 2025-04-17 20:20:56,877 - DEBUG - VM ctest-TestBasicVMVNx-99759497-54491615 ID is 7713192b-35e6-409f-93f4-0c1db5457f82 2025-04-17 20:20:56,902 - DEBUG - VM ctest-TestBasicVMVNx-99759497-54491615 launched on Node cn-jenkins-deploy-platform-juju-os-522-1 2025-04-17 20:20:57,066 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/7713192b-35e6-409f-93f4-0c1db5457f82 2025-04-17 20:20:57,421 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/7713192b-35e6-409f-93f4-0c1db5457f82 2025-04-17 20:20:57,509 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine-interface/28c7feb7-09b4-471d-b448-1c5f649c9945 2025-04-17 20:21:00,979 - 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 1012ms') 2025-04-17 20:21:00,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99759497-54491615 failed! 2025-04-17 20:21:01,044 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-99759497:ctest-vn-58139526 is 176.189.32.129 and allocation pool is NOT set 2025-04-17 20:21:03,146 - 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=17.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.03 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 = 2.030/9.646/17.262/7.616 ms') 2025-04-17 20:21:03,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99759497-54491615 passed 2025-04-17 20:21:03,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 20:21:03,308 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99759497-54491615, IP 176.189.32.131, Port 22 2025-04-17 20:21:03,394 - 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': ''} 2025-04-17 20:21:03,526 - DEBUG - VM ctest-TestBasicVMVNx-99759497-54491615 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-17 20:21:08,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 20:21:08,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99759497-54491615, IP 176.189.32.131, Port 22 2025-04-17 20:21:08,738 - DEBUG - VM ctest-TestBasicVMVNx-99759497-54491615 is ready for SSH connections 2025-04-17 20:21:08,738 - INFO - Waiting for VM ctest-TestBasicVMVNx-99759497-78902191 to be up.. 2025-04-17 20:21:08,878 - DEBUG - VM is in ACTIVE state now 2025-04-17 20:21:08,878 - INFO - VM name : ctest-TestBasicVMVNx-99759497-78902191 2025-04-17 20:21:09,033 - DEBUG - VM ctest-TestBasicVMVNx-99759497-78902191 ID is cc7733dd-c106-43d9-ae4c-14ca5c2b02a5 2025-04-17 20:21:09,033 - DEBUG - VM ctest-TestBasicVMVNx-99759497-78902191 launched on Node cn-jenkins-deploy-platform-juju-os-522-1 2025-04-17 20:21:09,171 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/cc7733dd-c106-43d9-ae4c-14ca5c2b02a5 2025-04-17 20:21:09,225 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine-interface/f9aab9b4-da03-42d5-ba8c-e33324907fcc 2025-04-17 20:21:10,699 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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.367/1.801/3.236/1.434 ms') 2025-04-17 20:21:10,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99759497-78902191 passed 2025-04-17 20:21:10,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 20:21:10,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99759497-78902191, IP 176.189.32.132, Port 22 2025-04-17 20:21:11,070 - DEBUG - VM ctest-TestBasicVMVNx-99759497-78902191 is ready for SSH connections 2025-04-17 20:21:11,070 - DEBUG - FILE SIZE = 1303B 2025-04-17 20:21:11,070 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99759497-54491615 to ctest-TestBasicVMVNx-99759497-78902191 using scp 2025-04-17 20:21:11,077 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-04-17 20:21:11,077 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-17 20:21:12,631 - DEBUG - 1+0 records in 1+0 records out 2025-04-17 20:21:13,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 20:21:13,717 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-04-17 20:21:13,717 - DEBUG - ls -l testfile 2025-04-17 20:21:15,313 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 17 14:21 testfile 2025-04-17 20:21:15,314 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99759497-78902191 2025-04-17 20:21:15,314 - INFO - Deleting VM ctest-TestBasicVMVNx-99759497-78902191 2025-04-17 20:21:15,409 - INFO - Deleting VM ctest-TestBasicVMVNx-99759497-54491615 2025-04-17 20:21:15,501 - INFO - Deleting VN ctest-vn-58139526 2025-04-17 20:21:15,635 - DEBUG - VN 217c9098-544a-41b7-a406-5b9f3c8296a1 still in use: Unable to complete operation on network 217c9098-544a-41b7-a406-5b9f3c8296a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e3e8a20-ddba-446a-92ba-77ec8e6c36f8'] 2025-04-17 20:21:15,635 - WARNING - Deleting VN ctest-vn-58139526 failed..Will retry 2025-04-17 20:21:17,799 - DEBUG - Response for deleting network () 2025-04-17 20:21:18,197 - DEBUG - No XMPP flaps were noticed during the test
2025-04-17 20:21:18,197 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-04-17 20:21:18,197 - INFO - -------------------------------------------------------------------------------- 2025-04-17 20:21:18,954 - INFO - Deleted project: ctest-TestBasicVMVNx-99759497, ID : 65160346-6780-4857-a96a-5feba79f3ba3