2024-12-23 02:27:17,200 - INFO - Domain Default found not creating
2024-12-23 02:27:17,355 - INFO - Project ctest-TestBasicVMVNx-61485208 not found, creating it
2024-12-23 02:27:17,862 - INFO - Created Project:ctest-TestBasicVMVNx-61485208, ID : 3c5e98a2-b09d-4d6f-a5f5-82a8da0bc466
2024-12-23 02:27:19,482 - INFO - ================================================================================
2024-12-23 02:27:19,483 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-12-23 02:27:19,483 - 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
2024-12-23 02:27:19,745 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.0.0.57': '0'}} with
2024-12-23 02:27:19,745 - INFO - Initial checks done. Running the testcase now
2024-12-23 02:27:19,745 - INFO -
2024-12-23 02:27:20,372 - DEBUG - Response for create_network : {'network': {'id': 'b7484f4b-7963-446b-a79d-44b5757cd7b5', 'name': 'ctest-vn-01195821', 'tenant_id': '3c5e98a2b09d4d6fa5f582a8da0bc466', 'project_id': '3c5e98a2b09d4d6fa5f582a8da0bc466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-61485208', 'ctest-vn-01195821'], 'port_security_enabled': True, 'description': ''}}
2024-12-23 02:27:20,616 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd88afbca-e095-4cf0-8697-3cc23359d008', 'name': '', 'tenant_id': '3c5e98a2b09d4d6fa5f582a8da0bc466', 'network_id': 'b7484f4b-7963-446b-a79d-44b5757cd7b5', 'ip_version': 4, 'cidr': '111.183.237.64/26', 'allocation_pools': [{'start': '111.183.237.66', 'end': '111.183.237.126'}], 'gateway_ip': '111.183.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.183.237.66', 'tags': [], 'project_id': '3c5e98a2b09d4d6fa5f582a8da0bc466'}}
2024-12-23 02:27:20,639 - INFO - Created VN ctest-vn-01195821
2024-12-23 02:27:20,696 - DEBUG - VN ctest-vn-01195821 UUID is b7484f4b-7963-446b-a79d-44b5757cd7b5
2024-12-23 02:27:20,886 - DEBUG - Services list from nova: [, , ]
2024-12-23 02:27:22,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2489-1)
2024-12-23 02:27:23,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2489-1)
2024-12-23 02:27:23,419 - INFO - Waiting for VM ctest-TestBasicVMVNx-61485208-76662397 to be up..
2024-12-23 02:27:23,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-23 02:27:28,602 - DEBUG - VM is in ACTIVE state now
2024-12-23 02:27:28,602 - INFO - VM name : ctest-TestBasicVMVNx-61485208-76662397
2024-12-23 02:27:28,685 - DEBUG - VM ctest-TestBasicVMVNx-61485208-76662397 ID is 721fec6b-a529-43b5-90d6-a86d54114add
2024-12-23 02:27:28,707 - DEBUG - VM ctest-TestBasicVMVNx-61485208-76662397 launched on Node cn-jenkins-deploy-platform-ansible-os-2489-1.
2024-12-23 02:27:28,790 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/721fec6b-a529-43b5-90d6-a86d54114add
2024-12-23 02:27:29,125 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/721fec6b-a529-43b5-90d6-a86d54114add
2024-12-23 02:27:29,160 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5165b974-22b1-4bee-8ec2-f65c16efdcea
2024-12-23 02:27:32,437 - 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 1030ms')
2024-12-23 02:27:32,437 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-61485208-76662397 failed!
2024-12-23 02:27:32,496 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-61485208:ctest-vn-01195821 is 111.183.237.65 and allocation pool is NOT set
2024-12-23 02:27:34,562 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.594 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.594/2.030/3.467/1.436 ms')
2024-12-23 02:27:34,563 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-61485208-76662397 passed
2024-12-23 02:27:34,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 02:27:34,716 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-61485208-76662397, IP 111.183.237.67, Port 22
2024-12-23 02:27:34,871 - DEBUG - VM ctest-TestBasicVMVNx-61485208-76662397 is ready for SSH connections
2024-12-23 02:27:34,871 - INFO - Waiting for VM ctest-TestBasicVMVNx-61485208-56050496 to be up..
2024-12-23 02:27:34,959 - DEBUG - VM is in ACTIVE state now
2024-12-23 02:27:34,960 - INFO - VM name : ctest-TestBasicVMVNx-61485208-56050496
2024-12-23 02:27:35,144 - DEBUG - VM ctest-TestBasicVMVNx-61485208-56050496 ID is f6c72285-6931-42b8-bb58-6c595ac6d2c8
2024-12-23 02:27:35,144 - DEBUG - VM ctest-TestBasicVMVNx-61485208-56050496 launched on Node cn-jenkins-deploy-platform-ansible-os-2489-1.
2024-12-23 02:27:35,230 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f6c72285-6931-42b8-bb58-6c595ac6d2c8
2024-12-23 02:27:35,240 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/bb5cea6a-85c7-4225-9544-c8fa87cd830d
2024-12-23 02:27:36,486 - 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=5.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.78 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.775/3.659/5.543/1.884 ms')
2024-12-23 02:27:36,486 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-61485208-56050496 passed
2024-12-23 02:27:36,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 02:27:36,640 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-61485208-56050496, IP 111.183.237.68, Port 22
2024-12-23 02:27:36,803 - DEBUG - VM ctest-TestBasicVMVNx-61485208-56050496 is ready for SSH connections
2024-12-23 02:27:36,803 - DEBUG - FILE SIZE = 1303B
2024-12-23 02:27:36,803 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-61485208-76662397 to ctest-TestBasicVMVNx-61485208-56050496 using scp
2024-12-23 02:27:36,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 02:27:36,810 - 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.57, gateway password: c0ntrail123
2024-12-23 02:27:36,810 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-12-23 02:27:38,791 - DEBUG - 1+0 records in
1+0 records out
2024-12-23 02:27:39,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 02:27:39,796 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2024-12-23 02:27:39,796 - DEBUG - ls -l testfile
2024-12-23 02:27:41,411 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 22 19:27 [0;0mtestfile[0m
2024-12-23 02:27:41,411 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-61485208-56050496
2024-12-23 02:27:41,411 - INFO - Deleting VM ctest-TestBasicVMVNx-61485208-56050496
2024-12-23 02:27:41,485 - INFO - Deleting VM ctest-TestBasicVMVNx-61485208-76662397
2024-12-23 02:27:41,555 - INFO - Deleting VN ctest-vn-01195821
2024-12-23 02:27:41,595 - DEBUG - VN b7484f4b-7963-446b-a79d-44b5757cd7b5 still in use: Unable to complete operation on network b7484f4b-7963-446b-a79d-44b5757cd7b5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cddf6908-96b9-4cc9-96b4-306fab08f152']
2024-12-23 02:27:41,595 - WARNING - Deleting VN ctest-vn-01195821 failed..Will retry
2024-12-23 02:27:43,706 - DEBUG - Response for deleting network ()
2024-12-23 02:27:43,962 - DEBUG - No XMPP flaps were noticed during the test
2024-12-23 02:27:43,962 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-12-23 02:27:43,962 - INFO - --------------------------------------------------------------------------------
2024-12-23 02:27:44,702 - INFO - Deleted project: ctest-TestBasicVMVNx-61485208, ID : 3c5e98a2-b09d-4d6f-a5f5-82a8da0bc466