[product-ci] Fix ssh connection auth issue for 'deploy_centos_master' test

Bug #1605638 reported by ElenaRossokhina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ivan

Bug Description

Detailed bug description:
https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.system_test.deploy_centos_master/3/console
2016-07-21 21:36:32,386 - ERROR base_test_case.py:293 -- Could not upload package
Traceback (most recent call last):
  File "/home/jenkins/workspace/9.x.system_test.ubuntu.system_test.deploy_centos_master/fuelweb_test/tests/base_test_case.py", line 290, in centos_setup_fuel
    target=pack_path)
  File "/home/jenkins/workspace/9.x.system_test.ubuntu.system_test.deploy_centos_master/fuelweb_test/helpers/ssh_manager.py", line 268, in upload_to_remote
    return remote.upload(source, target)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/ssh_client.py", line 855, in upload
    self._sftp.put(source, target)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/paramiko/sftp_client.py", line 674, in put
    file_size = os.stat(localpath).st_size
OSError: [Errno 2] No such file or directory: '/home/jenkins/workspace/9.x.system_test.ubuntu.system_test.deploy_centos_master/fuel-release.noarch.rpm'
2016-07-21 21:36:32,986 - ERROR ssh_manager.py:199 -- Unexpected exit_code returned: actual 1, expected 0. Command: 'rpm -ivh /tmp/fuel-release*.noarch.rpm' Details:
Host: 10.109.39.2
Command: 'rpm -ivh /tmp/fuel-release*.noarch.rpm'
Exit code: 1
STDOUT:

STDERR:
error: File not found by glob: /tmp/fuel-release*.noarch.rpm
Steps to reproduce:
swarm https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.system_test.deploy_centos_master/3/console
Expected results:
Package uploaded successfully, test passes
Actual result:
Test cannot not manipulate with package
Reproducibility:
100%

The possible root cause of issue is missed PRE-script. Here is configuration of the similar job in previous 9.0 branch with example of shell script executed before test/ https://jenkins-sandbox.infra.mirantis.net/job/9.0.system_test.ubuntu.system_test.deploy_centos_master/configure

Tags: area-ci
Changed in fuel:
milestone: none → 9.1
assignee: nobody → Fuel CI (fuel-ci)
importance: Undecided → High
Dzmitry Moisa (dmoisa)
summary: - Test 'deploy_centos_master' cannot find fuel-release.noarch.rpm
+ [product-ci] Fix ssh connection auth issue for 'deploy_centos_master'
+ test
Changed in fuel:
status: New → Confirmed
tags: added: area-ci
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

https://github.com/fuel-infra/jenkins-jobs/blob/master/servers/new-product-ci/9.0/swarm.tests.yaml#L307

looks like pre-script option is missing in new 9.x system test template

Changed in fuel:
assignee: Fuel CI (fuel-ci) → Ivan (iremizov)
Revision history for this message
Ivan (iremizov) wrote :
Changed in fuel:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.