2025-04-24 13:26:49,555 - INFO - Domain Default found not creating 2025-04-24 13:26:49,691 - INFO - Project ctest-TestBasicVMVNx-34483168 not found, creating it 2025-04-24 13:26:50,162 - INFO - Created Project:ctest-TestBasicVMVNx-34483168, ID : 53f98e19-0258-4055-8383-3f60ddd85ce5 2025-04-24 13:26:51,703 - INFO - ================================================================================ 2025-04-24 13:26:51,703 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-24 13:26:51,703 - 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-24 13:26:51,961 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-24 13:26:51,961 - INFO - Initial checks done. Running the testcase now 2025-04-24 13:26:51,961 - INFO - 2025-04-24 13:26:52,563 - DEBUG - Response for create_network : {'network': {'id': 'b89b1a71-0507-435a-8475-6655a914d218', 'name': 'ctest-vn-94917412', 'tenant_id': '53f98e190258405583833f60ddd85ce5', 'project_id': '53f98e190258405583833f60ddd85ce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34483168', 'ctest-vn-94917412'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:26:52,777 - DEBUG - Response for create_subnet : {'subnet': {'id': '83fca971-da7c-43d5-87d2-4b4ee52fdd65', 'name': '', 'tenant_id': '53f98e190258405583833f60ddd85ce5', 'network_id': 'b89b1a71-0507-435a-8475-6655a914d218', 'ip_version': 4, 'cidr': '39.166.103.192/26', 'allocation_pools': [{'start': '39.166.103.194', 'end': '39.166.103.254'}], 'gateway_ip': '39.166.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.166.103.194', 'tags': [], 'project_id': '53f98e190258405583833f60ddd85ce5'}} 2025-04-24 13:26:52,797 - INFO - Created VN ctest-vn-94917412 2025-04-24 13:26:52,853 - DEBUG - VN ctest-vn-94917412 UUID is b89b1a71-0507-435a-8475-6655a914d218 2025-04-24 13:26:53,022 - DEBUG - Services list from nova: [, , ] 2025-04-24 13:26:54,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3204-1) 2025-04-24 13:26:55,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3204-1) 2025-04-24 13:26:55,308 - INFO - Waiting for VM ctest-TestBasicVMVNx-34483168-94852610 to be up.. 2025-04-24 13:26:55,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 13:27:00,471 - DEBUG - VM is in ACTIVE state now 2025-04-24 13:27:00,471 - INFO - VM name : ctest-TestBasicVMVNx-34483168-94852610 2025-04-24 13:27:00,566 - DEBUG - VM ctest-TestBasicVMVNx-34483168-94852610 ID is bc89d2e9-3da7-4ee3-91de-6e5cc061b6f0 2025-04-24 13:27:00,585 - DEBUG - VM ctest-TestBasicVMVNx-34483168-94852610 launched on Node cn-jenkins-deploy-platform-ansible-os-3204-1 2025-04-24 13:27:00,661 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bc89d2e9-3da7-4ee3-91de-6e5cc061b6f0 2025-04-24 13:27:00,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bc89d2e9-3da7-4ee3-91de-6e5cc061b6f0 2025-04-24 13:27:01,026 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1b7d7639-1af8-4c0e-af6f-695fabbe0f39 2025-04-24 13:27:04,289 - 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 1031ms') 2025-04-24 13:27:04,289 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34483168-94852610 failed! 2025-04-24 13:27:04,346 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34483168:ctest-vn-94917412 is 39.166.103.193 and allocation pool is NOT set 2025-04-24 13:27:06,408 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.853 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.853/2.454/4.056/1.601 ms') 2025-04-24 13:27:06,409 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34483168-94852610 passed 2025-04-24 13:27:06,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:27:06,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34483168-94852610, IP 39.166.103.195, Port 22 2025-04-24 13:27:06,617 - 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-24 13:27:06,695 - DEBUG - VM ctest-TestBasicVMVNx-34483168-94852610 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-24 13:27:11,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:27:11,696 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34483168-94852610, IP 39.166.103.195, Port 22 2025-04-24 13:27:11,853 - DEBUG - VM ctest-TestBasicVMVNx-34483168-94852610 is ready for SSH connections 2025-04-24 13:27:11,853 - INFO - Waiting for VM ctest-TestBasicVMVNx-34483168-39655014 to be up.. 2025-04-24 13:27:11,941 - DEBUG - VM is in ACTIVE state now 2025-04-24 13:27:11,941 - INFO - VM name : ctest-TestBasicVMVNx-34483168-39655014 2025-04-24 13:27:12,025 - DEBUG - VM ctest-TestBasicVMVNx-34483168-39655014 ID is 79cd5ba3-21a4-4f40-b562-3e07bb87c7f6 2025-04-24 13:27:12,026 - DEBUG - VM ctest-TestBasicVMVNx-34483168-39655014 launched on Node cn-jenkins-deploy-platform-ansible-os-3204-1 2025-04-24 13:27:12,100 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/79cd5ba3-21a4-4f40-b562-3e07bb87c7f6 2025-04-24 13:27:12,109 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c8d9b6a6-1e48-4a5f-9c18-8d4ba94f1ac4 2025-04-24 13:27:13,358 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.336 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.336/1.659/2.983/1.323 ms') 2025-04-24 13:27:13,358 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34483168-39655014 passed 2025-04-24 13:27:13,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:27:13,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34483168-39655014, IP 39.166.103.196, Port 22 2025-04-24 13:27:13,678 - DEBUG - VM ctest-TestBasicVMVNx-34483168-39655014 is ready for SSH connections 2025-04-24 13:27:13,678 - DEBUG - FILE SIZE = 1303B 2025-04-24 13:27:13,678 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34483168-94852610 to ctest-TestBasicVMVNx-34483168-39655014 using scp 2025-04-24 13:27:13,679 - 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.254, gateway password: c0ntrail123 2025-04-24 13:27:13,679 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-24 13:27:15,654 - DEBUG - 1+0 records in 1+0 records out 2025-04-24 13:27:16,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:27:16,632 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 13:27:16,632 - DEBUG - ls -l testfile 2025-04-24 13:27:18,262 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 24 07:27 testfile 2025-04-24 13:27:18,262 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34483168-39655014 2025-04-24 13:27:18,262 - INFO - Deleting VM ctest-TestBasicVMVNx-34483168-39655014 2025-04-24 13:27:18,427 - INFO - Deleting VM ctest-TestBasicVMVNx-34483168-94852610 2025-04-24 13:27:18,490 - INFO - Deleting VN ctest-vn-94917412 2025-04-24 13:27:18,530 - DEBUG - VN b89b1a71-0507-435a-8475-6655a914d218 still in use: Unable to complete operation on network b89b1a71-0507-435a-8475-6655a914d218. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4f658278-cf38-471d-8dd3-6429dba0d0c2'] 2025-04-24 13:27:18,530 - WARNING - Deleting VN ctest-vn-94917412 failed..Will retry 2025-04-24 13:27:20,661 - DEBUG - Response for deleting network () 2025-04-24 13:27:20,917 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 13:27:20,917 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-04-24 13:27:20,917 - INFO - -------------------------------------------------------------------------------- 2025-04-24 13:27:21,643 - INFO - Deleted project: ctest-TestBasicVMVNx-34483168, ID : 53f98e19-0258-4055-8383-3f60ddd85ce5