2025-04-07 02:20:47,577 - INFO - Domain Default found not creating
2025-04-07 02:20:47,748 - INFO - Project ctest-TestBasicVMVNx-95850460 not found, creating it
2025-04-07 02:20:48,251 - INFO - Created Project:ctest-TestBasicVMVNx-95850460, ID : dc95395f-6033-4009-bee6-c71b91c5e772
2025-04-07 02:20:49,822 - INFO - ================================================================================
2025-04-07 02:20:49,823 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-07 02:20:49,823 - 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-07 02:20:50,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.6': '0'}} with
2025-04-07 02:20:50,082 - INFO - Initial checks done. Running the testcase now
2025-04-07 02:20:50,082 - INFO -
2025-04-07 02:20:50,670 - DEBUG - Response for create_network : {'network': {'id': 'b580a607-551e-4c81-9973-e139a6af3ba2', 'name': 'ctest-vn-74162327', 'tenant_id': 'dc95395f60334009bee6c71b91c5e772', 'project_id': 'dc95395f60334009bee6c71b91c5e772', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95850460', 'ctest-vn-74162327'], 'port_security_enabled': True, 'description': ''}}
2025-04-07 02:20:50,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b6e1107-812b-4494-ba5c-36c6060a8c7e', 'name': '', 'tenant_id': 'dc95395f60334009bee6c71b91c5e772', 'network_id': 'b580a607-551e-4c81-9973-e139a6af3ba2', 'ip_version': 4, 'cidr': '82.137.172.0/26', 'allocation_pools': [{'start': '82.137.172.2', 'end': '82.137.172.62'}], 'gateway_ip': '82.137.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.137.172.2', 'tags': [], 'project_id': 'dc95395f60334009bee6c71b91c5e772'}}
2025-04-07 02:20:50,863 - INFO - Created VN ctest-vn-74162327
2025-04-07 02:20:50,917 - DEBUG - VN ctest-vn-74162327 UUID is b580a607-551e-4c81-9973-e139a6af3ba2
2025-04-07 02:20:51,092 - DEBUG - Services list from nova: [, , ]
2025-04-07 02:20:52,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3040-1)
2025-04-07 02:20:53,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3040-1)
2025-04-07 02:20:53,252 - INFO - Waiting for VM ctest-TestBasicVMVNx-95850460-44336949 to be up..
2025-04-07 02:20:53,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-07 02:20:58,425 - DEBUG - VM is in ACTIVE state now
2025-04-07 02:20:58,425 - INFO - VM name : ctest-TestBasicVMVNx-95850460-44336949
2025-04-07 02:20:58,512 - DEBUG - VM ctest-TestBasicVMVNx-95850460-44336949 ID is eccea020-fcc3-4c14-bb98-253cce273b12
2025-04-07 02:20:58,532 - DEBUG - VM ctest-TestBasicVMVNx-95850460-44336949 launched on Node cn-jenkins-deploy-platform-ansible-os-3040-1
2025-04-07 02:20:58,620 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/eccea020-fcc3-4c14-bb98-253cce273b12
2025-04-07 02:20:58,920 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/eccea020-fcc3-4c14-bb98-253cce273b12
2025-04-07 02:20:58,957 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/73300570-b86e-4e14-93b4-88ce6ea6e517
2025-04-07 02:21:02,232 - 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 1003ms')
2025-04-07 02:21:02,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95850460-44336949 failed!
2025-04-07 02:21:02,289 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95850460:ctest-vn-74162327 is 82.137.172.1 and allocation pool is NOT set
2025-04-07 02:21:04,350 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.686 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.686/1.902/3.118/1.216 ms')
2025-04-07 02:21:04,350 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95850460-44336949 passed
2025-04-07 02:21:04,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-07 02:21:04,502 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95850460-44336949, IP 82.137.172.3, Port 22
2025-04-07 02:21:04,661 - DEBUG - VM ctest-TestBasicVMVNx-95850460-44336949 is ready for SSH connections
2025-04-07 02:21:04,661 - INFO - Waiting for VM ctest-TestBasicVMVNx-95850460-13203045 to be up..
2025-04-07 02:21:04,738 - DEBUG - VM is in ACTIVE state now
2025-04-07 02:21:04,738 - INFO - VM name : ctest-TestBasicVMVNx-95850460-13203045
2025-04-07 02:21:04,816 - DEBUG - VM ctest-TestBasicVMVNx-95850460-13203045 ID is eb754d65-a1e7-4a28-918b-eeb7ec279b6d
2025-04-07 02:21:04,816 - DEBUG - VM ctest-TestBasicVMVNx-95850460-13203045 launched on Node cn-jenkins-deploy-platform-ansible-os-3040-1
2025-04-07 02:21:04,891 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/eb754d65-a1e7-4a28-918b-eeb7ec279b6d
2025-04-07 02:21:04,900 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/5ecadd11-5748-4587-8c7d-84f9705b5db3
2025-04-07 02:21:06,143 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.86 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 = 1.860/2.934/4.009/1.074 ms')
2025-04-07 02:21:06,143 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95850460-13203045 passed
2025-04-07 02:21:06,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-07 02:21:06,297 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95850460-13203045, IP 82.137.172.4, Port 22
2025-04-07 02:21:06,453 - DEBUG - VM ctest-TestBasicVMVNx-95850460-13203045 is ready for SSH connections
2025-04-07 02:21:06,453 - DEBUG - FILE SIZE = 1303B
2025-04-07 02:21:06,453 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95850460-44336949 to ctest-TestBasicVMVNx-95850460-13203045 using scp
2025-04-07 02:21:06,454 - 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.44, gateway password: c0ntrail123
2025-04-07 02:21:06,454 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-07 02:21:08,355 - DEBUG - 1+0 records in
1+0 records out
2025-04-07 02:21:08,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-07 02:21:09,266 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123
2025-04-07 02:21:09,267 - DEBUG - ls -l testfile
2025-04-07 02:21:10,873 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 6 20:21 [0;0mtestfile[0m
2025-04-07 02:21:10,874 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95850460-13203045
2025-04-07 02:21:10,874 - INFO - Deleting VM ctest-TestBasicVMVNx-95850460-13203045
2025-04-07 02:21:10,948 - INFO - Deleting VM ctest-TestBasicVMVNx-95850460-44336949
2025-04-07 02:21:11,021 - INFO - Deleting VN ctest-vn-74162327
2025-04-07 02:21:11,063 - DEBUG - VN b580a607-551e-4c81-9973-e139a6af3ba2 still in use: Unable to complete operation on network b580a607-551e-4c81-9973-e139a6af3ba2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4be4576e-c771-4de9-8f65-05b660eb34c1']
2025-04-07 02:21:11,063 - WARNING - Deleting VN ctest-vn-74162327 failed..Will retry
2025-04-07 02:21:13,177 - DEBUG - Response for deleting network ()
2025-04-07 02:21:13,431 - DEBUG - No XMPP flaps were noticed during the test
2025-04-07 02:21:13,432 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-07 02:21:13,432 - INFO - --------------------------------------------------------------------------------
2025-04-07 02:21:14,104 - INFO - Deleted project: ctest-TestBasicVMVNx-95850460, ID : dc95395f-6033-4009-bee6-c71b91c5e772