2025-01-02 02:03:24,194 - INFO - Reading existing Domain with UUID 89a6a7fa-b5bc-4ab0-88aa-35431bfe084f
2025-01-02 02:03:24,207 - INFO - Using existing domain ['admin_domain'](89a6a7fa-b5bc-4ab0-88aa-35431bfe084f)
2025-01-02 02:03:24,420 - INFO - Project ctest-TestBasicVMVNx-95116521 not found, creating it
2025-01-02 02:03:24,929 - INFO - Created Project:ctest-TestBasicVMVNx-95116521, ID : 80a5953e-30d9-4cf2-8af8-f809f106dcf3
2025-01-02 02:03:26,612 - INFO - ================================================================================
2025-01-02 02:03:26,612 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-02 02:03:26,612 - 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-01-02 02:03:27,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.0.0.47': '0'}} with
2025-01-02 02:03:27,002 - INFO - Initial checks done. Running the testcase now
2025-01-02 02:03:27,002 - INFO -
2025-01-02 02:03:27,773 - DEBUG - Response for create_network : {'network': {'id': '92b3a81b-6123-47e3-beb0-f0b31f231de2', 'name': 'ctest-vn-34012052', 'tenant_id': '80a5953e30d94cf28af8f809f106dcf3', 'project_id': '80a5953e30d94cf28af8f809f106dcf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-95116521', 'ctest-vn-34012052'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-01-02 02:03:28,037 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8d06391-e1b4-450a-95eb-30ad757c1aee', 'name': '', 'tenant_id': '80a5953e30d94cf28af8f809f106dcf3', 'network_id': '92b3a81b-6123-47e3-beb0-f0b31f231de2', 'ip_version': 4, 'cidr': '18.85.234.64/26', 'allocation_pools': [{'start': '18.85.234.66', 'end': '18.85.234.126'}], 'gateway_ip': '18.85.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-01-02T02:03:27.927278', 'updated_at': '2025-01-02T02:03:27.927278', 'dns_server_address': '18.85.234.66', 'tags': [], 'project_id': '80a5953e30d94cf28af8f809f106dcf3'}}
2025-01-02 02:03:28,102 - INFO - Created VN ctest-vn-34012052
2025-01-02 02:03:28,160 - DEBUG - VN ctest-vn-34012052 UUID is 92b3a81b-6123-47e3-beb0-f0b31f231de2
2025-01-02 02:03:28,435 - DEBUG - Services list from nova: [, , ]
2025-01-02 02:03:29,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-461-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-461-1)
2025-01-02 02:03:31,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-461-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-461-1)
2025-01-02 02:03:31,119 - INFO - Waiting for VM ctest-TestBasicVMVNx-95116521-46500808 to be up..
2025-01-02 02:03:31,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-02 02:03:36,427 - DEBUG - VM is in ACTIVE state now
2025-01-02 02:03:36,427 - INFO - VM name : ctest-TestBasicVMVNx-95116521-46500808
2025-01-02 02:03:36,583 - DEBUG - VM ctest-TestBasicVMVNx-95116521-46500808 ID is a8be9f2b-87e8-4ca3-aaf9-aff3b2f120d9
2025-01-02 02:03:36,621 - DEBUG - VM ctest-TestBasicVMVNx-95116521-46500808 launched on Node cn-jenkins-deploy-platform-juju-os-461-1
2025-01-02 02:03:36,766 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine/a8be9f2b-87e8-4ca3-aaf9-aff3b2f120d9
2025-01-02 02:03:37,108 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine/a8be9f2b-87e8-4ca3-aaf9-aff3b2f120d9
2025-01-02 02:03:37,193 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine-interface/73d4122e-4d29-4c7b-83f5-6d616c59e1f3
2025-01-02 02:03:40,681 - 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 1029ms')
2025-01-02 02:03:40,681 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95116521-46500808 failed!
2025-01-02 02:03:40,740 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-95116521:ctest-vn-34012052 is 18.85.234.65 and allocation pool is NOT set
2025-01-02 02:03:42,837 - 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=8.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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.477/4.375/8.274/3.898 ms')
2025-01-02 02:03:42,837 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95116521-46500808 passed
2025-01-02 02:03:43,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:03:43,000 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95116521-46500808, IP 18.85.234.67, Port 22
2025-01-02 02:03:43,219 - DEBUG - VM ctest-TestBasicVMVNx-95116521-46500808 is ready for SSH connections
2025-01-02 02:03:43,219 - INFO - Waiting for VM ctest-TestBasicVMVNx-95116521-39710570 to be up..
2025-01-02 02:03:43,358 - DEBUG - VM is in ACTIVE state now
2025-01-02 02:03:43,358 - INFO - VM name : ctest-TestBasicVMVNx-95116521-39710570
2025-01-02 02:03:43,499 - DEBUG - VM ctest-TestBasicVMVNx-95116521-39710570 ID is 5e975eda-41dc-410f-a50c-56a4eeb1125c
2025-01-02 02:03:43,499 - DEBUG - VM ctest-TestBasicVMVNx-95116521-39710570 launched on Node cn-jenkins-deploy-platform-juju-os-461-1
2025-01-02 02:03:43,638 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine/5e975eda-41dc-410f-a50c-56a4eeb1125c
2025-01-02 02:03:43,697 - DEBUG - Requesting: https://10.0.0.47:8082/virtual-machine-interface/a228d147-5b84-4df5-8692-057f2c2ffda5
2025-01-02 02:03:45,152 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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.352/2.597/3.842/1.245 ms')
2025-01-02 02:03:45,152 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95116521-39710570 passed
2025-01-02 02:03:45,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:03:45,308 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95116521-39710570, IP 18.85.234.68, Port 22
2025-01-02 02:03:45,522 - DEBUG - VM ctest-TestBasicVMVNx-95116521-39710570 is ready for SSH connections
2025-01-02 02:03:45,523 - DEBUG - FILE SIZE = 1303B
2025-01-02 02:03:45,523 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95116521-46500808 to ctest-TestBasicVMVNx-95116521-39710570 using scp
2025-01-02 02:03:45,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:03:45,533 - 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.47, gateway password: c0ntrail123
2025-01-02 02:03:45,534 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-02 02:03:47,123 - DEBUG - 1+0 records in
1+0 records out
2025-01-02 02:03:47,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:03:48,031 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123
2025-01-02 02:03:48,031 - DEBUG - ls -l testfile
2025-01-02 02:03:49,587 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 1 19:03 [0;0mtestfile[0m
2025-01-02 02:03:49,587 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95116521-39710570
2025-01-02 02:03:49,588 - INFO - Deleting VM ctest-TestBasicVMVNx-95116521-39710570
2025-01-02 02:03:49,696 - INFO - Deleting VM ctest-TestBasicVMVNx-95116521-46500808
2025-01-02 02:03:49,798 - INFO - Deleting VN ctest-vn-34012052
2025-01-02 02:03:49,936 - DEBUG - VN 92b3a81b-6123-47e3-beb0-f0b31f231de2 still in use: Unable to complete operation on network 92b3a81b-6123-47e3-beb0-f0b31f231de2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-828b1ff7-9026-442a-9a85-676927683eb9']
2025-01-02 02:03:49,936 - WARNING - Deleting VN ctest-vn-34012052 failed..Will retry
2025-01-02 02:03:52,121 - DEBUG - Response for deleting network ()
2025-01-02 02:03:52,506 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 02:03:52,506 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2025-01-02 02:03:52,506 - INFO - --------------------------------------------------------------------------------
2025-01-02 02:03:53,263 - INFO - Deleted project: ctest-TestBasicVMVNx-95116521, ID : 80a5953e-30d9-4cf2-8af8-f809f106dcf3